Codex Delegate
MCP serverAI & modelsThis integration connects your AI coding assistant to the OpenAI Codex CLI. Once added, your AI can delegate implementation work to Codex instead of doing every coding task itself. It acts as a bridge between coding tools and Codex.
Unavailable. This server has no hosted endpoint yet, so Ahel can't serve it.
Add to setup to save this item as a reference. Ahel cannot run it, and signing in will not install it.
What your AI can do with it
- Delegate coding tasks to OpenAI Codex
- Hand off implementation work from your coding assistant
- Use Codex from within the AI tool you already work in
Getting started
- Save this item in Your setup as a reference.
- Read the source or reference documentation for its setup requirements. Saving it here does not connect it to your AI.
- Check this page for availability before trying to install it through Ahel.
From the project's README
As published by andreilungeanu/codex-delegate-mcp in README.md.
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, though the Codex side still bills its own way. 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, cumulative thread 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.
OpenCode does not use mcpServers. Local servers go under mcp, with type: "local" and command as one array:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"codex-delegate": {
"type": "local",
"command": ["npx", "-y", "codex-delegate-mcp"],
"enabled": true
}
}
}
{
"mcpServers": {
"codex-delegate": {
"command": "npx",
"args": ["-y", "codex-delegate-mcp"]
}
}
}
In the IDE: β¦ on the agent panel β MCP Servers β Manage MCP Servers β View raw config. Antigravity 2.0, IDE, and CLI share the Gemini config file. You may need to approve the server's tools on first run.
Same shape as OpenCode: type: "local" and command as one array.
{
"mcp": {
"codex-delegate": {
"type": "local",
"command": ["npx", "-y", "codex-delegate-mcp"],
"enabled": true
}
}
}
In the VS Code extension: Settings β MCP β Add Server β Local (stdio). On Windows, if npx is not found, use command cmd with arguments /c, npx, -y, codex-delegate-mcp.
{
"context_servers": {
"codex-delegate": {
"command": "npx",
"args": ["-y", "codex-delegate-mcp"],
"env": {}
}
}
}
Zed's native agent uses this. External ACP agents in Zed read their own MCP config unless you forward Zed's servers.
Kiro 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
Signals
- GitHub stars
- 1
- Last commit
- Oct 2026
- Weekly downloads
- 358
- Weekly_downloads
- 116 weekly_downloads
Advanced
- Delivery
- codex-delegate-mcp MCP server β your Ahel connector (mcp.ahel.ai) β your AI.
- Item type
- mcp-server
- Key
io-github-andreilungeanu-codex-delegate-mcp- Source
- github.com/andreilungeanu/codex-delegate-mcp
github.com/andreilungeanu/codex-delegate-mcp
More in AI & models
MCP server Β· upstash
More in AI & modelsAdButler
MCP server Β· adbutler
More in AI & modelsatom-mcp-server
MCP server Β· a7om-ai
More in AI & modelsottasia
MCP server Β· aiweather-anurag
More in AI & modelsunphurl
MCP server Β· 123ergo
More in AI & modelsmicrosoft-learn-mcp
MCP server Β· microsoftdocs
More in AI & models