Codex Subagent MCP Server
by parisbsio.github.parisbs/codex-subagent-mcpv0.5.0
Delegate coding tasks to the OpenAI Codex CLI, installed separately, with explicit model and effort.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install Codex Subagent MCP server
Install in Claude Code
claude mcp add codex-subagent -- npx -y codex-subagent-mcpInstall in Cursor
{
"mcpServers": {
"codex-subagent": {
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"codex-subagent": {
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"codex-subagent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"codex-subagent": {
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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. |
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-09 · 1d ago · GitHub
Latest release
2026-10-02 · 8d ago · GitHub · v0.5.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-02 · 8d ago · official registry · v0.5.0
FAQ
›How do I install the Codex Subagent MCP server in Claude Code?
Run: claude mcp add codex-subagent -- npx -y codex-subagent-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Codex Subagent require an API key?
No required environment variables are declared in its published metadata.
›Can I use Codex Subagent as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Codex Subagent in the official MCP registry?
Yes, as io.github.parisbs/codex-subagent-mcp.
Alternatives to Codex Subagent
Other ai & llm tools MCP servers.