Codex Octopus MCP Server
by xiaolaiio.github.xiaolai/codex-octopusv1.0.1
Spawn multiple specialized Codex agents as MCP servers, each independently configured.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install Codex Octopus MCP server
Install in Claude Code
claude mcp add codex-octopus -e CODEX_API_KEY='<codex-api-key>' -- npx -y codex-octopusInstall in Cursor
{
"mcpServers": {
"codex-octopus": {
"command": "npx",
"args": [
"-y",
"codex-octopus"
],
"env": {
"CODEX_API_KEY": "<codex-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"codex-octopus": {
"command": "npx",
"args": [
"-y",
"codex-octopus"
],
"env": {
"CODEX_API_KEY": "<codex-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"codex-octopus": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codex-octopus"
],
"env": {
"CODEX_API_KEY": "<codex-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"codex-octopus": {
"command": "npx",
"args": [
"-y",
"codex-octopus"
],
"env": {
"CODEX_API_KEY": "<codex-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CODEX_API_KEY | — | yes | OpenAI API key (leave unset to inherit from parent process) |
| CODEX_TOOL_NAME | — | — | Tool name prefix (default: codex) |
| CODEX_MODEL | — | — | Model: gpt-5-codex, o3, codex-1, or full ID |
| CODEX_SANDBOX_MODE | — | — | Sandbox: read-only, workspace-write, danger-full-access |
| CODEX_APPROVAL_POLICY | — | — | Approval: never, on-failure, on-request, untrusted |
| CODEX_APPEND_INSTRUCTIONS | — | — | Additional instructions appended to the default |
| CODEX_FACTORY_ONLY | — | — | Set to true to expose only the factory wizard tool |
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
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-04-02 · 6mo ago · official registry · v1.0.1
FAQ
›How do I install the Codex Octopus MCP server in Claude Code?
Run: claude mcp add codex-octopus -e CODEX_API_KEY='<codex-api-key>' -- npx -y codex-octopus. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Codex Octopus require an API key?
Yes. It expects CODEX_API_KEY, of which 1 is a secret.
›Can I use Codex Octopus as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Codex Octopus in the official MCP registry?
Yes, as io.github.xiaolai/codex-octopus.