Antigravity CLI is Google’s successor to Gemini CLI. If you’re migrating, see Google’s migration guide.
Quick Install
See the CLI command reference for more options.
Advanced: Manual Configuration
Advanced: Manual Configuration
The below is a minimal example which may need to be merged with your existing configuration. Consider using the quick install command to handle this automatically.
.agents/mcp_config.json in your workspace instead.Only
serverUrl is needed — Antigravity authenticates automatically via OAuth dynamic client registration. Trigger the login from Antigravity’s MCP/Customizations settings (the “Authenticate” action) if prompted.