Cursor Delegate
This server acts as an MCP bridge allowing any AI agent to delegate coding tasks, planning, and codebase inquiries to Cursor's CLI agent (Composer 2.5). You can:
Delegate tasks in three modes:
agent: full implementation, returning structured JSON with changed files, plan, session ID, and stop reason.plan: draft a plan for review, then resume to implement.ask: read-only Q&A over the codebase. Provide a task brief (inline or file), specify a workspace, attach context files (text/images), choose model/context/reasoning, enable speed tier, and resume previous sessions.
Cancel running delegations by session ID, with an optional
forcekill of the agent process.Diagnose setup with
doctor, checking plugin, launcher, MCP client, and deep ACP handshake.
You receive structured output for easy review, and you can leverage Cursor's token allowance for implementation tasks, preserving your primary agent's tokens.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cursor DelegateDelegate to Cursor: refactor the auth module and update its tests."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cursor Delegate
Stop burning your frontier agent's limits on boilerplate.
Delegate edits to Cursor's CLI agent โ your agent writes the brief and reviews the diff.
Use your best coding agent where its judgment matters most: understanding the task, shaping the plan, and reviewing the result.
Cursor 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.

๐ง Frontier quality, kept
Your assistant does what frontier models are actually for: understands the task, writes a precise brief, reviews the finished diff. Composer 2.5 runs the implementation loop under that brief. Nothing lands unreviewed โ the agent that scoped the work reads the changed files back before you see them.
Related MCP server: @willpowell8/cursor-cloud-agent-mcp
โก Done faster
Composer 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.
๐ Your limits stop being the bottleneck
Composer and Grok run on their own usage allowance on every Cursor plan โ separate from the API-priced main quota, and generous enough that most people never reach the ceiling. Your Claude or Codex subscription spends tokens only on the brief and the review, so the 5-hour window and weekly limits go a lot further. Paying per token on API? That grind moves onto Cursor capacity you already have.


Features
๐ค 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.
๐ฌ 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.
๐ฆ Clean, named results โ final answer, changed files, session id, and the plan, returned as one compact JSON payload. Nothing to scrape, nothing to guess.
๐ Plan first โ
planmode: Cursor drafts a plan, you review it, then the same session implements it.๐ Ask anything โ
askmode: read-only Q&A over your codebase.๐ฉบ Self-diagnosing โ a
doctortool that tells you exactly what's missing if setup isn't right.๐ Portable โ plain stdio MCP, so it runs anywhere: VS Code, JetBrains, Windsurf, Visual Studio, and more.
Install
You need Node.js 20+ and the Cursor CLI, logged in (cursor-agent login).
Claude Code
/plugin marketplace add andreilungeanu/cursor-delegate-mcp
/plugin install cursor-delegate@cursor-delegate-mcpThen just ask:
Delegate to Cursor: migrate src/api from callbacks to async/await and update the tests, then walk me through what changed.
That's the whole loop โ Claude writes the brief, Cursor grinds through the files, Claude walks you through the diff.
ChatGPT desktop / Codex
codex plugin marketplace add andreilungeanu/cursor-delegate-mcp
codex plugin add cursor-delegate@cursor-delegate-mcpGitHub Copilot CLI
copilot plugin install andreilungeanu/cursor-delegate-mcpAny other MCP client
{
"mcpServers": {
"cursor-delegate": {
"command": "npx",
"args": ["-y", "cursor-delegate-mcp"]
}
}
}Client-specific config locations
Or add it manually:
{
"servers": {
"cursor-delegate": {
"type": "stdio",
"command": "npx",
"args": ["-y", "cursor-delegate-mcp"]
}
}
}Or run Chat: Install Plugin From Source with this repository's URL.
Under Settings โ Tools โ AI Assistant โ Model Context Protocol (MCP), add a server with command npx and arguments -y cursor-delegate-mcp.
{
"mcpServers": {
"cursor-delegate": {
"command": "npx",
"args": ["-y", "cursor-delegate-mcp"]
}
}
}Heads-up: Cascade caps you at 100 tools across all servers.
{
"servers": {
"cursor-delegate": {
"type": "stdio",
"command": "npx",
"args": ["-y", "cursor-delegate-mcp"]
}
}
}Requires 17.14+. Note the top-level key is servers, not mcpServers.
Use the portable definition above in the client's own MCP config file.
License
MIT ยฉ Andrei Lungeanu
Technical reference ยท Security ยท Privacy ยท Terms ยท Changelog
Maintenance
Related MCP Servers
- AlicenseCqualityCmaintenanceWraps the cursor-agent CLI to provide cost-effective tools for repository analysis, code search, planning, and editing. Offloads heavy thinking tasks from the host AI to reduce token usage while maintaining precise, scoped workspace operations.75MIT
- Alicense-qualityCmaintenanceEnables programmatic control of Cursor's cloud-based AI agents for automated code generation and repository management via standardized MCP tools.265MIT
- Flicense-qualityDmaintenanceAn MCP server wrapping the Cursor CLI agent, enabling Claude Code and other MCP clients to delegate tasks to Cursor's AI agent for file writing, bash commands, and codebase queries.
- Alicense-qualityBmaintenanceEnables MCP clients like Claude Code to delegate coding tasks to the local Cursor Agent CLI, with persistent per-workspace sessions that resume across calls.12MIT
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Real-time chat hub for AI agents โ Claude Code, Cursor, Cline, Codex over MCP or REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/andreilungeanu/cursor-delegate-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server