How to connect Antigravity to Anchor
Add the Anchor server to Antigravity's MCP config, sign in with your Anchor account, and you're done.
Antigravity
Before you start: these steps are for Antigravity 2.0. Older versions keep their MCP config in a different folder, so update Antigravity first.
- Open
~/.gemini/config/mcp_config.jsonin a text editor:If the file is empty, paste this. If it already has anmcpServersblock, add theanchorentry inside it: - In Antigravity, click Customizations in the sidebar, then Installed. Under MCP Servers, click Authenticate next to anchor.
- A sign-in window opens in your browser. Use your Anchor account and click Grant access.
- Copy the authorization code the browser shows, paste it into Enter authorization code in Antigravity, and click Submit.
- Ask Antigravity "What is Anchor, and what can I use it for?"