MCP server for orchestrating multiple Claude Code sessions
Server has 7 tools with explicit Zod schemas and descriptions. Naming follows verb_noun convention (spawn_session, list_sessions, get_session_output, kill_session, detect_terminals, spawn_in_terminal, chain_sessions). Descriptions are present and contextual (avg ~150 chars), explaining WHAT and WHEN. However, output schemas are not documented, no visible return type definitions for any tool. Parameter descriptions exist but lack format constraints (e.g., no regex patterns, min/max for arrays). Error handling is absent from visible code. Composition is sound: each tool has one responsibility, and tool outputs should chain (session_id returned by spawn_session feeds into get_session_output). Missing: documented output schemas, error recovery guidance, and input validation rules.
Run multiple Claude sessions in sequence, passing output as context. Use this to create pipelines where each step builds on the previous one. For example: analyze code → suggest improvements → implement changes. Each step receives the output of the previous step as context. The chain stops on first failure by default (configurable).
Detect available terminal emulators on the system. Use this to check which terminals are available for spawning sessions, see if running inside tmux, and get the recommended terminal.
Get the output from a Claude Code session. Use this to retrieve results from a completed session, check progress of a running session, or get error output from a failed session.
Terminate a running Claude Code session. Use this when a session is taking too long, you need to stop a runaway process, or the task is no longer needed.
List all Claude Code sessions managed by the orchestrator. Use this to check which sessions are running, see completed/failed sessions, and get session IDs for use with get_session_output.
No documented output schemas for any tool. LLMs cannot plan downstream calls or extract required fields (e.g., session_id from spawn_session response). Violates pattern:tool requirement that output structure be explicit.
No error handling or recovery guidance visible in tool implementations. Tools do not return actionable error messages (e.g., 'Session not found. Use list_sessions() to see available sessions'). Violates pattern:recovery-guide.
Parameter constraints lack specificity. 'allowed_tools' is an array of strings with no enum or validation. 'context_files' and 'context_snippets' accept objects but no min/max array length documented. Invites invalid LLM input.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
Spawn a Claude Code session in a visible terminal window or pane. Use this when you want the user to see and interact with the session, need to hand off a task requiring human oversight, or want to spawn a parallel session the user can monitor. Terminal options: auto, tmux, ghostty, kitty, wezterm, warp, iterm, terminal Tmux layouts: window (new window), hsplit (pane below), vsplit (pane right)
Spawn a new Claude Code session in the background. Use this when you need to delegate a task to run independently, a task would benefit from its own context window, or you want to parallelize work across multiple sessions. The session runs asynchronously. Use list_sessions to check status and get_session_output to retrieve results.
Destructive tool (kill_session) lacks confirmation or dry-run pattern. No indication that this operation is irreversible or that the agent should confirm before executing.
Tool descriptions do not explain dependencies or prerequisites. E.g., spawn_session does not state that 'allowed_tools' must match tools available in the Claude Code environment, or that 'context_files' paths must be readable.