You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 407ab32
Browse filesBrowse the repository at this point in the historyBrowse files
docs(antigravity): fix MCP config path and remote server key (#3840)
The Antigravity guide pointed at ~/.gemini/antigravity/mcp_config.json, a path
that does not exist: Antigravity's global MCP configuration lives at
~/.gemini/config/mcp_config.json.
The guide also stated that Antigravity uses serverUrl instead of url for
remote servers. Antigravity accepts both, so the note now says that either
key works and links to the Antigravity MCP documentation.
This is Antigravity's global MCP configuration file. If it does not exist yet, create it with the content from the next step. See the [Antigravity MCP documentation](https://antigravity.google/docs/mcp/) for the full configuration schema.
30
32
31
33
#### Step 2: Add Configuration
32
34
@@ -45,7 +47,7 @@ Add the following to your `mcp_config.json`:
45
47
}
46
48
```
47
49
48
-
**Important**: Note that Antigravity uses`serverUrl`instead of `url`for HTTP-based MCP servers.
50
+
**Important**: Antigravity accepts`serverUrl`for remote servers, and also the standard `url`key from the MCP specification. Either one works, so `url` is not rejected.
49
51
50
52
#### Step 3: Configure Your Token
51
53
@@ -131,9 +133,11 @@ To authenticate with a Personal Access Token instead (it takes precedence over O
131
133
132
134
## Troubleshooting
133
135
134
-
### "Error: serverUrl or command must be specified"
136
+
### Server not connecting
137
+
138
+
Make sure the remote server entry has `serverUrl` (or `url`) pointing at the Streamable HTTP endpoint `https://api.githubcopilot.com/mcp/`. Antigravity does not support the legacy HTTP+SSE transport.
135
139
136
-
Make sure you're using `serverUrl` (not `url`) for the remote server configuration. Antigravity requires `serverUrl` for HTTP-based MCP servers.
140
+
Also confirm you edited the file Antigravity actually reads: the global configuration at `~/.gemini/config/mcp_config.json`.
137
141
138
142
### Server not appearing in MCP list
139
143
@@ -161,8 +165,8 @@ For a complete list of available tools and features, see the [main README](../..
161
165
162
166
## Differences from Other IDEs
163
167
164
-
-**Configuration key**: Antigravity uses`serverUrl`instead of `url` for HTTP servers
165
-
-**Config location**: `.gemini/antigravity/mcp_config.json` instead of `.cursor/mcp.json`
168
+
-**Configuration key**: Antigravity accepts`serverUrl`and also the standard `url`key for remote HTTP servers
169
+
-**Config location**: `~/.gemini/config/mcp_config.json` instead of `.cursor/mcp.json`
166
170
-**Tool limits**: Antigravity recommends keeping total enabled tools under 50 for optimal performance
0 commit comments