Connect Antigravity to Agent Authority

Add SecureAuth Agent Authority as an MCP server in Google Antigravity so every tool call is checked and audited

When you finish, every MCP tool call Google Antigravity makes is checked against your policies and recorded in the audit log. Google Antigravity reaches your approved tools through one SecureAuth Agent Authority gateway URL, and each developer signs in as themselves.

Setup

  1. Add the MCP server. Add the following to ~/.gemini/config/mcp_config.json (or .agents/mcp_config.json in your workspace):

    {
      "mcpServers": {
        "secureauth": {
          "serverUrl": "https://your-gateway-url/gateway/mcp"
        }
      }
    }

    Antigravity uses serverUrl for remote servers, not url.

  2. Authenticate. Antigravity opens a browser for sign-in the first time it connects. Or type /mcp in the prompt panel to reconnect from the MCP Manager.

  3. Start using. Antigravity picks up the tools on the next turn.

    The agent is auto-registered on first connect.

Connecting to just one MCP? To stay under an agent's tool limit, point the URL at a single MCP — /gateway/mcp/{slug} instead of /gateway/mcp. Grab the exact URL from the resource's detail page; see Scope a connection.

Next steps

  • Create a policy – control which tools Antigravity can call.
  • Monitor activity – watch its tool calls appear in the dashboard and audit log.
  • Audit log – filter and search every tool call Antigravity makes.

On this page