Home / Developer tools / Codex Subagent

Codex Subagent

io.github.parisbs/codex-subagent-mcp · v0.6.1 stdio

Score 80. Maintenance 39 of 40, security 35 of 35, adoption 6 of 25.

Delegate coding tasks to the OpenAI Codex CLI, installed separately, with explicit model and effort.

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #206 of 643 Developer tools servers on Socketlist by score, with 1 GitHub stars and a last code push 6d ago.

Install

npx -y codex-subagent-mcp

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect Codex Subagent to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.

claude mcp add --transport stdio codex-subagent -- npx -y codex-subagent-mcp

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "codex-subagent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codex-subagent-mcp"
      ]
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "codex-subagent": {
      "command": "npx",
      "args": [
        "-y",
        "codex-subagent-mcp"
      ]
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOURNoNoDelegation 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_JOBSNoNoCap on running background jobs: decimal integer 1 to 8 (default 8). Blocking calls do not use this cap.
CODEX_SUBAGENT_USAGE_LOGNoNoOpt-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_MODELNoNoModel 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_EFFORTNoNoReasoning 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_MODELSNoNoComma-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_SANDBOXNoNoSandbox 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_SANDBOXNoNoCeiling 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_EFFORTNoNoCeiling 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_SERVERSNoNoMCP servers from Codex's config a delegation keeps: none (default), all, or comma-separated names.
CODEX_SUBAGENT_PLUGINSNoNoInstalled Codex plugins a delegation keeps: none (default), all, or comma-separated name@marketplace ids.
CODEX_SUBAGENT_APPSNoNoWhether a delegation keeps Codex's apps (connectors to external services): off (default) or on.

1 more are listed in the registry entry; see the README for the full set.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "codex-subagent-mcp"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance39/40Last push 6d ago, 14 open issuesStrong
Security hygiene35/35Licence MIT, SECURITY.md present, published package or hosted endpointStrong
Adoption6/251 GitHub stars, 61 npm downloads a weekWeak

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in Developer tools. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars1
npm weekly downloads61
Last push6d ago
LicenceMIT
Open issues14
SECURITY.mdYes
LanguageTypeScript
Latest version published2026-11-25

Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.

Similar servers

Compare all alternatives

forge-delegate

Score 71. Maintenance 35 of 40, security 25 of 35, adoption 11 of 25.

io.github.MuhamadBarzani/forge-delegate

Delegate coding tasks from Claude Code, Codex or opencode to any model opencode can run.

★ 4↓ 1.1k/wkMITpushed 1mo ago Developer tools

Claudexor

Score 92. Maintenance 35 of 40, security 35 of 35, adoption 22 of 25.

io.github.razzant/claudexor

Route coding work across Claude Code, Codex, Cursor, and OpenCode with shared context.

★ 531↓ 1.6k/wkMITpushed today Developer tools

Codex Delegate

Score 84. Maintenance 40 of 40, security 35 of 35, adoption 9 of 25.

io.github.andreilungeanu/codex-delegate-mcp

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

★ 6↓ 108/wkMITpushed today Developer tools