MCP directory
CO

Codex Octopus

by github.com/xiaolai · v1.0.1 · updated Apr 2, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • CODEX_API_KEYsecret

    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

More from github.com/xiaolai

More MCP servers