Cursor Delegate
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Ask Grok or hand it coding work through the delegate tool. Every permission the agent requests is auto-approved, in every mode. agent reaches any file the user account can; the CLI narrows ask and plan as the mode argument describes. Scope workspace tightly and review the git diff after every run — filesReportedByEditTools carries only what the agent's edit tools reported; the diff is authoritative.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| delegateA | Ask Grok Build a question or delegate coding work to it over ACP. Never shell out to grok — 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. The agent's clarifying questions arrive in questions, or as prose in result — resume with resumeSessionId, the same mode and the answers in spec. Leave model (grok-4.7 where the account has it), fast, effort and context unset unless the user explicitly asks. If the delegate skill is installed, load it before handing off implementation. |
| cancelA | 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). |
| doctorA | Diagnose the grok CLI, login, plan and workspace (default: server cwd); warnings lists what needs action. Run when delegation fails. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a distinct purpose: delegate starts or resumes an external coding session, cancel stops an in-flight session, and doctor diagnoses the environment. There is no meaningful overlap between these actions, so an agent can select the right tool reliably.
The names delegate, cancel, and doctor are all concise single-word verbs/commands with a consistent style. They do not follow a verb_noun pattern, but there is no mixed naming convention or casing inconsistency.
Three tools are enough for the server's focused delegation purpose: one to start/resume work, one to cancel, and one to diagnose failures. Each tool earns its place, and there are no unnecessary additions.
The core delegation lifecycle is covered: start/resume via delegate, cancel via sessionId, and troubleshoot via doctor. A minor gap is the lack of a session listing or status-inspection tool beyond cancel outcomes, but most workflows can be handled with the existing surface.