Skip to content
Zed

codex octopus for Zed

io.github.xiaolai/codex-octopus

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

client:Zed transport:stdio runtime:npm

Install codex octopus in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "codex-octopus": {
      "command": "npx",
      "args": [
        "-y",
        "codex-octopus"
      ],
      "env": {
        "CODEX_API_KEY": "<CODEX_API_KEY>",
        "CODEX_TOOL_NAME": "<CODEX_TOOL_NAME>",
        "CODEX_MODEL": "<CODEX_MODEL>",
        "CODEX_SANDBOX_MODE": "<CODEX_SANDBOX_MODE>",
        "CODEX_APPROVAL_POLICY": "<CODEX_APPROVAL_POLICY>",
        "CODEX_APPEND_INSTRUCTIONS": "<CODEX_APPEND_INSTRUCTIONS>",
        "CODEX_FACTORY_ONLY": "<CODEX_FACTORY_ONLY>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

codex octopus in other clients