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.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

claude_code

Send a task to an autonomous Claude Code agent. It reads/writes files, runs shell commands, searches codebases, and handles complex software engineering tasks end-to-end. Returns the result text plus a session_id for follow-ups via claude_code_reply.

ParameterTypeDescription
prompt *stringTask or question for Claude Code
additionalDirsarrayExtra directories the agent can access for this invocation
cwdstringWorking directory (overrides CLAUDE_CWD)
disallowedToolsarrayAdditional tools to block (unions with server-level blacklist)
effortstringThinking effort override
maxBudgetUsdnumberMax spend in USD
maxTurnsintegerMax conversation turns
modelstringModel override (e.g. "sonnet", "opus", "haiku")
permissionModestringPermission mode override (can only tighten, never loosen)
pluginsarrayAdditional plugin paths to load for this invocation (unions with server-level plugins)
run_idstringWorkflow run ID — groups related agent calls into one timeline. Auto-generated if omitted; returned in every response for propagation.
systemPromptstringAdditional system prompt (appended to server default)
toolsarrayRestrict available tools to this list (intersects with server-level restriction)

claude_code_reply

Continue a previous claude_code conversation by session ID. Use this for follow-up questions, iterative refinement, or multi-step workflows that build on prior context.

ParameterTypeDescription
prompt *stringFollow-up instruction or question
session_id *stringSession ID from a prior claude_code response
cwdstringWorking directory override
maxBudgetUsdnumberMax spend in USD
maxTurnsintegerMax conversation turns
modelstringModel override
run_idstringWorkflow run ID — pass the same run_id from the original call to keep entries grouped.

claude_code_timeline

Query the cross-agent workflow timeline. No args: list all runs. run_id: show one run's agent sequence. session_id: retrieve timeline entry and session metadata. Use claude_code_transcript for full transcripts.

ParameterTypeDescription
run_idstringShow all entries for this workflow run, ordered by time
session_idstringRetrieve timeline entry and session metadata for a specific session

claude_code_transcript

Retrieve the full conversation transcript for a session from Claude Code's storage. Returns chronological user/assistant messages. Use session_id from a prior query or timeline lookup.

ParameterTypeDescription
session_id *stringSession ID to retrieve transcript for
include_systembooleanInclude system messages (default: false)
limitintegerMaximum number of messages to return
offsetintegerSkip this many messages from the start

claude_code_report

Generate a self-contained HTML report of a workflow run. No args: list all runs. run_id: detailed report for that run with agent sequence, cost breakdown, and collapsible transcripts. Save the returned HTML to a file and open in a browser.

ParameterTypeDescription
include_transcriptsbooleanInclude full session transcripts in run reports (default: true, requires session persistence)
run_idstringGenerate detailed report for this run. Omit to list all runs.