Command reference Β· Antigravity CLI
/mcp
Opens the MCP server manager.
/mcp belongs to the Tools & Tasks category and opens an overlay panel for managing all configured MCP servers (Model Context Protocol). It shows you the live connection status of each server β active, disconnected, or currently loading β, lets you manually reload configurations, and lets you view the connection logs in real time.
The server definitions live in dedicated mcp_config.json files, separate from the other settings: globally under ~/.gemini/config/mcp_config.json and per-project under .agents/mcp_config.json in the workspace. Both follow the same mcpServers schema.
Local stdio processes are supported via command/args, as are remote servers via the serverUrl field (HTTP/SSE or WebSocket) β only serverUrl counts here; the older fields url or httpUrl are no longer supported by the current CLI.
π THE SAME TASK (βMANAGE MCP SERVERSβ) ON OTHER PLATFORMS
β WHEN TO USE IT?
Check MCP server status live
Open /mcp to see whether a newly added server is actually connected
Debug a hanging server connection
Open /mcp and check the connection logs of a server stuck in the "loading" status
β WHEN NOT TO?
Set an individual tool permission
/mcp only manages server connections, not granular tool permissions.
Better: Use /permissions
Using the deprecated url field
The current CLI only accepts serverUrl for remote servers; url or httpUrl are ignored.
Better: Switch directly to serverUrl in mcp_config.json
SOURCES
- Antigravity CLI docs: command reference β antigravity.google
- Antigravity docs: MCP β antigravity.google
MORE COMMANDS Β· Antigravity CLI