mcpbeat Sign in

Codex Subagent MCP Server

local only

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.

Installs per day peak 209 · avg 33 · +1062% w/w
a month agotoday
326
Installs / week
npm · codex-subagent-mcp
1
Stars
14 open issues
25 Nov 2026
Last commit
6 releases in 90 days
MIT
License
TypeScript

Connect this server

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.

run in your terminal
claude mcp add codex-subagent-mcp -- npx -y codex-subagent-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "codex-subagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codex-subagent-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.codex-subagent-mcp]
command = "npx"
args = ["-y", "codex-subagent-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "codex-subagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codex-subagent-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "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).

What the code does

We read the source, 4 d ago · rules 995398eba69f

Capabilities

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.

This code can reach further than it looks

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.

Three servers free · no card

Alternatives to Codex Subagent

same job, measured the same way
Codeman
by ark0n

Start, prompt and read AI coding agent sessions (Claude Code, Codex, Gemini CLI and more) in Codeman

3 939 installs/wk local only
open-primeagent
by softkleenex

What one coding agent learns, written into AGENTS.md for Claude Code, Codex and opencode to read

2 061 installs/wk local only
Kamanu lint
by nkamoah17

Checks an agent's Dogwood spending limit policy (the lint form, not a card) with no model checker

1 692 installs/wk local only
Agent Intern
by sinantufekci

Delegate from Claude Code to Gemini, Codex, Copilot, Cursor and opencode CLIs as sub-agents.

1 468 installs/wk local only
Codex Delegate
by andreilungeanu

Bring OpenAI Codex into your agent's council for second opinions, plans, edits and code review.

1 297 installs/wk local only
Nexus MCP
by j7an

Delegate tasks to coding agents (Claude, Codex, Antigravity) from any MCP client

733 installs/wk local only
M
modelmux
by pure-maple

Model multiplexer — route tasks to Codex, Gemini, and Claude CLIs with smart routing.

437 installs/wk local only
agent-intercom
by iambashar

Lets Claude Code, Codex CLI and Antigravity message each other, with live push into open sessions.

364 installs/wk local only

Codex Subagent — questions

Answers built from our own checks of this server.

Why is there no uptime for Codex Subagent?
Codex Subagent runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package codex-subagent-mcp was installed 326 times last week.
How do I connect Codex Subagent?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls codex-subagent-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Codex Subagent?
The npm package codex-subagent-mcp was installed 326 times in the last week. Week over week that is +1062%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Codex Subagent open source?
Yes — it is published under the MIT licence, written in TypeScript, 1 stars on GitHub and 14 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.