claude octopus for Grok
io.github.xiaolai/claude-octopus
Spawn multiple specialized Claude Code agents as MCP servers, each independently configured.
client:Grok
transport:stdio
runtime:npm
Install claude octopus in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"claude-octopus": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"claude-octopus"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"CLAUDE_TOOL_NAME": "<CLAUDE_TOOL_NAME>",
"CLAUDE_MODEL": "<CLAUDE_MODEL>",
"CLAUDE_PERMISSION_MODE": "<CLAUDE_PERMISSION_MODE>",
"CLAUDE_ALLOWED_TOOLS": "<CLAUDE_ALLOWED_TOOLS>",
"CLAUDE_APPEND_PROMPT": "<CLAUDE_APPEND_PROMPT>",
"CLAUDE_FACTORY_ONLY": "<CLAUDE_FACTORY_ONLY>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs