Codex Subagent
Delegate bounded coding tasks to a local OpenAI Codex CLI with selectable models, reasoning effort, and background jobs.
Install Codex Subagent
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"codex-subagent": {
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
],
"env": {
"CODEX_SUBAGENT_MAX_BACKGROUND_JOBS": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
Automated check passed— started and listed 9 tools correctly ().
Overview
Use cases
- Delegate repository investigations without filling the orchestrator's context
- Run an independent code review with a different model family
- Start long-running test or implementation tasks in the background
- Continue a Codex thread with follow-up questions
- Apply changes inside a managed Git worktree
Key features
- Per-task model and reasoning-effort selection
- Foreground and background Codex delegations
- Schema-constrained JSON results
- Read-only default with sandbox controls
- Managed Git worktree support
- Background job and local usage management
Tools9
What Codex Subagent lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 9 tools this server returned when we ran it; 9 declare their own safety hints.
Observed 2026-11-23 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 14d ago via OSV.dev · codex-subagent-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Codex Subagent works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Codex Subagent
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/codex-subagent)<a href="https://allmcps.com/mcp/codex-subagent"><img src="https://allmcps.com/api/badge/codex-subagent?style=directory" alt="Codex Subagent on AllMCPs" /></a>