# Antigravity MCP Server

> Antigravity MCP Server is an MCP server for developer tools. Delegate plans, reviews and long coding tasks from Claude Code or Cursor to Antigravity. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI
- **Website:** https://trishchuk.com/projects/antigravity-mcp-server/
- **Repository:** https://github.com/x51xxx/antigravity-mcp-server
- **MCP Registry name:** io.github.x51xxx/antigravity-mcp-server
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-11-23

## About

The server runs Google's Antigravity CLI (agy) headless and splits its use into distinct workflows. Planning, code review, brainstorming and digests are read-only: the agent can read files but writes and shell commands are denied, so they are safe on a dirty working tree. The idea, in the author's words, is to get a second opinion from a different model family than your lead assistant.

For bigger jobs, delegate-antigravity takes a task, acceptance criteria and a test command, creates a fresh branch in a separate git worktree and runs the Orchestrator model if your plan includes it. The lead agent can poll status, steer with follow-up turns and review the final diff before anything reaches your checkout. The author advises skipping this for quick single-file edits, since the setup only pays off on multi-step work.

The digest tool packs many files into one prompt and withholds credential files such as .env and private keys. Batch, background and delegated runs enable skipPermissions by default, and the worktree isolates git state but not the rest of the filesystem, so the returned diff should be reviewed rather than merged blindly. Requires Node 18 or later and an authenticated agy install.

## Features

- **Worktree delegation:** Runs long multi-step tasks on a new branch in an isolated git worktree and returns a diff.
- **Read-only plans and reviews:** Plans, reviews and digests can read files but cannot write or run shell commands.
- **Large-context digest:** Packs many files into one prompt to answer a focused question while withholding credential files.
- **Batch and background jobs:** Runs parallel atomic tasks or detached jobs whose state persists on disk.
- **Session resume:** Maps multi-turn sessions to Antigravity's own conversation IDs.
- **Model and effort control:** Chooses any agy model and a per-model effort level.

## Good for

- Get a code review from a different model family before committing
- Hand a bounded, testable change to a separate worktree while you keep working
- Ask one question across dozens of files without filling your main context
- Run many small independent tasks in parallel

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add antigravity-mcp-server -- npx -y @trishchuk/antigravity-mcp-server
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add antigravity-mcp-server -- npx -y @trishchuk/antigravity-mcp-server
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.antigravity-mcp-server]
command = "npx"
args = ["-y", "@trishchuk/antigravity-mcp-server"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user antigravity-mcp-server npx -- -y @trishchuk/antigravity-mcp-server

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "antigravity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/antigravity-mcp-server"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 9 tools reads data; 8 names don't say. From the server's own tool labels and tool names; not verified by us.

- `ask-antigravity`: Runs a prompt through agy with model, effort, mode and session options.
- `plan-antigravity`: Generates a structured implementation plan without changing anything.
- `review-changes`: Collects a git diff and runs a structured code review.
- `brainstorm`: Structured ideation using methods such as SCAMPER and design thinking.
- `digest-antigravity`: Answers a focused question across many files using a large context.
- `batch-antigravity`: Runs multiple atomic tasks sequentially or in parallel.
- `bg-antigravity`: Starts and manages detached background tasks.
- `delegate-antigravity`: Delegates a long multi-step task to its own git worktree.
- `list-sessions` (name suggests: reads): Lists, deletes or clears conversation sessions.

## FAQ

### What do I need installed?

Node.js 18 or later and the Antigravity CLI, authenticated with a Google account.

### Which tools only read?

plan-antigravity, review-changes, digest-antigravity and brainstorm cannot write or run shell commands.

### Are credential files sent?

The digest tool withholds known credential files such as .env files and private keys, and does not follow symlinks.

### How long do sessions last?

By default 24 hours, with a maximum of 50 concurrent sessions, both configurable by environment variable.

### How do I add Antigravity MCP Server to Claude Code?

Run this command in your terminal: claude mcp add antigravity-mcp-server -- npx -y @trishchuk/antigravity-mcp-server

### What are the best alternatives to Antigravity MCP Server?

The closest alternatives to Antigravity MCP Server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/antigravity-mcp-server
