Codex Subagent runs on your own machine — the client starts it, so there is no endpoint to ping. 326 installs a week from npm. Last commit 25 Nov 2026.
Delegate coding tasks to the OpenAI Codex CLI, installed separately, with explicit model and effort.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add codex-subagent-mcp -- npx -y codex-subagent-mcp
{
"mcpServers": {
"codex-subagent-mcp": {
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
]
}
}
}
[mcp_servers.codex-subagent-mcp]
command = "npx"
args = ["-y", "codex-subagent-mcp"]
{
"mcpServers": {
"codex-subagent-mcp": {
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
]
}
}
}
{
"servers": {
"codex-subagent-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR (Delegation and follow-up processes per rolling hour: decimal integer 1 to 9007199254740991; unset means unrestricted. In memory per server; probes never count), CODEX_SUBAGENT_MAX_BACKGROUND_JOBS (Cap on running background jobs: decimal integer 1 to 8 (default 8). Blocking calls do not use this cap), CODEX_SUBAGENT_USAGE_LOG (Opt-in local usage log: on or off (default off). Records counts and settings, never prompts, code or paths; labels are caller text), CODEX_SUBAGENT_DEFAULT_MODEL (Model used when a call names none. Unset: the only entry of a single-entry CODEX_SUBAGENT_ALLOWED_MODELS, otherwise a call without a model is refused with a suggestion), CODEX_SUBAGENT_DEFAULT_EFFORT (Reasoning effort used when a call specifies none: none, minimal, low, medium, high, xhigh, max or ultra. Unset: the model's own default. Cannot exceed CODEX_SUBAGENT_MAX_EFFORT), CODEX_SUBAGENT_ALLOWED_MODELS (Comma-separated allow-list of model slugs; anything else is refused. Unset: unrestricted. A single entry acts as the default model; an empty entry is a configuration error), CODEX_SUBAGENT_DEFAULT_SANDBOX (Sandbox used when a call specifies none: read-only, workspace-write or danger-full-access. Defaults to read-only and cannot exceed the ceiling), CODEX_SUBAGENT_MAX_SANDBOX (Ceiling on what a delegation may do: read-only, workspace-write or danger-full-access. Defaults to workspace-write; danger-full-access must be set explicitly), CODEX_SUBAGENT_MAX_EFFORT (Ceiling on reasoning effort: none, minimal, low, medium, high, xhigh, max or ultra. Unset: unrestricted. Higher efforts are lowered to a supported level, or refused if none fits), CODEX_SUBAGENT_MCP_SERVERS (MCP servers from Codex's config a delegation keeps: none (default), all, or comma-separated names), CODEX_SUBAGENT_PLUGINS (Installed Codex plugins a delegation keeps: none (default), all, or comma-separated name@marketplace ids), CODEX_SUBAGENT_APPS (Whether a delegation keeps Codex's apps (connectors to external services): off (default) or on), CODEX_BIN (Codex executable name or path. Unset: codex, searched on PATH. On Windows it must run directly, such as codex.exe; a .cmd or .bat shim is refused).
We read the source, 4 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
execFile(file, args, options, (error) => callback(error));
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
Start, prompt and read AI coding agent sessions (Claude Code, Codex, Gemini CLI and more) in Codeman
What one coding agent learns, written into AGENTS.md for Claude Code, Codex and opencode to read
Checks an agent's Dogwood spending limit policy (the lint form, not a card) with no model checker
Delegate from Claude Code to Gemini, Codex, Copilot, Cursor and opencode CLIs as sub-agents.
Bring OpenAI Codex into your agent's council for second opinions, plans, edits and code review.
Delegate tasks to coding agents (Claude, Codex, Antigravity) from any MCP client
Model multiplexer — route tasks to Codex, Gemini, and Claude CLIs with smart routing.
Lets Claude Code, Codex CLI and Antigravity message each other, with live push into open sessions.
Answers built from our own checks of this server.