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

# Google Antigravity

> Add Spiral to Google Antigravity as a remote MCP server: paste one link, sign in, no API key.

**1. Open the MCP config**

* **Antigravity App:** click **Customizations**, then **Installed**. In the **MCP Servers** section, click **Copy
  Config File Path** and open that file.
* **Antigravity IDE:** click **…** at the top of the agent side panel, select **MCP Servers**, then **Manage MCP
  Servers › View raw config**.
* **Antigravity CLI:** edit `~/.gemini/config/mcp_config.json`.

**2. Add the server**

Add Spiral under `mcpServers`:

```json theme={null}
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

No header and no client ID or secret: Antigravity registers itself with Spiral.

**3. Sign in**

In the Antigravity App, open **Customizations › Installed**. Under **MCP Servers**, click **Authenticate** next to
Spiral. Sign in to Spiral, pick the organization and click **Authorize**. Copy the authorization code the browser
shows, paste it into **Enter authorization code** and click **Submit**. No API key.

Spiral reconnects on its own and shows a green status dot.

**4. Try a starter prompt**

```text theme={null}
Find a text-to-image tool, tell me what one image costs, then generate a lighthouse at dawn.
```

> [accordion] With an API key instead
>
> Create a key in the [console](https://spiral.ai/start) under **API keys** and add it as a header. Antigravity's
> docs show no environment variable syntax for this file, so paste the key itself and keep the file private:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "spiral": {
>       "serverUrl": "https://api.spiral.ai/mcp",
>       "headers": { "Authorization": "Bearer <your API key>" }
>     }
>   }
> }
> ```

If something does not work, see [Troubleshooting](/docs/mcp-server.md#troubleshooting).


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