# Connect Google Antigravity to Aisenhour

> Connect the Google Antigravity AI IDE to your matrix

Connect Google Antigravity so your IDE agent can read tasks in your Delegate queue, capture new tasks, check off subtasks, and post deliverables right from your editor.

*Not yet verified*

## Setup Steps

### Step 1: Connect with URL and browser sign-in (Recommended)

Add `"aisenhour"` to `~/.gemini/config/mcp_config.json` using `"serverUrl"` (note that Google Antigravity uses `"serverUrl"`, not `"url"`):

Next, open **Customizations > Installed > MCP Servers** in the Antigravity sidebar and click **Authenticate** next to `aisenhour`. Your browser will open so you can sign in and click **Allow access**.

```json
{
  "mcpServers": {
    "aisenhour": {
      "serverUrl": "https://aisenhour.com/api/mcp"
    }
  }
}
```

### Step 2: Fallback: Connect with an API key

If you prefer static key authentication, create an agent key in **Aisenhour Settings > My agents** and add `"headers"` alongside `"serverUrl"` in `~/.gemini/config/mcp_config.json`:

```json
{
  "mcpServers": {
    "aisenhour": {
      "serverUrl": "https://aisenhour.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_AH_LIVE_KEY"
      }
    }
  }
}
```

### Step 3: Verify your connection

Confirm `aisenhour` shows active tools in **Customizations > Installed > MCP Servers**, then paste the starter prompt below into your Antigravity chat to verify your first handoff.

## Your First Handoff Prompt

Paste this prompt into Google Antigravity to complete your first handoff:

```text
Check my Aisenhour Delegate queue for active tasks, or capture a new task for me with assignTo: "me". Propose a step-by-step checklist before modifying any files.
```

This prompt asks your Antigravity IDE assistant to inspect your delegated work or capture a task for you, and confirm a checklist before editing files.

## What Your Assistant Can See

- Tasks in your Delegate queue assigned to the assistant or enabled for pickup
- Active board tasks across quadrants when whole-board reading is enabled
- Checklist subtasks, categories, and task execution notes on delegated tasks
- Progress logs and deliverable threads on shared tasks

## What Stays Private

- Private tasks in Do First, Decide, or Delete when whole-board reading is disabled
- Your account password, Google authentication credentials, or session cookies
- Your billing information, payment methods, or personal account settings

## Plan Access and Pricing

Connecting an external assistant is free on both Free and Pro plans (Free includes up to 25 active tasks, Pro includes unlimited active tasks). Google Antigravity runs on your own model provider quota.

## Troubleshooting

### Server fails to connect when using "url" instead of "serverUrl"

Google Antigravity reads `"serverUrl"` in `~/.gemini/config/mcp_config.json`, whereas Cursor and some other clients expect `"url"`. Make sure your Antigravity entry uses `"serverUrl"`:

```json
{
  "mcpServers": {
    "aisenhour": {
      "serverUrl": "https://aisenhour.com/api/mcp"
    }
  }
}
```

### Connected in terminal, but Antigravity still says disconnected

Running `claude mcp add` in the terminal updates `~/.claude.json` for Claude Code CLI only—it does not configure Google Antigravity (`~/.gemini/config/mcp_config.json`) or Cursor (`.cursor/mcp.json`). Add Aisenhour to `~/.gemini/config/mcp_config.json`, then open Customizations > Installed > MCP Servers and click Authenticate.

### Need to sign in again or reconnect revoked access

If you revoked or rotated the assistant in Aisenhour Settings > My agents, open Customizations > Installed > MCP Servers in Antigravity and click Authenticate next to `aisenhour` to re-authorize and click Allow access (or replace the `ah_live_...` key in `"headers"` if using the API key fallback).

## Disconnecting or Rotating Access

You can revoke or rotate this assistant's access at any time in Aisenhour Settings > My agents. Revoking an agent immediately invalidates all OAuth tokens and denies subsequent requests from Google Antigravity.
