Cua Docs

Antigravity CLI

Connect Google's Antigravity CLI to Cua Driver over MCP.

Antigravity CLI supports local stdio MCP servers. Generate the current Cua Driver configuration:

cua-driver mcp-config --client antigravity

Merge the generated cua-driver entry into the top-level mcpServers object in the global configuration:

~/.gemini/config/mcp_config.json

For project scope, use .agents/mcp_config.json in the workspace. The configuration has this shape:

{
  "mcpServers": {
    "cua-driver": {
      "command": "/absolute/path/to/cua-driver",
      "args": ["mcp"]
    }
  }
}

Restart agy after changing the file, then open /mcp to inspect the server status. Cua Driver's legacy --client gemini alias prints the same Antigravity configuration.

Continue with Connect your agent to Cua Driver for runtime and permission guidance.

Upstream: Antigravity MCP documentation and Google's Gemini CLI migration guide.