claude-octopus

v1.1.10
io.github.xiaolai/claude-octopus Checked 5 days ago Published 6 months ago

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

Values you need

VariableWhat it is
ANTHROPIC_API_KEYoptional secret Anthropic API key (leave unset to inherit from parent process)
CLAUDE_TOOL_NAMEoptional Tool name prefix (default: claude_code)
CLAUDE_MODELoptional Model: sonnet, opus, haiku, or full ID
CLAUDE_PERMISSION_MODEoptional Permission mode: default, acceptEdits, bypassPermissions, plan
CLAUDE_ALLOWED_TOOLSoptional Comma-separated list of available tools (e.g. Read,Grep,Glob for read-only)
CLAUDE_APPEND_PROMPToptional Additional system prompt appended to the default
CLAUDE_FACTORY_ONLYoptional Set to true to expose only the factory wizard tool

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add claude-octopus -- npx -y claude-octopus@1.1.10
Add to claude_desktop_config.json
{
  "mcpServers": {
    "claude-octopus": {
      "args": [
        "-y",
        "claude-octopus@1.1.10"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "claude-octopus": {
      "args": [
        "-y",
        "claude-octopus@1.1.10"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "claude-octopus": {
      "args": [
        "-y",
        "claude-octopus@1.1.10"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.claude-octopus]
command = "npx"
args = ["-y", "claude-octopus@1.1.10"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: claude_code, claude_code_reply, claude_code_timeline, claude_code_transcript, claude_code_report.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json