Cursor Delegate

v3.5.0
io.github.andreilungeanu/cursor-delegate-mcp Checked 3 hours ago Published 3 hours ago

Bring Cursor's CLI agent into your agent's council for second opinions, plans and edits.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

delegate Delegate coding task to Cursor

Ask cursor-agent a question or delegate coding work to it over ACP. Never shell out to cursor-agent — use this tool only. mode ask gives a second opinion; parallel calls with the same brief compare views. 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. Keep model (composer-2.5), fast and effort at their defaults unless the user explicitly asks. If the delegate skill is installed, load it before handing off implementation.

ParameterTypeDescription
spec *stringTask brief: goal, scope, fixed decisions quoted exactly, acceptance criteria. Sent as written. Point at files to read rather than pasting code, or attach them with contextFiles.
workspace *stringThe agent's working directory, not a limit. Smallest directory holding the task's files; with no such directory the project root is the floor. Must already exist; never create one for the call.
contextstringContext window size; gpt-5.x accepts 272k and 1m. Do not pass speculatively.
contextFilesarrayPaths to attach instead of pasting contents into spec. Text becomes references the agent may open; images (png/jpg/gif/webp, <5MB) are sent inline. Relative paths resolve against workspace but are not…
effortstringExact Cursor thinking-effort value for the selected model. Values differ per model and some expose no effort option; invalid values fail before the prompt and name the accepted set. Pass only when the…
fastbooleanFast tier; higher cost — only when the user asks.
modestringagent implements; plan and ask are instructions to the agent, not limits.
modelstringBare ACP family id, version included, such as composer-2.5. The ids on offer depend on the account; doctor deep:true lists them.
resumeSessionIdstringContinue an existing ACP session. When delegate ran as an MCP task, its server-side task id works too.

cancel Cancel Cursor delegation

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

ParameterTypeDescription
sessionId *stringWhen delegate runs as an MCP task, its server-side task id works too.
forcebooleanKill the agent process if the turn is still running after a short grace period.

doctor Diagnose Cursor delegation setup

Diagnose cursor-agent, login, plan and workspace (default: server cwd); warnings lists what needs action. Run when delegation fails.

ParameterTypeDescription
deepbooleanAlso open an ACP session: adds the models this account offers, the default model check, modes and the current model's options.
workspacestring