
Codex Octopus
@xiaolai
About Codex Octopus
One brain, many arms. Spawn multiple specialized Codex agents as MCP servers via the OpenAI Codex SDK. Each instance gets its own model, sandbox, effort, and personality.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"codex": {
"command": "npx",
"args": [
"codex-octopus"
],
"env": {
"CODEX_SANDBOX_MODE": "workspace-write",
"CODEX_APPROVAL_POLICY": "never"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Codex Octopus?
Codex Octopus is an MCP server that wraps the OpenAI Codex SDK, enabling you to run multiple specialized Codex agents from any MCP client. Each agent can have its own model, sandbox, effort, and personality.
How to use Codex Octopus?
Configure it in your MCP client with the command npx codex-octopus and set environment variables like CODEX_SANDBOX_MODE and CODEX_APPROVAL_POLICY. You can also use the factory wizard to generate .mcp.json configs interactively.
Key features of Codex Octopus
- Run several agents with different configurations simultaneously
- Override model, sandbox, effort, approval policy, and cwd per invocation
- Follow up on previous conversations via the
_replytool - Generate
.mcp.jsonconfigs interactively with the factory wizard - Sandbox and approval modes only tighten per invocation for security
Use cases of Codex Octopus
- A strict code reviewer operating in a read-only sandbox
- A test writer with workspace‑write access to generate tests
- A cheap quick helper running on minimal effort
- A deep thinker using maximum effort for complex tasks
FAQ from Codex Octopus
What does Codex Octopus do that a single Codex instance cannot?
It lets you run multiple specialized Codex agents simultaneously, each with its own model, sandbox, effort, and personality, all from any MCP client.
How do I configure agents with different behaviors?
You can set environment variables like CODEX_SANDBOX_MODE and CODEX_APPROVAL_POLICY, or use per-invocation overrides for model, sandbox, effort, and more.
Can I have ongoing conversations with an agent?
Yes, the _reply tool provides session continuity, allowing you to follow up on previous interactions.
Is there a way to generate the configuration for an agent interactively?
Yes, the factory wizard generates .mcp.json configs interactively, guiding you through the setup process.
More Other MCP servers
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
ICSS
chokcoco不止于 CSS
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Comments