# Antigravity

Add your Wire container to Antigravity's MCP configuration.

## Configuration File Location

- **macOS**: `~/.gemini/antigravity/mcp_config.json`
- **Windows**: `%USERPROFILE%\.gemini\antigravity\mcp_config.json`

## Steps

1. Open the MCP store via the "..." dropdown in the agent panel
2. Click "Manage MCP Servers" → "View raw config"
3. Add the configuration below to `mcp_config.json`
4. Save the file

## With OAuth

<PersonalizedCode
  client:load
  code={`{
  "mcpServers": {
    "YOUR_CONTAINER_NAME": {
      "serverUrl": "https://YOUR_ORG_SLUG.mcp.usewire.io/container/YOUR_CONTAINER_ID/mcp",
      "headers": {
        "Accept": "application/json, text/event-stream",
        "Content-Type": "application/json"
      }
    }
  }
}`}
/>

Antigravity will prompt you to authenticate when you first connect.

## With API Key

:::tip[Use a container-scoped key]
Create a key from the container's **Access** tab in the Wire dashboard. Container-scoped keys only work for one container, so a leaked key can't reach your other data. See [Authentication](/mcp/authentication/#container-scoped-keys-recommended) for details.
:::

<PersonalizedCode
  client:load
  code={`{
  "mcpServers": {
    "YOUR_CONTAINER_NAME": {
      "serverUrl": "https://YOUR_ORG_SLUG.mcp.usewire.io/container/YOUR_CONTAINER_ID/mcp",
      "headers": {
        "Accept": "application/json, text/event-stream",
        "Content-Type": "application/json",
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}`}
/>

## Finding Your Container URL

Copy the MCP URL from your container's detail page in the Wire dashboard.