Antigravity's IDE, CLI and SDK share one MCP config, so set it up once and every
surface picks it up.

## 1 · Open the raw config

In the IDE, click **…** at the top of the agent side panel and choose **MCP
Servers**, then **Manage MCP Servers → View raw config**. (In the CLI, type
`/mcp`.)

## 2 · Add the server

In `~/.gemini/config/mcp_config.json`:

```json
{
  "mcpServers": {
    "search": {
      "serverUrl": "https://search.levirge.com/mcp"
    }
  }
}
```

The field must be `serverUrl` — Antigravity ignores `url`. Put the same block in
`.agents/mcp_config.json` to enable it for one workspace only.

## 3 · Sign in

Open **Agent Settings** (`⌘,` / `Ctrl+,`), go to the **Customizations** tab and
click **Authenticate** next to **search**. Sign in in the browser, copy the code
it shows, paste it back into Antigravity and click **Submit**.

Then ask it a research question, or verify with a read-only call —
`stealth_list` returns the stealth-domain registry.

Prefer a token? Add `"headers": { "Authorization": "Bearer <your-token>" }`
instead of authenticating; mint one on
[Profile → Your tokens](https://search.levirge.com/profile#tokens).
