Antigravity Delegate
Integrates with Google Antigravity's CLI agent (agy) to delegate code edits and implementation tasks; supports plan-first workflows, codebase Q&A, resuming sessions for clarification, and returning structured results such as changed files, session ID, and model/thinking level.
Antigravity Delegate
Delegate edits to Google Antigravity's CLI agent (agy) — your agent writes the brief and reviews the diff.
Antigravity Delegate is the MCP bridge that lets Claude Code, ChatGPT/Codex, Copilot — or any MCP client — hand implementation to agy over the Agent Client Protocol, then get a structured result back for review.


Features
🤝 Native plugins — install into Claude Code, ChatGPT/Codex, or GitHub Copilot CLI and say "delegate this to Antigravity". The shared skill teaches your agent how to delegate well.
💬 No stalled runs — if agy needs to clarify, it ends the turn and returns the question as a normal result. Your agent answers by resuming the same session.
📦 Named results — final answer, changed files, session id, model and thinking level, returned as one compact JSON payload.
📋 Plan first —
planmode: agy writes a plan, returned in full asplan; you review it, then the same session implements it.🔍 Ask anything —
askmode: Q&A over your codebase.🩺 Self-diagnosing — a
doctortool that reports what is missing, the models agy offers, and the account tier.
plan and ask are instructions to the agent, and workspace is its working directory — Security and the delegate reference spell out what the bridge enforces and what it reports back.
Related MCP server: agy-mcp
Install
You need Node.js 20+ and the Antigravity CLI (agy), signed in — run agy once and sign in.
Claude Code
/plugin marketplace add andreilungeanu/agy-delegate-mcp
/plugin install agy-delegate@agy-delegate-mcpThen ask:
Delegate to Antigravity: migrate src/api from callbacks to async/await and update the tests, then walk me through what changed.
Cursor
Or add it under Customize → MCPs in the sidebar, or in ~/.cursor/mcp.json (every project) or .cursor/mcp.json (this project):
{
"mcpServers": {
"agy-delegate": {
"command": "npx",
"args": ["-y", "agy-delegate-mcp"]
}
}
}ChatGPT desktop / Codex
codex plugin marketplace add andreilungeanu/agy-delegate-mcp
codex plugin add agy-delegate@agy-delegate-mcpGitHub Copilot CLI
copilot plugin marketplace add andreilungeanu/agy-delegate-mcp
copilot plugin install agy-delegate@agy-delegate-mcpThe server alone, without the skill: copilot mcp add agy-delegate -- npx -y agy-delegate-mcp.
More clients
{
"servers": {
"agy-delegate": {
"type": "stdio",
"command": "npx",
"args": ["-y", "agy-delegate-mcp"]
}
}
}Under Settings → Tools → AI Assistant → Model Context Protocol (MCP), click Add and paste this JSON:
{
"mcpServers": {
"agy-delegate": {
"command": "npx",
"args": ["-y", "agy-delegate-mcp"]
}
}
}This config is for Devin Local, the default agent (Local 3.6+). On Windows the file is %APPDATA%\devin\mcp_config.json. Legacy Cascade and older Windsurf builds read ~/.codeium/windsurf/mcp_config.json.
{
"mcpServers": {
"agy-delegate": {
"command": "npx",
"args": ["-y", "agy-delegate-mcp"]
}
}
}Heads-up: Devin Desktop's Cascade agent caps you at 100 tools across all servers.
{
"servers": {
"agy-delegate": {
"type": "stdio",
"command": "npx",
"args": ["-y", "agy-delegate-mcp"]
}
}
}Visual Studio 2022 needs 17.14+. Note the top-level key is servers, not mcpServers. A .mcp.json in the solution directory scopes it to that solution.
OpenCode does not use mcpServers. Local servers go under mcp, with type: "local" and command as one array:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"agy-delegate": {
"type": "local",
"command": ["npx", "-y", "agy-delegate-mcp"],
"enabled": true
}
}
}This is the v1 shape, which OpenCode v2 still reads (v2's native form is mcp.servers).
Same shape as OpenCode: type: "local" and command as one array.
{
"mcp": {
"agy-delegate": {
"type": "local",
"command": ["npx", "-y", "agy-delegate-mcp"],
"enabled": true
}
}
}In the VS Code extension: Settings → MCP → Add Server → Local (stdio). On Windows, if npx is not found, use command cmd with arguments /c, npx, -y, agy-delegate-mcp.
Kiro and any other MCP client
Add the following server to the client's MCP config — for Kiro, ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace):
{
"mcpServers": {
"agy-delegate": {
"command": "npx",
"args": ["-y", "agy-delegate-mcp"]
}
}
}License
MIT © Andrei Lungeanu
Technical reference · Security · Privacy · Terms · Changelog
Available Tools
3 toolscancelADestructiveIdempotent
Best-effort cancel of an in-flight delegation by sessionId. session/cancel is advisory — the agent may finish the turn anyway, and the delegate result then carries cancelRequested. Status: cancelled, killed (agent process observed to exit), not-running (turn already ended, still resumable), not-found (id not in this process's recent session history).
Inputs: sessionId (required), force.
delegateADestructive
Delegate a coding task to Antigravity's agy over ACP. Never shell out to agy — use this tool only. Auto-approves every permission the agent requests, in any mode and anywhere on disk. Clarifying questions arrive as prose in result — resume with resumeSessionId to answer. Leave model and effort unset unless the user explicitly asks. See the delegate skill.
Inputs: spec (required), workspace (required), mode, model, +3 more.
doctorARead-onlyIdempotent
Setup diagnostics: plugin version, MCP client capabilities, agy launcher resolution. Run when delegation fails or agent.found is false.
Inputs: deep.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool maps to a clearly distinct action in the delegation lifecycle: start/resume a delegation (delegate), abort one (cancel), and diagnose setup failures (doctor). The descriptions explicitly scope when to use each, including the 'never shell out to agy' guardrail, so an agent can select without ambiguity.
All names are single lowercase words with no mixed casing or prefixes, so the set is predictable. The only deviation is that 'doctor' is a noun while 'delegate' and 'cancel' are verbs, a minor break in the verb pattern.
Three tools is minimal but well-matched to a narrow proxy purpose: one action tool, one lifecycle-control tool, one diagnostic. Nothing extraneous is present, though the surface is thin enough that a fourth helper (e.g. list sessions) could be justified.
The core lifecycle is covered: start/resume delegation, cancel an in-flight run, and troubleshoot setup. The main gap is discoverability — there is no way to list or query active/recent session IDs, so an agent must track sessionIds itself, and resume is only reachable by re-invoking delegate.
Maintenance
Related MCP Connectors
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Coordinate coding agents through MCP using existing AI plans, saved work, and independent checks.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Project board for ChatGPT, Claude and coding agents, with scoped MCP access to projects and tasks.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI (agy) — purpose-built tools, model routing with fallback, session continuity, and output truncation to save Claude's context and tokens.6143 npm68MIT
- AlicenseAqualityDmaintenanceLets Claude Code use Google's Antigravity CLI (agy) to review plans or execute them in isolated git worktrees, with safety controls like secret scanning.4MIT
- AlicenseAqualityCmaintenanceLets MCP clients such as Claude Code, Claude Desktop, Cursor, or Codex hand tasks to the Antigravity CLI (agy) so the work runs on the user's Antigravity plan instead of the client's. Exposes tools for delegated coding tasks and reviews, web search with sources, image/PDF analysis, shell command generation or execution, brainstorming, and model/quota checks.7MIT
- AlicenseBqualityBmaintenanceEnables MCP clients such as Claude Code and Cursor to delegate long multi-step coding tasks to Google Antigravity CLI, generate read-only plans and code reviews, digest large codebases, and manage background sessions in isolated git worktrees.15287 npm2MIT