MCP Auth Page Missing

in the IDE 2.6.0 version the auth page for the mcp is missing after an update ,

Antigravity IDE Version: 2.6.0
VSCode OSS Version: 1.107.0 (user setup)

Commit: 9e3a5da5d6731effd57d47d88bbe5df14***

Date: 2026-10-26T18:06:23.613Z (1 day ago)
Electron: 39.2.3

@Mohammed_Isham The reason an “MCP Auth Page” cannot be located in the IDE settings is architectural: Google Antigravity does not manage Model Context Protocol (MCP) authentication via an in-app visual settings page.

If you are following tutorials designed for tools with visual authentication webviews (such as Claude Desktop or Cline), Antigravity handles MCP registration and credentials differently:

  1. Server Configuration:
    MCP servers are declared in the global configuration file at:
    %USERPROFILE%\.gemini\config\mcp_config.json (on Windows) or ~/.gemini/config/mcp_config.json (on macOS/Linux).

  2. Authentication Handling:

  • Local Stdio Servers: API keys and bearer tokens must be passed as environment variables directly inside the server block in mcp_config.json:
{
  "mcpServers": {
    "my-server": {
      "command": "npx",
      "args": ["-y", "@example/mcp-server"],
      "env": {
        "API_KEY": "YOUR_KEY_HERE"
      }
    }
  }
}
  • Remote HTTP / SSE Endpoints: If your remote MCP server requires HTTP Authorisation headers, define them explicitly in the configuration:
{
  "mcpServers": {
    "remote-service": {
      "url": "https://api.example.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN_HERE"
      }
    }
  }
}
  • Browser-based OAuth: Antigravity does not currently host an interactive browser OAuth callback handler for MCP connections inside the IDE. For services requiring interactive OAuth handshakes, authenticate using the service’s official CLI or generate a personal access token (PAT), then inject it via the env or headers configuration blocks above.

Once saved, restart the IDE or reload the window (Developer: Reload Window). The registered server tools will mount automatically into the agent’s active toolset.

Hi @Mohammed_Isham,

In v2.6.0, the MCP page moved out of the … dropdown and into the main Agent Settings. Open the … menu at the top of the Agent panel, go to Settings (Ctrl + , or Cmd + ,), and select the Customizations tab on the left. If you scroll down to Installed MCP Servers, you can click Authenticate next to your server, sign in through your browser, and paste the code into the “Paste auth code” box and hit Submit.

If your existing servers aren’t showing up after the update, click Open MCP Config in that same section. v2.6.0 loads the global config from %USERPROFILE%\.gemini\config\mcp_config.json (or ~/.gemini/config/mcp_config.json on macOS/Linux) instead of the old .gemini/antigravity/mcp_config.json path. Just copy your "mcpServers" block over from the old file, save, and hit the refresh icon.

There’s also more detail in the MCP authentication docs if you need the config format for manual OAuth credentials or headers. Let me know if that gets it working!