Skip to main content
Glama
xiaolai

claude-octopus

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLAUDE_CWDNoWorking directoryprocess.cwd()
CLAUDE_BETASNoBeta features (comma-separated)
CLAUDE_MODELNoModel (`sonnet`, `opus`, `haiku`, or full ID)
CLAUDE_EFFORTNoThinking effort (`low`, `medium`, `high`, `max`)
CLAUDE_PLUGINSNoLocal plugin paths (comma-separated)
CLAUDE_SETTINGSNoPath to settings JSON or inline JSON
CLAUDE_MAX_TURNSNoMax conversation turns
CLAUDE_TOOL_NAMENoTool name prefix (`<name>` and `<name>_reply`)claude_code
ANTHROPIC_API_KEYNoAnthropic API key for this agentinherited from parent
CLAUDE_DESCRIPTIONNoTool description shown to the host AI
CLAUDE_MCP_SERVERSNoMCP servers for the inner agent (JSON)
CLAUDE_SERVER_NAMENoMCP server name in protocol handshakeclaude-octopus
CLAUDE_FACTORY_ONLYNoOnly expose the factory wizard toolfalse
CLAUDE_ALLOWED_TOOLSNoComma-separated tool restriction (available tools)all
CLAUDE_APPEND_PROMPTNoAppended to the default prompt
CLAUDE_SYSTEM_PROMPTNoReplaces the default Claude Code system prompt
CLAUDE_MAX_BUDGET_USDNoMax spend per invocation
CLAUDE_ADDITIONAL_DIRSNoExtra directories to grant access (comma-separated)
CLAUDE_PERMISSION_MODENoPermission mode (`default`, `acceptEdits`, `bypassPermissions`, `plan`)default
CLAUDE_PERSIST_SESSIONNoEnable session resume (`true`/`false`)true
CLAUDE_SETTING_SOURCESNoSettings to load: `user`, `project`, `local`
CLAUDE_CODE_OAUTH_TOKENNoClaude Code OAuth token for this agentinherited from parent
CLAUDE_DISALLOWED_TOOLSNoComma-separated tool blacklist

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
claude_codeA

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.

claude_code_replyA

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.

claude_code_timelineA

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.

claude_code_transcriptA

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.

claude_code_reportA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiaolai/claude-octopus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server