Codex Delegate vs Sub Agents MCP

A side-by-side look at the Codex Delegate and Sub Agents MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Codex Delegate logoCodex DelegateCoding Agents · Local subprocess (stdio)Bridge AI coding hosts to the OpenAI Codex CLI for delegated implementation.63GoodAuth: not declaredSub Agents MCP logoSub Agents MCPCoding Agents · Local subprocess (stdio)MCP server for delegating tasks to specialized AI assistants in Cursor and other tools49FairAuth: not declared

Verdict: choose Codex Delegate for coding agents work as a local process; choose Sub Agents MCP for coding agents as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Codex Delegate logoChoose Codex Delegate when

  • You need dedicated capabilities in the Coding Agents domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like delegate, cancel, doctor.
Explore Codex Delegate

Sub Agents MCP logoChoose Sub Agents MCP when

  • You need dedicated capabilities in the Coding Agents domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: AGENTS_DIR, AGENT_TYPE, CLI_API_KEY, AGENT_MODEL, AGENT_PERMISSION, SESSION_ENABLED.
Explore Sub Agents MCP

Feature & specification comparison

Rows where the two servers differ are marked.

SpecCodex Delegate logoCodex DelegateSub Agents MCP logoSub Agents MCP
CategoryCoding AgentsCoding Agents
Quality signal63/100 · Good49/100 · Fair
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredBYOK (pay the provider)
Required env varsNone listedAGENTS_DIRAGENT_TYPECLI_API_KEYAGENT_MODELAGENT_PERMISSIONSESSION_ENABLED
Verified ownerCommunity listingCommunity listing
GitHub stars299
Directory activity 4 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
Tools3Not listed

Tools & capabilities

Codex Delegate tools 3

  • delegateDelegate a coding task to OpenAI Codex. Never run codex from the shell — use this tool. Check status before trusting result — a run that spawns then fails returns normally. Keep model, reasoningEffort and fast at their defaults unless the user asks. See the delegate skill.
  • cancelCancel active runs. delegationId selects one (announced in progress before spawn — the only handle if a run wedges at startup), threadId all on its thread, neither all. Waits for settlement; if a process tree survives the kill deadline, it still returns and the delegate result warns. Status: cancelled, nothing-active, or not-found (no active run with this ID).
  • doctorDiagnose plugin/CLI/login, recursion, and workspace (default: server cwd). deep adds no-quota help and model-catalog checks.

Sub Agents MCP tools

No tool names declared yet. Check the project README from the listing page.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Codex Delegate

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "codex-delegate": {
      "command": "npx",
      "args": [
        "-y",
        "codex-delegate-mcp"
      ]
    }
  }
}

Sub Agents MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "sub-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sub-agents-mcp"
      ],
      "env": {
        "AGENTS_DIR": "YOUR_AGENTS_DIR_HERE",
        "AGENT_TYPE": "YOUR_AGENT_TYPE_HERE",
        "CLI_API_KEY": "YOUR_CLI_API_KEY_HERE",
        "AGENT_MODEL": "YOUR_AGENT_MODEL_HERE",
        "AGENT_PERMISSION": "YOUR_AGENT_PERMISSION_HERE",
        "SESSION_ENABLED": "YOUR_SESSION_ENABLED_HERE"
      }
    }
  }
}

Frequently asked questions

Codex Delegate is categorized under Coding Agents and uses a local stdio subprocess. Sub Agents MCP belongs to Coding Agents and uses a local stdio subprocess. Pick Codex Delegate for coding agents work and Sub Agents MCP for coding agents.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Codex Delegate has no declared pricing — check the project's own site. Sub Agents MCP is bring-your-own-key: usage is billed by the API provider you supply a key for. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add codex-delegate and sub-agents-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Codex Delegate has a quality signal of 63/100 (Good) with 4 views, 0 installs and 2 GitHub stars. Sub Agents MCP has 49/100 (Fair) with 1 views, 0 installs and 99 GitHub stars.