Codex Subagent
Delegate coding tasks to the OpenAI Codex CLI, installed separately, with explicit model and effort.
Documentation & Preview
{ "mcpServers": { "mcp-codex-subagent-mcp-d0b3263fff62096aaad0": { "command": "npx", "args": [ "-y", "--package", "codex-subagent-mcp@0.6.1", "codex-subagent" ], "env": { "CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR": "${ENV_CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR}", "CODEX_SUBAGENT_MAX_BACKGROUND_JOBS": "${ENV_CODEX_SUBAGENT_MAX_BACKGROUND_JOBS}", "CODEX_SUBAGENT_USAGE_LOG": "${ENV_CODEX_SUBAGENT_USAGE_LOG}", "CODEX_SUBAGENT_DEFAULT_MODEL": "${ENV_CODEX_SUBAGENT_DEFAULT_MODEL}", "CODEX_SUBAGENT_DEFAULT_EFFORT": "${ENV_CODEX_SUBAGENT_DEFAULT_EFFORT}", "CODEX_SUBAGENT_ALLOWED_MODELS": "${ENV_CODEX_SUBAGENT_ALLOWED_MODELS}", "CODEX_SUBAGENT_DEFAULT_SANDBOX": "${ENV_CODEX_SUBAGENT_DEFAULT_SANDBOX}", "CODEX_SUBAGENT_MAX_SANDBOX": "${ENV_CODEX_SUBAGENT_MAX_SANDBOX}", "CODEX_SUBAGENT_MAX_EFFORT": "${ENV_CODEX_SUBAGENT_MAX_EFFORT}", "CODEX_SUBAGENT_MCP_SERVERS": "${ENV_CODEX_SUBAGENT_MCP_SERVERS}", "CODEX_SUBAGENT_PLUGINS": "${ENV_CODEX_SUBAGENT_PLUGINS}", "CODEX_SUBAGENT_APPS": "${ENV_CODEX_SUBAGENT_APPS}", "CODEX_BIN": "${ENV_CODEX_BIN}" } } }, "setup": { "fields": [ { "id": "ENV_CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR", "label": "CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR", "description": "Delegation and follow-up processes per rolling hour: decimal integer 1 to 9007199254740991; unset means unrestricted. In memory per server; probes never count.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_MAX_BACKGROUND_JOBS", "label": "CODEX_SUBAGENT_MAX_BACKGROUND_JOBS", "description": "Cap on running background jobs: decimal integer 1 to 8 (default 8). Blocking calls do not use this cap.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_USAGE_LOG", "label": "CODEX_SUBAGENT_USAGE_LOG", "description": "Opt-in local usage log: on or off (default off). Records counts and settings, never prompts, code or paths; labels are caller text.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_DEFAULT_MODEL", "label": "CODEX_SUBAGENT_DEFAULT_MODEL", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_DEFAULT_EFFORT", "label": "CODEX_SUBAGENT_DEFAULT_EFFORT", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_ALLOWED_MODELS", "label": "CODEX_SUBAGENT_ALLOWED_MODELS", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_DEFAULT_SANDBOX", "label": "CODEX_SUBAGENT_DEFAULT_SANDBOX", "description": "Sandbox used when a call specifies none: read-only, workspace-write or danger-full-access. Defaults to read-only and cannot exceed the ceiling.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_MAX_SANDBOX", "label": "CODEX_SUBAGENT_MAX_SANDBOX", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_MAX_EFFORT", "label": "CODEX_SUBAGENT_MAX_EFFORT", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_MCP_SERVERS", "label": "CODEX_SUBAGENT_MCP_SERVERS", "description": "MCP servers from Codex's config a delegation keeps: none (default), all, or comma-separated names.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_PLUGINS", "label": "CODEX_SUBAGENT_PLUGINS", "description": "Installed Codex plugins a delegation keeps: none (default), all, or comma-separated name@marketplace ids.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_SUBAGENT_APPS", "label": "CODEX_SUBAGENT_APPS", "description": "Whether a delegation keeps Codex's apps (connectors to external services): off (default) or on.", "required": false, "secret": false, "default": "" }, { "id": "ENV_CODEX_BIN", "label": "CODEX_BIN", "description": "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.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.parisbs/codex-subagent-mcp", "registryVersion": "0.6.1", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.parisbs%2Fcodex-subagent-mcp/versions/0.6.1", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "codex-subagent-mcp", "version": "0.6.1", "integrity": "sha512-e6if1c7MGdUqx7H9ezXlBXjsXJBUAx/2eDKJs3FUcS1uVOsBYq+yXw+O7rCMnu+awE3kxefXnK0VleukeN0jlA==", "registryNameMatched": "io.github.parisbs/codex-subagent-mcp", "checkedAt": "2026-11-25T20:21:24.867Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }