Codex Delegate

v3.3.0
io.github.andreilungeanu/codex-delegate-mcp Checked 14 hours ago Published 6 days ago

Bring OpenAI Codex into your agent's council for second opinions, plans, edits and code review.

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

delegate Delegate coding task to Codex

Ask OpenAI Codex a question or delegate coding work to it. Never run codex from the shell — use this tool. mode ask gives a second opinion; parallel calls with the same brief compare views. 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. If the delegate skill is installed, load it before handing off implementation.

ParameterTypeDescription
spec *stringBrief with goal, scope, fixed decisions quoted exactly, and acceptance criteria; reference files instead of pasting code.
workspace *stringCodex's working directory; not confinement. Must already exist — never create one for the call.
fastbooleanCodex Fast mode; higher credit use.
modestringagent implements; plan returns a structured plan; ask answers; review runs native review.
modelstringCodex model id. doctor deep:true lists every id.
reasoningEffortstringCodex reasoning level. doctor deep:true lists each model's levels.
resumeThreadIdstringThread to continue, or the task id of a delegate run as an MCP task. Reuse its workspace. Forbidden with review.
reviewTargetRequired in review; forbidden otherwise: uncommitted, base branch, or commit.
timeoutMsintegerWhole-run cap in ms (default 6h). Mid-turn silence is allowed; startup has a separate 60s first-output deadline.
webSearchbooleanCodex's built-in web search.

cancel Cancel Codex delegation

Cancel active runs. delegationId selects one (announced in progress before spawn — the only handle if a run wedges at startup; a delegate task's id is its delegationId), threadId all on its thread, neither all. Waits for settlement; if the stop cannot confirm the exit, it still returns and the delegate result warns. Status: cancelled, nothing-active, or not-found (no active run with this ID).

ParameterTypeDescription
delegationIdstring
threadIdstring

doctor Diagnose Codex delegation setup

Diagnose CLI, login, workspace (default: server cwd) and recursion; warnings lists what needs action. deep adds the model catalog, the plan and 5h/weekly usage, and CLI help checks. No model calls.

ParameterTypeDescription
deepboolean
workspacestring