Skip to main content

Users: Connect Antigravity to the AI Gateway

To securely access your company's enterprise applications directly from Google Antigravity, you must connect it to the JumpCloud AI Gateway. Connecting through JumpCloud ensures your enterprise data remains secure and your access is verified.

Configuring Antigravity

Important

Use the AI Gateway MCP server URL for your JumpCloud datacenter region. See JumpCloud Data Centers: Login URLs and Service Endpoints.

Antigravity IDE, Antigravity 2.0, and Antigravity CLI share MCP configuration. You can add the AI Gateway as a custom remote server in mcp_config.json. See Google’s MCP in Antigravity to learn more.

To add the JumpCloud AI Gateway in Antigravity IDE:

  1. Open Antigravity IDE.
  2. In the agent side panel, click , then select MCP Servers.
  3. Click Manage MCP Servers, then View raw config.
  4. Add the JumpCloud AI Gateway to your mcpServers object using the JSON snippet below. Use the URL for your datacenter region:
  • US: https://ai.jumpcloud.com/mcp
  • EU: https://ai.eu.jumpcloud.com/mcp
  • IN: https://ai.in.jumpcloud.com/mcp
{
"mcpServers": {
"jumpcloud-ai-gateway": {
"serverUrl": "https://ai.jumpcloud.com/mcp"
}
}
}

The example uses the US URL.

  1. Save the file. Antigravity stores the shared config at ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json (workspace).
  2. Proceed to Authenticating Your Tools.
note

In Antigravity CLI, you can also open the interactive MCP manager with /mcp to review connection status after you update the config. Antigravity remote servers use the serverUrl field (not url or httpUrl).

Authenticating Your Tools

Once Antigravity is connected to the gateway, you must authorize and authenticate to the specific enterprise tools (such as Atlassian) before the AI can access them.

  1. Open Agent Settings (Cmd+, on macOS or Ctrl+, on Windows/Linux).
  2. Go to the Customizations tab and click Authenticate next to jumpcloud-ai-gateway.
  3. Complete authentication in your browser. If prompted, paste the authorization code back into Antigravity and click Submit.
  4. On the JumpCloud AI Gateway authorization page, review the list of available enterprise tools and select the checkbox next to each tool you want your AI client to access.
  5. Authenticate to the selected tools based on their required connection method:
    • OAuth: Click Connect via OAuth. You'll be redirected to the application to securely sign in, and then returned to this page.
    • API Key: Enter your API key for the application in the text field and click Save. Click the documentation link provided in the UI if you need help finding your API token.
  6. Once all required tools display a green Connected status, click Authorize tools at the bottom of the page.
  7. Return to Antigravity. Your AI client can now use the tools authorized through the gateway.

Was this information helpful?