Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

1

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.

fastn's MCP server page with the Antigravity tile selected, showing a note that Antigravity's remote field is serverUrl and a ~/.gemini/config/mcp_config.json snippet with a fastn serverUrl entry
The Antigravity tile under Connect AI tools in fastn has the same snippet with a Copy button.

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.

2

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.

Antigravity's MCP Servers section listing fastn with a red status dot, an Authenticate button, the error calling initialize: Unauthorized, and an Enter authorization code field with Submit and Cancel
The Unauthorized error is expected before you sign in.
3

Pick the workspace

fastn opens in your browser. Sign in if asked. If you belong to more than one fastn org, pick the workspace Antigravity works in and click Connect.

fastn's page titled Which workspace should Google Antigravity (antigravity.google) use?, with The org selected in fastn chosen, a list of orgs and a Connect button
The org selected in fastn follows whichever org you have open in the fastn dashboard; picking a named org pins Antigravity to it.
4

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.

Google Antigravity's callback page reading Paste this code into your application to complete authentication, with a code box and a Copy to Clipboard button
The code works once and expires quickly. Paste it straight away.

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

Antigravity's MCP Servers section listing fastn with a green status dot, a Sign out button and 178 tools enabled
fastn is connected. Sign out on this row disconnects it.

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.

Antigravity asking Allow using this MCP tool? for fastn/fastnPlatform__whoami, with options Yes allow this time, Yes and always allow in this conversation, Yes and always allow when not in a project, Yes and always allow, and No, plus Skip and Submit buttons
The prompt names the server and the tool.

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 serverUrl and 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?