Codex Delegate MCP
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.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| delegateA | Delegate a coding task to OpenAI Codex. Never run codex from the shell — use this tool. Check status before trusting result — a run that spawns then fails returns normally. Set spec, workspace and mode, plus resumeThreadId to resume and reviewTarget in review; leave every other field at its default unless the user asks. See the delegate skill. |
| cancelA | Cancel active runs. delegationId selects one (announced in progress before spawn — the only handle if a run wedges at startup), threadId all on its thread, neither all. Waits for settlement; if a process tree survives the kill deadline, it still returns and the delegate result warns. Status: cancelled, nothing-active, or not-found (no active run with this ID). |
| doctorA | Diagnose plugin/CLI/login, recursion, and workspace (default: server cwd). deep adds no-quota help and model-catalog checks. |
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
The three tools occupy clearly separate lifecycle roles: delegate starts work, cancel stops it, and doctor inspects the environment. There is no overlap in intent, and the descriptions reinforce the boundaries (e.g., delegate explicitly forbids shell invocation). Selection risk is low.
All three are single-word, lowercase, imperative-style names (delegate, cancel, doctor) with no mixed conventions or prefixes. 'Doctor' is a noun rather than a verb, a minor deviation from the otherwise action-oriented pattern.
Three tools is lean but appropriate for a focused delegation wrapper; each maps to a distinct operation rather than being redundant. The surface is intentionally narrow rather than padded, though it sits near the thin end of the scale.
Start (delegate), stop (cancel), and diagnose (doctor) are covered, with resume and review folded into delegate's parameters. However, there is no explicit status/list-runs tool, despite the description telling agents to 'check status before trusting result' — status appears to rely on progress announcements rather than a queryable operation.