{
  "markdown": "# Cursor Delegate\n\n**Stop burning your frontier agent's limits on boilerplate.** \n\nDelegate edits to Cursor's CLI agent — your agent writes the brief and reviews the diff.\n\n[![npm version](https://img.shields.io/npm/v/cursor-delegate-mcp)](https://www.npmjs.com/package/cursor-delegate-mcp)\n[![npm downloads](https://img.shields.io/npm/dt/cursor-delegate-mcp)](https://www.npmjs.com/package/cursor-delegate-mcp)\n[![MCP Registry](https://img.shields.io/badge/MCP%20Registry-listed-blue)](https://registry.modelcontextprotocol.io/v0/servers?search=cursor-delegate)\n[![cursor-delegate-mcp MCP server](https://glama.ai/mcp/servers/andreilungeanu/cursor-delegate-mcp/badges/score.svg)](https://glama.ai/mcp/servers/andreilungeanu/cursor-delegate-mcp)\n[![node](https://img.shields.io/node/v/cursor-delegate-mcp)](https://nodejs.org)\n[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![tests](https://github.com/andreilungeanu/cursor-delegate-mcp/actions/workflows/test.yml/badge.svg)](https://github.com/andreilungeanu/cursor-delegate-mcp/actions/workflows/test.yml)\n\n<img src=\"assets/logo-light.png\" alt=\"Cursor Delegate logo\" width=\"150\" align=\"left\" hspace=\"15\">\n\nUse your best coding agent where its judgment matters most: understanding the task, shaping the plan, and reviewing the result.\n\nCursor Delegate is the MCP bridge that lets Claude Code, ChatGPT/Codex, Copilot — or any MCP client — hand implementation to **Cursor's CLI agent**, then get a clean, structured result back for review.\n\n<br clear=\"left\">\n\n![Demo](assets/demo.gif)\n\n## 🧠 Frontier quality, kept\n\nYour assistant does what frontier models are for: understands the task, writes a precise brief, reviews the finished diff. **Composer 2.5** runs the implementation loop under that brief. The bundled skill puts the review step in the loop — the agent that scoped the work reads the changed files back before reporting.\n\n## ⚡ Done faster\n\nComposer 2.5 is built for throughput on multi-file edits. The whole delegation is one call — brief in, result out — so you review a finished diff instead of babysitting edits landing file by file.\n\n## 🔋 Your limits stop being the bottleneck\n\nComposer and Grok draw from the **Cursor Models usage pool**, separate from third-party model usage on [supported Cursor plans](https://cursor.com/help/models-and-usage/usage-limits). Your Claude or Codex subscription handles the brief and review while Cursor runs the implementation. If you pay per token on API, implementation moves onto the Cursor capacity you already have.\n\n![You and your agent plan and review; the MCP delegate tool hands the brief to cursor-agent (Composer 2.5), which implements and edits your workspace; a clean result comes back with what changed, which files, and the plan, for your agent to review](assets/flow.png)\n\n![Delegate result payload](assets/result-json.png)\n\n## Features\n\n- 🤝 **Native plugins** — install into Claude Code, ChatGPT/Codex, or GitHub Copilot CLI and just say *\"delegate this to Cursor\"*. The shared skill teaches your agent how to delegate well.\n- 💬 **No stalled runs** — if Cursor needs to clarify, it ends the turn and returns the question as a normal result. Your agent reads it and answers by resuming the same session — nothing blocks on a modal waiting for input.\n- 📦 **Clean, named results** — final answer, changed files, session id, and the plan, returned as one compact JSON payload. Nothing to scrape.\n- 📋 **Plan first** — `plan` mode: Cursor drafts a plan, you review it, then the same session implements it.\n- 🔍 **Ask anything** — `ask` mode: Q&A over your codebase.\n- 🩺 **Self-diagnosing** — a `doctor` tool that tells you exactly what's missing if setup isn't right.\n- 🔌 **Portable** — plain stdio MCP, so it runs anywhere: VS Code, JetBrains, Windsurf, Visual Studio, OpenCode, Antigravity, and more.\n\n`plan` and `ask` are instructions to the agent, and `workspace` is its working directory — [Security](SECURITY.md) and the [delegate reference](skills/delegate/reference.md) spell out what the bridge enforces and what it reports back.\n\n## Install\n\nYou need [Node.js 20+](https://nodejs.org/) and the [Cursor CLI](https://cursor.com/docs/cli/overview), logged in (`cursor-agent login`).\n\n### Claude Code\n\n```shell\n/plugin marketplace add andreilungeanu/cursor-delegate-mcp\n/plugin install cursor-delegate@cursor-delegate-mcp\n```\n\nThen just ask:\n\n> Delegate to Cursor: migrate src/api from callbacks to async/await and update the tests, then walk me through what changed.\n\nThat's the whole loop — Claude writes the brief, Cursor grinds through the files, Claude walks you through the diff.\n\n### ChatGPT desktop / Codex\n\n```shell\ncodex plugin marketplace add andreilungeanu/cursor-delegate-mcp\ncodex plugin add cursor-delegate@cursor-delegate-mcp\n```\n\n### GitHub Copilot CLI\n\n```shell\ncopilot plugin install andreilungeanu/cursor-delegate-mcp\n```\n\n### Any other MCP client\n\n```json\n{\n  \"mcpServers\": {\n    \"cursor-delegate\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"cursor-delegate-mcp\"]\n    }\n  }\n}\n```\n\n### Client-specific config locations\n\n<details>\n<summary><strong>VS Code</strong> — one-click install, or <code>.vscode/mcp.json</code></summary>\n\n[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=cursor-delegate&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22cursor-delegate-mcp%22%5D%7D)\n[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=cursor-delegate&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22cursor-delegate-mcp%22%5D%7D&quality=insiders)\n\nOr add it manually:\n\n```json\n{\n  \"servers\": {\n    \"cursor-delegate\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"cursor-delegate-mcp\"]\n    }\n  }\n}\n```\n\nOr run **Chat: Install Plugin From Source** with this repository's URL.\n\n</details>\n\n<details>\n<summary><strong>JetBrains AI Assistant</strong> — Settings → Tools → AI Assistant → MCP</summary>\n\nUnder **Settings → Tools → AI Assistant → Model Context Protocol (MCP)**, add a server with command `npx` and arguments `-y cursor-delegate-mcp`.\n\n</details>\n\n<details>\n<summary><strong>Windsurf</strong> — <code>~/.codeium/windsurf/mcp_config.json</code></summary>\n\nSame `mcpServers` block as the generic snippet above. Cascade caps you at 100 tools across all servers.\n\n</details>\n\n<details>\n<summary><strong>Visual Studio 2022 / 2026</strong> — <code>%USERPROFILE%\\.mcp.json</code></summary>\n\nSame `servers` + `type: \"stdio\"` shape as VS Code. Requires Visual Studio 2026, or 2022 17.14+. Note the top-level key is `servers`, not `mcpServers`. Visual Studio also discovers `.mcp.json` next to the solution, plus `.vscode/mcp.json`.\n\n</details>\n\n<details>\n<summary><strong>OpenCode</strong> — <code>~/.config/opencode/opencode.json</code> or project <code>opencode.json</code></summary>\n\nOpenCode does **not** use `mcpServers`. Local servers go under `mcp`, with `type: \"local\"` and `command` as one array:\n\n```json\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"mcp\": {\n    \"cursor-delegate\": {\n      \"type\": \"local\",\n      \"command\": [\"npx\", \"-y\", \"cursor-delegate-mcp\"],\n      \"enabled\": true\n    }\n  }\n}\n```\n\n</details>\n\n<details>\n<summary><strong>Google Antigravity</strong> — <code>~/.gemini/config/mcp_config.json</code> or workspace <code>.agents/mcp_config.json</code></summary>\n\nSame `mcpServers` block as the generic snippet above. In the IDE: **…** on the agent panel → **MCP Servers** → **Manage MCP Servers** → **View raw config**. Antigravity 2.0, IDE, and CLI share the Gemini config file. You may need to approve the server's tools on first run.\n\n</details>\n\n<details>\n<summary><strong>Kiro</strong> — <code>.kiro/settings/mcp.json</code> or <code>~/.kiro/settings/mcp.json</code></summary>\n\nSame `mcpServers` block as the generic snippet above. Workspace file wins when both exist.\n\n</details>\n\n<details>\n<summary><strong>Kilo Code</strong> — <code>kilo.jsonc</code> (<code>mcp</code> key, not <code>mcpServers</code>)</summary>\n\nSame shape as OpenCode: `type: \"local\"` and `command` as one array. 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`, `cursor-delegate-mcp`.\n\n</details>\n\n<details>\n<summary><strong>Zed</strong> — Settings → AI → MCP Servers, or <code>context_servers</code> in Zed settings</summary>\n\n```json\n{\n  \"context_servers\": {\n    \"cursor-delegate\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"cursor-delegate-mcp\"],\n      \"env\": {}\n    }\n  }\n}\n```\n\nZed's native agent uses this. External ACP agents in Zed read their own MCP config unless you forward Zed's servers.\n\n</details>\n\n## License\n\nMIT © [Andrei Lungeanu](https://github.com/andreilungeanu)\n\n<sub>[Technical reference](TECHNICAL.md) · [Security](SECURITY.md) · [Privacy](PRIVACY.md) · [Terms](TERMS.md) · [Changelog](CHANGELOG.md)</sub>\n",
  "bytes": 9240,
  "sha": "1090a26d95fea3c8811dc5af914d6a8beff729273e84ec37a8f4240a72c39e65",
  "repo_slug": "andreilungeanu/cursor-delegate-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_andreilungeanu_cursor_delegate_52a9b422/readme"
}