npm codex-delegate-mcpstdioMITupdated 18d ago
Stop burning your frontier agent's limits on boilerplate.
What can you do with Codex Delegate?
Codex Delegate
Stop burning your frontier agent's limits on boilerplate.
Delegate implementation to the OpenAI Codex CLI โ your agent writes the brief and reviews the diff.
Use your best coding agent where its judgment matters most: understanding the task, shaping the plan, and reviewing the result.
Codex Delegate is the MCP bridge that lets Claude Code, Cursor, Copilot โ or any MCP client โ hand implementation to the OpenAI Codex CLI, then get a clean, structured result back for review.

๐ง Frontier quality, kept
Your assistant does what frontier models are actually for: understands the task, writes a precise brief, reviews the finished diff. Codex holds its own as the implementer โ guided and checked by a smarter orchestrator. The result reads like frontier work, because a frontier model planned it and signed off on it.
โก Done faster
Codex tears through multi-file edits while a frontier chat model would still be streaming the first file. You delegate, keep working with your assistant, and the diff shows up done.
๐ Your limits stop being the bottleneck
Delegated work runs on the OpenAI Codex CLI and its own usage โ separate from your orchestrator's chat quota. Your Claude, Cursor, or Copilot subscription spends tokens on the brief and the review; Codex does the grinding. On API? That's the per-token grind moved off your main bill.


Features
- ๐ฆ One result you can review โ a compact JSON block: the final answer,
status, the files Codex's edit tools reported changing, per-turn token counts, and thethreadIdto continue from. Fields that carry no signal are omitted. - ๐ Plan first, then build it on the same thread โ
planreturns schema-validated steps for you to approve, andagentimplements them.askanswers questions.reviewruns Codex's own reviewer over uncommitted work, a base branch, or a single commit. - ๐งต Resume โ continue a Codex thread with
resumeThreadId.resumed: falsetells you the context did not carry over. - ๐งโ๐คโ๐ง Run several, cancel cleanly โ the same question across models, or independent workers on independent directories.
cancelwaits for the exit and warns when a process outlives the kill deadline. - ๐ค One-command install โ Claude Code and GitHub Copilot CLI take it as a plugin, with a skill that teaches your agent how to delegate well. Cursor, VS Code, JetBrains, Windsurf and Visual Studio add the stdio server in settings.
- ๐ฉบ
doctorโ tells you exactly what's missing if setup isn't right.
Install
You need Node.js 20+ and the OpenAI Codex CLI, already logged in (codex login).
Claude Code
/plugin marketplace add andreilungeanu/codex-delegate-mcp
/plugin install codex-delegate@codex-delegate-mcp
Then just ask:
Delegate to Codex: migrate src/api from callbacks to async/await and update the tests, then walk me through what changed.
That's the whole loop โ Claude writes the brief, Codex grinds through the files, Claude walks you through the diff.
Cursor
Add an MCP server in Cursor Settings โ MCP (or project .cursor/mcp.json):
{
"mcpServers": {
"codex-delegate": {
"command": "npx",
"args": ["-y", "codex-delegate-mcp"]
}
}
}
Then ask Cursor to delegate implementation to Codex the same way.
GitHub Copilot CLI
copilot plugin install andreilungeanu/codex-delegate-mcp
More clients
{
"servers": {
"codex-delegate": {
"type": "stdio",
"command": "npx",
"args": ["-y", "codex-delegate-mcp"]
}
}
}
Or run Chat: Install Plugin From Source with this repository's URL.
Under Settings โ Tools โ AI Assistant โ Model Context Protocol (MCP), add a server with command npx and arguments -y codex-delegate-mcp.
{
"mcpServers": {
"codex-delegate": {
"command": "npx",
"args": ["-y", "codex-delegate-mcp"]
}
}
}
Heads-up: Cascade caps you at 100 tools across all servers.
{
"servers": {
"codex-delegate": {
"type": "stdio",
"command": "npx",
"args": ["-y", "codex-delegate-mcp"]
}
}
}
Requires 17.14+. Note the top-level key is servers, not mcpServers.
Kiro, Kilo Code, and any other MCP client
Add the following server to the client's MCP config:
{
"mcpServers": {
"codex-delegate": {
"command": "npx",
"args": ["-y", "codex-delegate-mcp"]
}
}
}
MIT ยฉ Andrei Lungeanu
Configuration ยท Security ยท Privacy ยท Terms ยท Changelog
Install
Add Codex Delegate to your client. Pick the one you use.
claude mcp add codex-delegate-mcp -- npx -y codex-delegate-mcpcodex mcp add codex-delegate-mcp -- npx -y codex-delegate-mcpamp mcp add codex-delegate-mcp -- npx -y codex-delegate-mcp{
"mcpServers": {
"codex-delegate-mcp": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"codex-delegate-mcp": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"codex-delegate-mcp","command":"npx","args":["-y","codex-delegate-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"codex-delegate-mcp": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"codex-delegate-mcp": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"codex-delegate-mcp": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"codex-delegate-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"codex-delegate-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y codex-delegate-mcpRun `goose configure`, choose **Add Extension โ Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance25/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 11 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 2.0.0Latest | Aug 20, 2026 |
| 1.21.1 | Aug 14, 2026 |
| 1.21.0 | Aug 12, 2026 |
| 1.20.0 | Aug 12, 2026 |
| 1.19.1 | Aug 11, 2026 |
| 1.19.0 | Aug 11, 2026 |
| 1.18.1 | Aug 10, 2026 |
| 1.18.0 | Aug 10, 2026 |
| 1.17.0 | Aug 10, 2026 |