Prerequisites
Google Antigravity
Download Antigravity
Service Account Token
Create a service account with appropriate permissions
For the latest MCP configuration options in Antigravity, refer to the official Google Antigravity Documentation.
Configuration
Open MCP Store
In Antigravity, open the MCP store via the ”…” dropdown at the top of the editor’s agent panel.
Access MCP Configuration
Click on “Manage MCP Servers”, then click on “View raw config” to open the
mcp_config.json file.Verify the Connection
After configuration, verify the connection by asking the AI agent:Example Usage
Troubleshooting
Authentication issues
Authentication issues
- Check that your service account token is valid.
- Ensure the token is entered without extra spaces or quotes.
- Verify the token has appropriate permissions (see Service Account Permissions).
- Check for typos in the org name you’re using for context, this is a common cause of authentication failures.
MCP Server not appearing
MCP Server not appearing
- Ensure Node.js and npm are installed (required for
npx). - Verify the JSON syntax is valid.
- Check the AI agent panel for error messages.
- Restart Antigravity if the server doesn’t appear.