Codex Delegate
Turn your coding agent into a council. Bring GPT-6.2 Sol and Astra into the conversation, then hand them the work.

Codex Delegate is the MCP bridge to the OpenAI Codex CLI. From Claude Code, Cursor, Copilot or any MCP client, your agent can ask Codex for a second opinion, put one question to several models at once, or hand Codex a plan, a fix or a review, and get a structured result back from each call.

🧠 Get a second opinion
Ask Codex what it thinks about moving the session store to SQLite.
Codex reads the repo and answers in ask mode, and your agent sets that answer beside its own. You see where the two disagree before you choose a direction.
Ask several at once, and your agent sends each the same brief in parallel, compares the answers, and checks the claims that matter:
Ask gpt-6.2-sol and gpt-6-luna whether we should split this service, and tell me where they disagree.
With Cursor Delegate or Antigravity Delegate installed too, the same prompt reaches Grok, Composer or Gemini.
🛠️ Hand off the work
Use Codex to migrate src/api from callbacks to async/await and update the tests. Plan it first.
Your agent writes the brief, Codex edits the files, and your agent reads the diff and runs the tests before it reports back.
- 📋 Plan, approve, build —
plan returns schema-validated steps; once you approve, the same thread implements them.
- 🔎 Native review —
review runs Codex's own reviewer over uncommitted work, a base branch, or a single commit.
- 🧵 Resume — follow up on the same thread with
resumeThreadId. resumed: false tells you the context did not carry over.

Features
- 📦 One result you can review — a compact JSON block: the final answer,
status, the files Codex's edit tools reported changing, cumulative thread token counts, and the threadId to continue from. Fields that carry no signal are omitted.
- ⏳ Runs in the background, with MCP Tasks —
delegate serves the MCP Tasks extension (io.modelcontextprotocol/tasks), so a host that speaks it gets a task back once Codex starts its thread and the result when Codex finishes. In the main session of the interactive Claude Code CLI, you keep working and the result arrives as a task notification; calls from subagents wait for the result.
- 🧑🤝🧑 Run several, cancel cleanly — the same question across models, or independent workers on independent directories.
cancel waits for the exit and warns when it cannot confirm one.
- 🔋 Runs on Codex's own account — delegated work uses whatever the Codex CLI is signed in with, plan or API key, separate from your host's chat quota.
- 🤝 One-command install — Claude Code, Google Antigravity, GitHub Copilot CLI, Cursor and VS Code take it as a plugin, with a skill that teaches your agent to write the brief and review the result. JetBrains, Devin Desktop (Windsurf), Visual Studio and the rest add the stdio server in settings.
- 🩺
doctor — tells you exactly what's missing if setup isn't right.