-
Notifications
You must be signed in to change notification settings - Fork 242
Description
Platform
Windows
AionUi Version
1.2.2
Bug Description
AionUi appears to bypass the configured Gemini CLI MCP servers and instead uses direct API calls and built-in functions. This prevents users from leveraging properly configured MCP servers for enhanced functionality.
Key Issues Observed:
- Git operations use direct git commands instead of MCP git server
- File system operations fail with security restrictions instead of using MCP filesystem server
- Web searches use direct Google API instead of configured MCP brave-search server
- No evidence of MCP tool calls in debug output despite properly configured MCP servers in Gemini CLI
Steps to Reproduce
- Configure MCP servers in
%USERPROFILE%\.gemini\settings.jsonwith working filesystem, git, and brave-search servers - Verify MCP servers work in standalone Gemini CLI using
/mcp listcommand - Start AionUi with
npm start - Select Gemini agent and ask: "Can you check the git status of this project?"
- Observe that AionUi uses direct git commands instead of MCP git server
- Ask: "Show me files in the
C:\path\to\folderdirectory" - Observe security restriction error instead of MCP filesystem access
- Ask: "Search for nodejs tutorials"
- Observe direct Google search instead of MCP brave-search server
Expected Behavior
AionUi should leverage the user's configured Gemini CLI MCP servers to provide enhanced functionality including:
- Git operations through MCP git server
- File system access through MCP filesystem server
- Web searches through configured MCP search servers
- Display of MCP tool usage in conversations
Actual Behavior
AionUi bypasses MCP integration entirely and uses:
- Direct shell git commands
- Built-in file system restrictions that block access
- Direct Google API calls for searches
- No MCP tool call indicators in debug output
Debug Evidence:
- No MCP server initialization messages in AionUi logs
- Direct API calls shown:
geminiTools.done.requestwithoauth-personal gemini-2.5-flash - Error:
ReadFolder ("path":"C:\\dev") Path must be within one of the workspace directories
Additional Context
Secondary Bug: Settings dialog crashes when "Cancel" is pressed, showing "Uncaught runtime errors" requiring application restart.
MCP Configuration Verified Working:
- Gemini CLI standalone shows: 🟢 filesystem (14 tools), 🟢 git (13 tools), 🟢 brave-search (2 tools)
- All MCP servers respond correctly when used directly through Gemini CLI
- Settings file:
%USERPROFILE%\.gemini\settings.jsonproperly configured
Architecture Issue:
AionUi appears to use direct Gemini API integration rather than leveraging the Gemini CLI as a backend process, which prevents MCP server utilization.