gemini-cli - 💡(How to fix) Fix [Critical DX Issue] Antigravity IDE Hardcoded MCP Tool Limit (100) & Configuration Fragmentation with Gemini CLI

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

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"). 3. Launch Antigravity IDE and observe the connection failure/rejection error regarding the 100-tool limit.

Fix Action

Fix / Workaround

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 jq to merge JSON files manually). Addressing this will drastically improve the developer adoption of Antigravity IDE.

RAW_BUFFERClick to expand / collapse

[Critical DX Issue] Antigravity IDE Hardcoded MCP Tool Limit (100) & Configuration Fragmentation with Gemini CLI

Labels: bug, dx, architecture, mcp, antigravity

1. Description

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:

  1. Hardcoded Max Limit in Antigravity IDE: Antigravity IDE enforces a hard limit of 100 tools per MCP server.
  2. Fragmented Configuration: Gemini CLI and Antigravity IDE do not share the same MCP configuration file.

2. Detailed Breakdown & Steps to Reproduce

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 = 100 implemented as a safeguard for UI rendering/IntelliSense overhead, which fundamentally breaks enterprise-level MCP usage.

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.

3. Steps to Reproduce

  1. Install an MCP server containing >100 tools (e.g., google-workspace-mcp).
  2. Add the server config to ~/.gemini/antigravity/mcp_config.json.
  3. Launch Antigravity IDE and observe the connection failure/rejection error regarding the 100-tool limit.
  4. Add the exact same server config to ~/.gemini/settings.json.
  5. Launch Gemini CLI and observe that all 110+ tools are perfectly connected and functional.

4. Expected Behavior

  • Unified Configuration: Both Gemini CLI and Antigravity IDE should look at a single source of truth for configurations (e.g., a shared omnibus_config.json or syncing settings.json globally).
  • 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.

5. Business Impact (Why this matters)

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 jq to merge JSON files manually). Addressing this will drastically improve the developer adoption of Antigravity IDE.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

gemini-cli - 💡(How to fix) Fix [Critical DX Issue] Antigravity IDE Hardcoded MCP Tool Limit (100) & Configuration Fragmentation with Gemini CLI