Antigravity
Add fastn to Google Antigravity through its MCP config file, sign in, and build integrations from the Antigravity agent.
Google Antigravity has no install button for custom MCP servers: its Add MCP button only opens Google's MCP store. Add fastn to Antigravity's MCP config file instead, then sign in from Customizations. The Antigravity app, the Antigravity IDE and the Antigravity CLI all read the same file.
Add fastn
Add fastn to the config file
Open ~/.gemini/config/mcp_config.json in any editor (create it if it does not exist) and add fastn under mcpServers. Keep any servers already in the file.
{
"mcpServers": {
"fastn": {
"serverUrl": "https://mcp.fastn.dev/fastn-workspace"
}
}
}The key must be serverUrl. Antigravity does not read url or httpUrl, and a server written with them silently loads no tools.

In the Antigravity IDE you can open the same file from the agent panel: the … menu at the top, then MCP Servers → Manage MCP Servers → View raw config. For one workspace only, use .agents/mcp_config.json in that folder.
Load it and click Authenticate
In Antigravity, open Customizations in the sidebar (in the IDE: Antigravity User Settings → Customizations). Under MCP Servers, click refresh if fastn is not listed yet.
fastn shows a red dot and an Unauthorized error until you sign in. Click Authenticate.

Paste the code back into Antigravity
Google shows Paste this code into your application to complete authentication. Click Copy to Clipboard, go back to Antigravity, paste the code into Enter authorization code… and click Submit.

fastn's dot turns green and the row shows its tools.

Use it
Start a New Conversation and ask for the outcome in one sentence. To check the connection first, ask Who am I in fastn?
The first time the agent calls a fastn tool, Antigravity asks Allow using this MCP tool? Pick Yes, allow this time, or one of the always-allow options, and click Submit.

From here Antigravity works through the same steps as every agent: see Building from your AI agent.
Antigravity CLI
The CLI reads the same ~/.gemini/config/mcp_config.json. Run agy, then type /mcp to check fastn is listed.
Troubleshooting
fastn never appears in Customizations. Check the file uses
serverUrland is valid JSON, then click refresh under MCP Servers.The code is rejected. Codes are single use. Click Authenticate again and paste the new code.
Antigravity works on the wrong org. Click Sign out on the fastn row, then Authenticate and pick the workspace again.
Last updated
Was this helpful?


