> ## Documentation Index
> Fetch the complete documentation index at: https://spyro.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Antigravity

> Add Spyro AI to Google Antigravity, the desktop app and the IDE, with mcp_config.json and browser sign-in or a key.



Let your AI agent configure this for you

        Copy configuration prompt


      \<details><summary>Preview the prompt</summary>
        \<pre /></details>

Antigravity is Google's agent-first coding app. It comes as a desktop app and as an IDE. With Spyro AI connected, its agent can use your audit, ranking and Search Console data while it works on your site.Both read the server from `mcp_config.json`:- `~/.gemini/config/mcp_config.json` for all your projects
- `.agents/mcp_config.json` in a project, for that project only## Connect with sign-in**1. Open the config file**- **Antigravity app:** click **Customizations** in the sidebar, then **Installed**, and scroll to **MCP Servers**. **Copy Config File Path** shows where the file is.
- **Antigravity IDE:** click **...** at the top of the agent side panel, then **MCP Servers**, **Manage MCP Servers** and **View raw config**.**2. Add the server**Add `spyro-ai` under `mcpServers` and keep any servers already there:```json mcp_config.json theme={null}
{
  "mcpServers": {
    "spyro-ai": {
      "serverUrl": "https://mcp.spyro.app/mcp"
    }
  }
}
```Save the file. In the app, restart the server from **More actions (⋮) → Restart** if it does not appear.**3. Sign in**Click **Authenticate** next to **spyro-ai**. Your browser opens a Spyro AI page: pick your workspaces, choose the access level and click **Allow**.Antigravity then shows an authorization code in the browser. Copy it, paste it into **Enter authorization code** in Antigravity and click **Submit**.Antigravity registers itself with Spyro AI, so you do not need an OAuth client.## Connect with a keyIf you cannot use sign-in, send an MCP key in a header. See [Manage keys and apps](https://spyro.app/docs/product/mcp-manage-access.md) to create one.```json mcp_config.json theme={null}
{
  "mcpServers": {
    "spyro-ai": {
      "serverUrl": "https://mcp.spyro.app/mcp",
      "headers": {
        "Authorization": "Bearer sk_mcp_..."
      }
    }
  }
}
```> [!WARNING]
>
> The key is stored as plain text in the file. Put it in the global `~/.gemini/config/mcp_config.json`, never in a project's `.agents/mcp_config.json` that you commit. Prefer sign-in when you can.## Check that it worksOpen **MCP Servers** and look for **spyro-ai** with a green status dot and its tools. Then ask the agent: *"Use Spyro AI to give me an overview of my workspace."*## Try these prompts- *"Use Spyro AI to list my critical audit issues and fix the ones in this codebase."*
- *"Which pages have a low click rate in Search Console? Rewrite their title tags."*
- *"Audit this page's URL with Spyro AI and add the missing schema markup."*## Tips- Antigravity asks before it runs an MCP tool by default. Keep that on for the nine `manage*` tools. Spyro AI's write tools change your calendar, articles and settings.
- To stay read only, add `"disabledTools": ["manageCalendar", "manageArticle", "managePublishing", "managePrompts", "manageKeywords", "manageSiteAudit", "manageInternalLinks", "manageCompetitors", "manageSettings"]` to the `spyro-ai` entry.
- The sign-in page marks Google Antigravity as **Unverified**. That is expected. Only continue if you started the connection yourself.## If it fails- **Red status dot or "Unauthorized":** click **Authenticate** and sign in again, or check the key.
- **Server does not connect:** use `serverUrl`, not `httpUrl`. Antigravity supports streamable HTTP only, which is what Spyro AI uses.
- More: [Troubleshooting](https://spyro.app/docs/product/mcp-troubleshooting.md).Antigravity's guide: [MCP](https://antigravity.google/docs/mcp).## Related- [All connection options](https://spyro.app/docs/product/mcp-connect.md)
- [Tools reference](https://spyro.app/docs/product/mcp-tools.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.