← Back to browse

codex-octopus

Indexed by io.github.xiaolai

About

Spawn multiple specialized Codex agents as MCP servers, each independently configured.

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsCODEX_API_KEY CODEX_TOOL_NAME CODEX_MODEL CODEX_SANDBOX_MODE CODEX_APPROVAL_POLICY CODEX_APPEND_INSTRUCTIONS CODEX_FACTORY_ONLY
Claude Code
claude mcp add --env CODEX_API_KEY= --env CODEX_TOOL_NAME= --env CODEX_MODEL= --env CODEX_SANDBOX_MODE= --env CODEX_APPROVAL_POLICY= --env CODEX_APPEND_INSTRUCTIONS= --env CODEX_FACTORY_ONLY= codex-octopus -- npx codex-octopus
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"codex-octopus","command":"npx","args":["codex-octopus"],"env":{"CODEX_API_KEY":"","CODEX_TOOL_NAME":"","CODEX_MODEL":"","CODEX_SANDBOX_MODE":"","CODEX_APPROVAL_POLICY":"","CODEX_APPEND_INSTRUCTIONS":"","CODEX_FACTORY_ONLY":""}}'
JSON
{
  "mcpServers": {
    "codex-octopus": {
      "command": "npx",
      "args": [
        "codex-octopus"
      ],
      "env": {
        "CODEX_API_KEY": "",
        "CODEX_TOOL_NAME": "",
        "CODEX_MODEL": "",
        "CODEX_SANDBOX_MODE": "",
        "CODEX_APPROVAL_POLICY": "",
        "CODEX_APPEND_INSTRUCTIONS": "",
        "CODEX_FACTORY_ONLY": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.