Labels: bug, dx, architecture, mcp, antigravity
- Gemini CLI Version: v0.41.2
-
- Antigravity IDE Version: v1.107.0 (15487b3041e65228cae24980a3f796c905ef582c, x64)
-
- OS: Linux (Ubuntu/Server)
- Currently, there is a critical discrepancy in the Model Context Protocol (MCP) implementation and configuration management between the Gemini CLI and the Antigravity IDE. This causes severe Developer Experience (DX) degradation and prevents the use of official, large-scale MCP servers.
- There are two main issues:
- Hardcoded Max Limit in Antigravity IDE: Antigravity IDE enforces a hard limit of 100 tools per MCP server.
-
- Fragmented Configuration: Gemini CLI and Antigravity IDE do not share the same MCP configuration file.
- Issue A: The 100-Tool Hardcoded Limit in Antigravity IDE
- When loading an MCP server that exposes more than 100 tools (e.g., the official
google-workspace-mcp, which has around 110 tools), Antigravity IDE abruptly rejects the server load with an error (e.g., “enabled tools would exceed max limit of 100”).
- Gemini CLI Behavior: Successfully parses, loads, and utilizes servers with >100 or even >300 tools without any memory or context issues.
-
- Antigravity IDE Behavior: Blocks the load entirely. It appears there is a hardcoded
MAX_LIMIT = 100implemented as a safeguard for UI rendering/IntelliSense overhead, which fundamentally breaks enterprise-level MCP usage.
- Antigravity IDE Behavior: Blocks the load entirely. It appears there is a hardcoded
- Issue B: Siloed Configuration Files
- To use the same MCP server in both environments, developers are forced to maintain redundant configurations:
- Gemini CLI: Reads from
~/.gemini/settings.json(under the “mcpServers” block). -
- Antigravity IDE: Reads from a completely isolated path
~/.gemini/antigravity/mcp_config.json. This siloed approach creates synchronization issues, config drift, and unnecessary overhead for developers.
- Antigravity IDE: Reads from a completely isolated path
-
- Install an MCP server containing >100 tools (e.g.,
google-workspace-mcp). -
- Add the server config to
~/.gemini/antigravity/mcp_config.json. -
- Launch Antigravity IDE and observe the connection failure/rejection error regarding the 100-tool limit.
-
- Add the exact same server config to
~/.gemini/settings.json. -
- Launch Gemini CLI and observe that all 110+ tools are perfectly connected and functional.
-
- Unified Configuration: Both Gemini CLI and Antigravity IDE should look at a single source of truth for configurations (e.g., a shared
omnibus_config.jsonor syncingsettings.jsonglobally). -
- Scalable Tool Limits: Antigravity IDE should remove the hardcoded 100-tool limit. If UI performance is a concern, it should gracefully paginate the UI or load tools dynamically rather than completely rejecting the server initialization.
- In an Enterprise / DevSecOps environment, combining Cloud, Workspace, and internal DB MCP servers easily exceeds hundreds of tools. The current fragmentation feels like an incomplete architecture, forcing developers into tedious workarounds (like using
jqto merge JSON files manually). Addressing this will drastically improve the developer adoption of Antigravity IDE.
- Unified Configuration: Both Gemini CLI and Antigravity IDE should look at a single source of truth for configurations (e.g., a shared
- Add the exact same server config to
- Add the server config to
- Install an MCP server containing >100 tools (e.g.,