Codex Subagent MCP server
io.github.parisbs/codex-subagent-mcp·v0.6.0Delegate coding tasks to the OpenAI Codex CLI, installed separately, with explicit model and effort.
not scanned yet
0 stars31 downloads/wk
Reviews
Write oneNobody has reviewed Codex Subagent yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Codex Subagent tools
No tool declarations could be read from the package source. They show once the server is installed.
How Codex Subagent compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 4,460 AI and agents servers
- Downloads a week
- 31
- more than 18% of 1,538 AI and agents servers with a package
Release history: 3 versions in the registry since 2026-09-30, latest 2026-10-21, typically one every 19 days.
Install Codex Subagent in Claude Code, Cursor or VS Code
Runs npx -y codex-subagent-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add codex-subagent-mcp -- npx -y codex-subagent-mcp
What the publisher says
From the Codex Subagent repository's README, as published. We do not edit it. Read it on GitHub
codex-subagent-mcp
An MCP server that lets Claude Code delegate coding tasks to OpenAI's Codex CLI running on the same machine, with the model and reasoning depth chosen per task. Claude stays the orchestrator. Codex becomes a subagent it can call.
An independent project. Not affiliated with, endorsed by, or supported by OpenAI or Anthropic.
Quick start
Requires Node.js 22+ and the Codex CLI installed, on PATH, and signed in.
claude mcp add codex-subagent -- npx -y codex-subagent-mcpAsk Claude to run codexdoctor if anything is missing. See docs/INSTALL.md** for platform setup, Claude Desktop and other installation options, and Safety before enabling writes.
What you get
live.
- You pick the model and the reasoning effort per task, from the catalog your Codex CLI reports
was asked.
- Read-only by default, with a sandbox ceiling no tool call can exceed.
- Every result states what Codex actually applied (model, effort, sandbox, directory), not only what
directly.
- Optional output_schema returns JSON that matches your schema, for results Claude can act on
- Cancelling, timing out or shutting down stops Codex and every command it started.
A real read-only delegation asking for the package name, captured 2026-09-30:
codex-subagent-mcp
Commands run (1 total):
- [exit 0] /bin/zsh -lc "sed -n '1,80p' package.json"
model=gpt-5.6-luna | effort=low | sandbox=read-only | working_dir=/Users/you/project | applied=confirmed | duration=8s | tokens=in 35701 (cached 28160, uncached 7541) / out 88 (reasoning 9) | thread_id=01a0f419-9fd2-79e2-8248-91436f04e297Why this exists
A single model doing everything has three recurring problems, and delegation solves each one:
Your context window is finite. Having Claude read forty files to answer one question spends context you need for the actual work. Delegating the investigation returns the answer instead of the forty files.
One model has one set of blind spots. A second opinion is worth most when it comes from a different model family — different training, different failure modes. Asking the same model twice mostly gets you the same answer twice.
Not every task deserves the same reasoning budget. Renaming a variable and diagnosing a race condition are not the same job. Here they are separate dials: the model sets raw capability, the reasoning effort sets how long it deliberates. Cheap work goes to a fast model; a hard problem gets the capable one thinking for as long as it needs.
The server runs on your machine and drives the Codex CLI you already have installed; it holds no credentials of its own. Prompts reach OpenAI through Codex, exactly as when you run codex yourself.
See How it compares for a versioned comparison with other Codex MCP servers.
Using it
Write a bounded delegation
A delegation gets expensive when repeated commands keep adding output to the context carried into later requests. Name the exact question, likely files, stopping condition and evidence the answer must contain; choose higher effort for ambiguity rather than by habit. Writing a delegation gives the measured cost model, ranked rules and weak-versus-strong examples using the real tool parameters. Background goes in context and a persona or extra rules in system_instructions, both layered on the built-in quality contract; see the tool reference.
Get a second opinion from a different model family
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Codex Subagent: common questions
- Is Codex Subagent MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Codex Subagent safety report
- How do I install Codex Subagent?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Codex Subagent need an API key?
- No secret keys are declared. It reads 13 settings from the environment.
- Is Codex Subagent maintained?
- The last commit was 34 days ago (2026-10-01). The latest release is v0.6.0.
- What can I use instead of Codex Subagent?
- Servers from other publishers that do the same job: SuperCompress MCP server, Serena MCP: the IDE for your agent MCP server and Figma Context MCP server.
- How does Codex Subagent compare with other AI and agents MCP servers?
- safety score 92/100 (higher than 90% of 4,460 AI and agents servers); downloads a week 31 (more than 18% of 1,538 AI and agents servers with a package). Full comparison.
Alternatives to Codex Subagent
Same job from other publishers: the closest match first, then the best rated.
- SuperCompressCompress coding-agent context ~64%. Hosted Neural Keep MCP for Cursor/Claude/Codex.not reviewedEstablishedB
- Serena MCP: the IDE for your agentA powerful toolkit for coding, providing semantic retrieval and editing capabilities.not reviewedWidely usedC
- Figma ContextGive your coding agent access to your Figma data. Implement designs in any framework in one-shot.not reviewedWidely usedB
- mcptoonMCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).not reviewedEstablishedA
- yutuCLI, MCP server, and AI agent to automate YouTube workflowsnot reviewedEstablishedA