MCP Server
io.github.xiaolai/claude-octopus MCP Server
io.github.xiaolai/claude-octopus
What is the io.github.xiaolai/claude-octopus MCP server?
Spawn multiple specialized Claude Code agents as MCP servers, each independently configured.
How to install io.github.xiaolai/claude-octopus
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
ANTHROPIC_API_KEYsecretAnthropic API key (leave unset to inherit from parent process)
CLAUDE_TOOL_NAMETool name prefix (default: claude_code)
CLAUDE_MODELModel: sonnet, opus, haiku, or full ID
CLAUDE_PERMISSION_MODEPermission mode: default, acceptEdits, bypassPermissions, plan
CLAUDE_ALLOWED_TOOLSComma-separated list of available tools (e.g. Read,Grep,Glob for read-only)
CLAUDE_APPEND_PROMPTAdditional system prompt appended to the default
CLAUDE_FACTORY_ONLYSet to true to expose only the factory wizard tool
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"claude-octopus": {
"command": "npx",
"args": [
"-y",
"claude-octopus"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"CLAUDE_TOOL_NAME": "<YOUR_CLAUDE_TOOL_NAME>",
"CLAUDE_MODEL": "<YOUR_CLAUDE_MODEL>",
"CLAUDE_PERMISSION_MODE": "<YOUR_CLAUDE_PERMISSION_MODE>",
"CLAUDE_ALLOWED_TOOLS": "<YOUR_CLAUDE_ALLOWED_TOOLS>",
"CLAUDE_APPEND_PROMPT": "<YOUR_CLAUDE_APPEND_PROMPT>",
"CLAUDE_FACTORY_ONLY": "<YOUR_CLAUDE_FACTORY_ONLY>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"claude-octopus": {
"command": "npx",
"args": [
"-y",
"claude-octopus"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"CLAUDE_TOOL_NAME": "<YOUR_CLAUDE_TOOL_NAME>",
"CLAUDE_MODEL": "<YOUR_CLAUDE_MODEL>",
"CLAUDE_PERMISSION_MODE": "<YOUR_CLAUDE_PERMISSION_MODE>",
"CLAUDE_ALLOWED_TOOLS": "<YOUR_CLAUDE_ALLOWED_TOOLS>",
"CLAUDE_APPEND_PROMPT": "<YOUR_CLAUDE_APPEND_PROMPT>",
"CLAUDE_FACTORY_ONLY": "<YOUR_CLAUDE_FACTORY_ONLY>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"claude-octopus": {
"command": "npx",
"args": [
"-y",
"claude-octopus"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"CLAUDE_TOOL_NAME": "<YOUR_CLAUDE_TOOL_NAME>",
"CLAUDE_MODEL": "<YOUR_CLAUDE_MODEL>",
"CLAUDE_PERMISSION_MODE": "<YOUR_CLAUDE_PERMISSION_MODE>",
"CLAUDE_ALLOWED_TOOLS": "<YOUR_CLAUDE_ALLOWED_TOOLS>",
"CLAUDE_APPEND_PROMPT": "<YOUR_CLAUDE_APPEND_PROMPT>",
"CLAUDE_FACTORY_ONLY": "<YOUR_CLAUDE_FACTORY_ONLY>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"claude-octopus": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"claude-octopus"
],
"env": {
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"CLAUDE_TOOL_NAME": "<YOUR_CLAUDE_TOOL_NAME>",
"CLAUDE_MODEL": "<YOUR_CLAUDE_MODEL>",
"CLAUDE_PERMISSION_MODE": "<YOUR_CLAUDE_PERMISSION_MODE>",
"CLAUDE_ALLOWED_TOOLS": "<YOUR_CLAUDE_ALLOWED_TOOLS>",
"CLAUDE_APPEND_PROMPT": "<YOUR_CLAUDE_APPEND_PROMPT>",
"CLAUDE_FACTORY_ONLY": "<YOUR_CLAUDE_FACTORY_ONLY>"
}
}
}
}Claude Code
claude mcp add claude-octopus --env ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY> --env CLAUDE_TOOL_NAME=<YOUR_CLAUDE_TOOL_NAME> --env CLAUDE_MODEL=<YOUR_CLAUDE_MODEL> --env CLAUDE_PERMISSION_MODE=<YOUR_CLAUDE_PERMISSION_MODE> --env CLAUDE_ALLOWED_TOOLS=<YOUR_CLAUDE_ALLOWED_TOOLS> --env CLAUDE_APPEND_PROMPT=<YOUR_CLAUDE_APPEND_PROMPT> --env CLAUDE_FACTORY_ONLY=<YOUR_CLAUDE_FACTORY_ONLY> -- npx -y claude-octopusRelated MCP servers
Spawn multiple specialized Codex agents as MCP servers, each independently configured.
View repository →