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. 54 installs a week from npm. Last commit 10 Oct 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
54
Installs / week
npm · codex-subagent-mcp
0
Stars
17 open issues
10 Oct 2026
Last commit
5 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 2 d ago · rules ccca72095570

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

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": {
      "args": [
        "-y",
        "codex-subagent-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.codex-subagent-mcp]
command = "npx"
args = ["-y", "codex-subagent-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "codex-subagent-mcp": {
      "args": [
        "-y",
        "codex-subagent-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "codex-subagent-mcp": {
      "args": [
        "-y",
        "codex-subagent-mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: CODEX_SUBAGENT_DEFAULT_MODEL (Model used when a call names none; without it the server asks which model to use.), CODEX_SUBAGENT_DEFAULT_EFFORT (Reasoning effort used when a call specifies none.), CODEX_SUBAGENT_ALLOWED_MODELS (Comma-separated allow-list of model slugs; anything else is refused.), CODEX_SUBAGENT_DEFAULT_SANDBOX (Sandbox used when a call specifies none. Defaults to read-only and cannot exceed the ceiling.), CODEX_SUBAGENT_MAX_SANDBOX (Ceiling on what a delegation may do. Defaults to workspace-write; danger-full-access must be set explicitly.), CODEX_SUBAGENT_MAX_EFFORT (Ceiling on reasoning effort.), 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 (Path to the Codex executable, if it is not codex on PATH. On Windows it must be codex.exe, not a .cmd shim.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Codex Subagent

same job, measured the same way
Codex Delegate
by andreilungeanu

Bridge AI coding hosts to the OpenAI Codex CLI for delegated implementation.

529 installs/wk local only
Nexus MCP
by j7an

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

1 537 installs/wk local only
Pi Durabletask MCP
by nyarlathoteppppp

Delegate Claude/Codex tasks to configured Pi, with steering and optional SQLite restart recovery.

1 007 installs/wk local only
Agent Intern
by sinantufekci

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

1 077 installs/wk local only
M
modelmux
by pure-maple

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

177 installs/wk local only
Mowgli
by mowgli-ai

Intelligent product canvas: iterate on your product's design with your coding agent, synced to code.

answering
ContinueWith
by continuewith-ai

Install the ContinueWith AI handoff widget from coding agents (Cursor, Claude Code, Codex).

51 installs/wk local only
Agy Bridge
by sshahzaiib

Delegate heavy tasks from Claude Code to the Antigravity CLI (Gemini) with quota-aware failover.

78 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 54 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 with the file path 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 54 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, 0 stars on GitHub and 17 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.