# Set up Antigravity with SQLEye

> Add SQLEye to Antigravity with one click from Settings, MCP, which edits ~/.gemini/config/mcp_config.json. Not tested against Antigravity.

Source: https://sqleye.com/docs/ai-agents/agents/antigravity/ · Last updated: 2026-11-29 · Publisher: CodeROG (https://coderog.com)

You can add SQLEye to Antigravity from **Settings → MCP → Client Setup** with one button. SQLEye is not released yet, and this setup follows the agent's published documentation rather than a tested install. Antigravity then starts the bundled `sqleye-mcp` helper whenever it needs SQLEye.

## How do I add SQLEye to Antigravity with one click?

1. In SQLEye, open **Settings → MCP** and switch on **Enable MCP server**. See [enable the MCP server](/docs/ai-agents/enable/).
2. Under **Client Setup**, find **Antigravity**.
3. Press **Add to Antigravity**. The row then shows **Added ✓** and the hint "Restart Antigravity to pick it up."
4. Restart Antigravity.
5. Ask Antigravity to list your SQLEye instances. The call shows up under **Recent activity** in SQLEye.

If the row says **Not installed**, SQLEye did not find Antigravity; see below. SQLEye never creates configuration for an agent it cannot find.

## What does the button change?

- **File:** `~/.gemini/config/mcp_config.json`.
- **What it writes:** It adds `sqleye` under `mcpServers` in the JSON file.
- **Backup:** one copy of the previous file next to it, named with the suffix `.sqleye-backup`.
- **Nothing else:** other servers and settings in the file are left as they were. If the entry is already there, SQLEye reports "Already added" and changes nothing.

Writes are atomic: SQLEye writes a temporary file and renames it over the original. On Windows the same home-relative path is used under `%USERPROFILE%`.

## How does SQLEye know Antigravity is installed?

A `~/.gemini/config` folder, the `agy` command on your PATH, or `Antigravity.app` on macOS. Only these are checked, so a leftover folder is enough for the row to look installed.

## What is the manual config?

If you prefer to edit it yourself, or the button reports an error, merge this into `~/.gemini/config/mcp_config.json`. Replace the path with the one shown by **Manual Setup** in SQLEye (see [Manual Setup](/docs/ai-agents/manual-setup/)).

```json
{
  "mcpServers": {
    "sqleye": {
      "command": "<path to sqleye-mcp>"
    }
  }
}
```

## How do I remove it?

Press **Remove** next to Antigravity in **Client Setup**. SQLEye deletes only the `sqleye` entry and keeps a `.sqleye-backup` copy of the file first. You can also delete the entry by hand.

## Has this been tested?

**Not verified against Antigravity:** the path and format come from `antigravity.google/docs/mcp`, checked on 2026-11-29. The code that edits the file is covered by SQLEye's own tests, but SQLEye has not been run against a real Antigravity install. If your Antigravity reads its config differently, use the manual config below instead.

See also: [set up other agents](/docs/ai-agents/setup/), [the tool reference](/docs/ai-agents/tools/) and [troubleshooting](/docs/ai-agents/troubleshooting/).
