# claude-agy-mcp [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/PyModel/claude-agy-mcp  
**GitHub Stars:** 15  
**npm Downloads (last month):** 353  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/claude-agy-mcp

## Description
Delegate heavy tasks from Claude Code to the Antigravity CLI (Gemini) with quota-aware failover.

## Tools
Capabilities this server exposes over MCP:

- **analyze_files** — Delegate file analysis to the Antigravity CLI (Gemini) instead of reading files yourself. USE THIS whenever a file is large (>200 lines) or the task spans more than 3 files: logs, database dumps, generated code, cross-file reviews, comparisons. The files never enter your context — only the answer does.
- **deep_search** — Delegate codebase archaeology to the Antigravity CLI: git log/diff/blame spelunking, wide greps across a repo, 'when/why did X change', 'where is Y used'. USE THIS instead of running many search commands yourself — it saves your context.
- **web_lookup** — Delegate a web/documentation lookup to the Antigravity CLI (Gemini with web access): library docs, API references, error messages, current versions, external knowledge. USE THIS when you need information you don't have or that may be newer than your training data.
- **adversarial_review** — Get an adversarial review using the selected model or the tool's available route. Use this for plan critiques, design reviews, and pre-merge code review: it hunts for flaws, edge cases, security issues, and unstated assumptions. Pin a different model explicitly when independent model-family review is needed. Pass either `content` or `files` — a call with neither is rejected. Pass `schema` to get ranked findings back as data instead of prose.
- **follow_up** — Continue a previous Antigravity session by session_id (returned by every other tool). USE THIS for follow-up questions about a prior delegation — the full prior context is already on agy's side, so you don't resend anything. Pass `model` to get a second opinion on the same history from a different model without re-sending it. Read-only by default; pass `write: true` to rework a delegation that edited files.
- **delegate** — Raw delegation to the Antigravity CLI for heavy tasks that don't fit the other tools. Read-only by default; pass `write: true` to let agy edit files, `sandbox: true` to confine it. Anything it was refused comes back as a denied-actions note.
- **delegate_many** — Fan one question out to several models at once (a council, with a disagreement report), or fan several sub-tasks out to one model. Runs behind the same concurrency cap as everything else, so it queues rather than stampedes the shared quota.
- **set_model** — Choose the model and reasoning tier every tool uses from now on, on this machine. Ask the user first — "proceed with the default, or change model or effort?" — then call this once: with no arguments to accept the default, or with what they chose. The choice is saved and no tool asks again. An explicit `model` argument on a call still wins for that call. Set AGY_ASK_MODEL=false to skip the gate and route on the built-in chains.
- **agy_status** — What this bridge has spent and what it can still do: tokens by model, live quota cooldowns, runs in flight, the resolved model chain per tool, the user's set_model choice, the models agy offers, warm sessions, and the agy version and flags detected at startup. Check this before a large fan-out, or to list models before set_model.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "claude-agy-mcp": {
    "command": "npx",
    "args": ["-y","--package","@pymodel/antigravity-mcp","antigravity-mcp"]
  }
}
```

## Documentation

## What claude-agy-mcp does

claude-agy-mcp connects an MCP-compatible coding agent to Antigravity through the authenticated `agy` command-line interface. The host agent keeps its own model and interaction flow, while selected tasks are sent to Antigravity models for research, analysis, implementation, or review.

The bridge resolves model identifiers against the models available in the signed-in account rather than relying on a permanent model allowlist. It also preserves conversations for follow-up work, reports usage and partial failures, and returns bounded results to the calling agent.

## How it works

The server runs as a local MCP stdio process. An MCP client invokes one of its tools, and the server starts or communicates with the authenticated Antigravity CLI to perform the delegated operation. Tools can use ordered fallback chains. For example, file analysis starts with `gemini-flash@latest-high` and can fall back to `gemini-pro@latest-low`; adversarial review can proceed through Flash, Pro, and then Claude Opus.

The available model inventory depends on the account, provider, region, and plan. The server can inspect that inventory through `agy_status`, while `set_model` records model-selection metadata without initiating an agent turn. Follow-up requests inherit the existing session.

## Setup and configuration

Install the package from npm or build it from source, then configure an MCP client to launch the local stdio server. The host must have the Antigravity CLI installed and authenticated before delegated calls can run. The CLI's available models determine which model identifiers can be selected; `agy models` or the `agy_status` tool can be used to inspect availability.

The project is also described as supporting Claude Code, Codex, Pi, OpenCode, and other clients that can launch a local MCP stdio server. No client-specific remote service is required for the standard setup.

## Tools and capabilities

- `analyze_files` delegates file analysis with a Flash-to-Pro fallback.
- `deep_search` performs research-oriented searches with Flash effort fallback.
- `web_lookup` sends web lookup tasks through the Flash model chain.
- `adversarial_review` escalates from Flash to Pro and then Claude Opus.
- `follow_up` continues an existing delegated session.
- `delegate` sends a general task through a Flash-to-Pro chain.
- `delegate_many` uses Flash, Pro, and Claude Opus as successive options.
- `set_model` changes model metadata without producing an agent turn.
- `agy_status` exposes status and model-availability metadata.

Model effort and family selection can be changed to match the account's live inventory. The documented chains use `gemini-flash@latest-*`, `gemini-pro@latest-*`, and `claude-opus@latest` identifiers.

## Limitations and notes

Antigravity access and model availability vary by account, plan, provider, region, and trial eligibility. A model name alone does not guarantee that the signed-in account can run it. Subscription quotas, AI credits, and API billing are separate considerations, and the bridge does not imply a fixed credit cost for a task.

Higher effort settings may increase latency and usage. Orchestrator models, where available, use separate identifiers and should not be treated as independent fan-out votes. The project is independently maintained and uses an MIT license.

_Full upstream README: https://allmcps.com/mcp/claude-agy-mcp/readme_

