MCP Server
MCP
io.github.xiaolai/codex-octopus
Spawn multiple specialized Codex agents as MCP servers, each independently configured.
Install
npx -y [email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "codex-octopus",
"version": "1.0.1",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "OpenAI API key (leave unset to inherit from parent process)",
"format": "string",
"isSecret": true,
"name": "CODEX_API_KEY"
},
{
"description": "Tool name prefix (default: codex)",
"format": "string",
"name": "CODEX_TOOL_NAME"
},
{
"description": "Model: gpt-5-codex, o3, codex-1, or full ID",
"format": "string",
"name": "CODEX_MODEL"
},
{
"description": "Sandbox: read-only, workspace-write, danger-full-access",
"format": "string",
"name": "CODEX_SANDBOX_MODE"
},
{
"description": "Approval: never, on-failure, on-request, untrusted",
"format": "string",
"name": "CODEX_APPROVAL_POLICY"
},
{
"description": "Additional instructions appended to the default",
"format": "string",
"name": "CODEX_APPEND_INSTRUCTIONS"
},
{
"description": "Set to true to expose only the factory wizard tool",
"format": "string",
"name": "CODEX_FACTORY_ONLY"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment