Spawn multiple specialized Claude Code agents as MCP servers, each independently configured.
npx -y claude-octopus{
"ANTHROPIC_API_KEY": "YOUR_SECRET_VALUE",
"CLAUDE_TOOL_NAME": "YOUR_VALUE_HERE",
"CLAUDE_MODEL": "YOUR_VALUE_HERE",
"CLAUDE_PERMISSION_MODE": "YOUR_VALUE_HERE",
"CLAUDE_ALLOWED_TOOLS": "YOUR_VALUE_HERE",
"CLAUDE_APPEND_PROMPT": "YOUR_VALUE_HERE",
"CLAUDE_FACTORY_ONLY": "YOUR_VALUE_HERE"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-xiaolai-claude-octopus": {
"command": "npx",
"args": [
"-y",
"claude-octopus"
],
"env": {
"ANTHROPIC_API_KEY": "YOUR_SECRET_VALUE",
"CLAUDE_TOOL_NAME": "YOUR_VALUE_HERE",
"CLAUDE_MODEL": "YOUR_VALUE_HERE",
"CLAUDE_PERMISSION_MODE": "YOUR_VALUE_HERE",
"CLAUDE_ALLOWED_TOOLS": "YOUR_VALUE_HERE",
"CLAUDE_APPEND_PROMPT": "YOUR_VALUE_HERE",
"CLAUDE_FACTORY_ONLY": "YOUR_VALUE_HERE"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
claude-octopus is an MCP server for Spawn multiple specialized Claude Code agents as MCP servers, each independently configured.. It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y claude-octopus; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y claude-octopus. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y claude-octopus. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y claude-octopus. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y claude-octopus. Add required environment variables before starting Cursor or VS Code.
claude-octopus uses STDIO transport. Use the package or command config in Install.
claude-octopus inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
claude-octopus does not advertise a verified auth requirement. If discovery fails, it may still need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
claude-octopusstdio | npm | 1.1.10 | Env: ANTHROPIC_API_KEY secret Env: CLAUDE_TOOL_NAME Env: CLAUDE_MODEL Env: CLAUDE_PERMISSION_MODE Env: CLAUDE_ALLOWED_TOOLS Env: CLAUDE_APPEND_PROMPT Env: CLAUDE_FACTORY_ONLY |