Repository avatar
AI Tools
v1.2.0
active

agy-delegate-mcp

io.github.andreilungeanu/agy-delegate-mcp

Bridge AI coding hosts to Google Antigravity's agy over the Agent Client Protocol.

Documentation

Antigravity Delegate

Delegate edits to Google Antigravity's CLI agent (agy) โ€” your agent writes the brief and reviews the diff.

npm version npm downloads MCP Registry agy-delegate-mcp MCP server node license: MIT tests

Antigravity Delegate logo

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.


You and your agent plan and review; the MCP delegate tool hands the brief to agy, which implements with Gemini models and edits your workspace; a clean result comes back with what changed, which files, and the plan, for your agent to review

Delegate result payload

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 โ€” plan mode: agy writes a plan, returned in full as plan; you review it, then the same session implements it.
  • ๐Ÿ” Ask anything โ€” ask mode: Q&A over your codebase.
  • ๐Ÿฉบ Self-diagnosing โ€” a doctor tool 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.

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-mcp

Then ask:

Delegate to Antigravity: migrate src/api from callbacks to async/await and update the tests, then walk me through what changed.

Cursor

Add to 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-mcp

GitHub Copilot CLI

copilot plugin marketplace add andreilungeanu/agy-delegate-mcp
copilot plugin install agy-delegate@agy-delegate-mcp

The server alone, without the skill: copilot mcp add agy-delegate -- npx -y agy-delegate-mcp.

More clients

VS Code โ€” one-click install, or .vscode/mcp.json

Install in VS Code Install in VS Code Insiders

{
  "servers": {
    "agy-delegate": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "agy-delegate-mcp"]
    }
  }
}
JetBrains AI Assistant โ€” Settings โ†’ Tools โ†’ AI Assistant โ†’ 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"]
    }
  }
}
Devin Desktop (formerly Windsurf) โ€” ~/.config/devin/mcp_config.json

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.

Visual Studio 2026 / 2022 โ€” %USERPROFILE%\.mcp.json
{
  "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 โ€” ~/.config/opencode/opencode.json or project opencode.json

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).

Kilo Code โ€” kilo.jsonc (mcp key, not mcpServers)

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