---
title: "Antigravity CLI MCP config: file location, transports and auth"
type: dataset-entry
url: https://agentsfordevs.com/mcp-clients/antigravity-cli
markdown: https://agentsfordevs.com/mcp-clients/antigravity-cli.md
publisher: Agents for Devs
author: Agents for Devs desk
published: 2026-12-06
updated: 2026-12-06
license: https://agentsfordevs.com/reuse
citation: 'Agents for Devs. "Antigravity CLI MCP config: file location, transports and auth." Published Dec 6, 2026. https://agentsfordevs.com/mcp-clients/antigravity-cli'
attribution: Credit Agents for Devs and link to https://agentsfordevs.com/mcp-clients/antigravity-cli
---

# Antigravity CLI MCP config: file location, transports and auth

One row of the MCP client config reference, checked 2026-12-06.

| Field | Value |
|---|---|
| Client | Antigravity CLI |
| Vendor | Google |
| Config file | ~/.gemini/config/mcp_config.json (global); <workspace>/.agents/mcp_config.json (workspace); enabled plugins can add their own mcp_config.json |
| Format | JSON, mcpServers map; same schema for the Antigravity app, IDE and CLI |
| Scopes | Global (all projects), workspace, plugin |
| Transports | stdio (command); Streamable HTTP (serverUrl or url); legacy HTTP+SSE not supported |
| Remote OAuth | Yes. Automatic OAuth 2.0 with PKCE for servers that support CIMD or DCR; otherwise oauth.clientId and optional oauth.clientSecret; tokens stored in ~/.gemini/antigravity/mcp_oauth_tokens.json |
| Admin controls | Gemini Enterprise AI developer tools settings: MCP servers toggle (off by default) and an Allowed server configuration JSON allowlist (local_servers, remote_servers); needs the Gemini Enterprise Admin role; requires Antigravity CLI 1.2.10 or later |
| Docs | https://antigravity.google/docs/mcp |
| Source | https://docs.cloud.google.com/gemini/enterprise/docs/ai-developer-tools-settings |

From the MCP client config reference (/mcp-clients), checked 2026-12-06. Licence CC BY 4.0.

Antigravity CLI reads MCP servers from `~/.gemini/config/mcp_config.json` for all projects and from `.agents/mcp_config.json` in a workspace. The Antigravity app and IDE use the same schema, per [Google's Antigravity MCP docs](https://antigravity.google/docs/mcp). Field names differ from Gemini CLI's. Streamable HTTP servers use `serverUrl` (or `url`), and the legacy HTTP+SSE transport and the `httpUrl` and `sseUrl` fields aren't supported.

MCP tools you haven't configured run in Ask mode, so each call needs your approval. `enabledTools` and `disabledTools` filter tools per server.

Organization-wide control sits in Gemini Enterprise. An admin with the Gemini Enterprise Admin role turns on the MCP servers setting and writes a JSON allowlist of `local_servers` and `remote_servers`. These settings require Antigravity CLI 1.2.10 or later, per [Google Cloud's docs](https://docs.cloud.google.com/gemini/enterprise/docs/ai-developer-tools-settings). [Gemini CLI's docs](https://geminicli.com/docs/tools/mcp-server/) say Antigravity CLI replaced Gemini CLI for unpaid tier and Google One users on June 18, 2026.

## Sources

1. [Model Context Protocol (MCP), Google](https://antigravity.google/docs/mcp)
2. [Configure AI developer tools settings, Google Cloud](https://docs.cloud.google.com/gemini/enterprise/docs/ai-developer-tools-settings)
3. [MCP servers with Gemini CLI, Google](https://geminicli.com/docs/tools/mcp-server/)

## Cite this page

Agents for Devs. "Antigravity CLI MCP config: file location, transports and auth." Published Dec 6, 2026. https://agentsfordevs.com/mcp-clients/antigravity-cli

- Page: https://agentsfordevs.com/mcp-clients/antigravity-cli
- Markdown: https://agentsfordevs.com/mcp-clients/antigravity-cli.md
- Reuse: quote or summarize with a link to the page. Terms: https://agentsfordevs.com/reuse
