codex-octopus
v1.0.1Spawn multiple specialized Codex agents as MCP servers, each independently configured.
Values you need
| Variable | What it is | |
|---|---|---|
CODEX_API_KEY | optional secret | OpenAI API key (leave unset to inherit from parent process) |
CODEX_TOOL_NAME | optional | Tool name prefix (default: codex) |
CODEX_MODEL | optional | Model: gpt-5-codex, o3, codex-1, or full ID |
CODEX_SANDBOX_MODE | optional | Sandbox: read-only, workspace-write, danger-full-access |
CODEX_APPROVAL_POLICY | optional | Approval: never, on-failure, on-request, untrusted |
CODEX_APPEND_INSTRUCTIONS | optional | Additional instructions appended to the default |
CODEX_FACTORY_ONLY | optional | Set to true to expose only the factory wizard tool |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add codex-octopus -- npx -y codex-octopus@1.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"codex-octopus": {
"args": [
"-y",
"codex-octopus@1.0.1"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"codex-octopus": {
"args": [
"-y",
"codex-octopus@1.0.1"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"codex-octopus": {
"args": [
"-y",
"codex-octopus@1.0.1"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.codex-octopus]
command = "npx"
args = ["-y", "codex-octopus@1.0.1"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: codex, codex_reply.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json