# Connect the MultitaskAI MCP server to Antigravity CLI

Antigravity CLI reads MCP servers from mcp_config.json. Add MultitaskAI under serverUrl with your API key in the headers.

## Endpoint

```text
https://mcp.multitaskai.com
```

## Steps

1. Create an API key in your MultitaskAI account.
2. Open ~/.gemini/config/mcp_config.json for every project, or .agents/mcp_config.json in one workspace.
3. Add the server below, with your key in place of YOUR_API_KEY, and save the file.
4. Type /mcp in the prompt panel to open the MCP Manager and check that MultitaskAI is active.

```json
{
  "mcpServers": {
    "multitaskai": {
      "serverUrl": "https://mcp.multitaskai.com",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
```

## Authentication

Antigravity CLI sends your MultitaskAI API key in the Authorization header. Create a key in your account and use it in place of YOUR_API_KEY. Keep the key out of files you share or commit.

```text
Authorization: Bearer YOUR_API_KEY
```

## Good to know

- Antigravity CLI has replaced Gemini CLI for consumer accounts since 2026-06-18.
- Use serverUrl (url also works); httpUrl does not.
- Set the optional timeoutSeconds for long-running tools.
- The Antigravity IDE uses the same file, so a server added here also shows up there.

## Official documentation

The [Google MCP documentation](https://antigravity.google/docs/mcp?tab=cli) covers Antigravity CLI's own settings in detail. See the [overview](/docs.md) for the endpoint and authentication, and [pricing](/pricing/) for the daily free requests.
