io.github.xiaolai

codex-octopus

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

stdiocommunityinfra

Package Details

Transportstdio

Environment Variables

CODEX_API_KEY(str)
Secret

OpenAI API key (leave unset to inherit from parent process)

CODEX_TOOL_NAME(str)

Tool name prefix (default: codex)

CODEX_MODEL(str)

Model: gpt-5-codex, o3, codex-1, or full ID

CODEX_SANDBOX_MODE(str)

Sandbox: read-only, workspace-write, danger-full-access

CODEX_APPROVAL_POLICY(str)

Approval: never, on-failure, on-request, untrusted

CODEX_APPEND_INSTRUCTIONS(str)

Additional instructions appended to the default

CODEX_FACTORY_ONLY(str)

Set to true to expose only the factory wizard tool