npm codex-delegate-mcpstdioMITupdated 18d ago
Stop burning your frontier agent's limits on boilerplate.
O que dá para fazer com 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
Instalação
Adicione Codex Delegate ao seu cliente. Escolha o que você usa.
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.
Pontuação
39 / 100
Incompleta
- Documentação25/25
- Manutenção25/25
- Confiança13/20
- Capacidade0/15
- Instalação12/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
Histórico de versões
| Versões | Publicada |
|---|---|
| 2.0.0Mais recente | 20 de ago. de 2026 |
| 1.21.1 | 14 de ago. de 2026 |
| 1.21.0 | 12 de ago. de 2026 |
| 1.20.0 | 12 de ago. de 2026 |
| 1.19.1 | 11 de ago. de 2026 |
| 1.19.0 | 11 de ago. de 2026 |
| 1.18.1 | 10 de ago. de 2026 |
| 1.18.0 | 10 de ago. de 2026 |
| 1.17.0 | 10 de ago. de 2026 |