Expand description
MCP server for managing a pool of Claude CLI slots.
claude-pool manages N Claude CLI instances behind an MCP server interface.
A coordinator (typically an interactive Claude session) calls MCP tools to
submit work, fan out tasks, chain pipelines, and track budgets. The pool
handles slot lifecycle, session resumption, restarts, and shared context.
§Architecture
Coordinator (interactive Claude session)
+-- .mcp.json includes "claude-pool"
+-- claude-pool MCP server
+-- slot-0 (Claude instance)
+-- slot-1 (Claude instance)
+-- slot-NOne server. N slots. Nothing else.
Re-exports§
pub use chain::ChainIsolation;pub use chain::ChainOptions;pub use chain::ChainProgress;pub use chain::ChainResult;pub use chain::ChainStatus;pub use chain::ChainStep;pub use chain::StepAction;pub use chain::StepFailurePolicy;pub use chain::StepResult;pub use chain::execute_chain;pub use error::Error;pub use error::Result;pub use pool::DrainSummary;pub use pool::Pool;pub use pool::PoolBuilder;pub use pool::PoolStatus;pub use skill::RegisteredSkill;pub use skill::Skill;pub use skill::SkillArgument;pub use skill::SkillRegistry;pub use skill::SkillScope;pub use skill::SkillSource;pub use store::InMemoryStore;pub use store::PoolStore;pub use supervisor::SupervisorHandle;pub use supervisor::check_and_restart_slots;pub use workflow::Workflow;pub use workflow::WorkflowArgument;pub use workflow::WorkflowRegistry;pub use worktree::WorktreeManager;pub use types::*;
Modules§
- chain
- Chain execution — sequential pipelines of tasks.
- config
- Configuration resolution for slots and tasks.
- error
- Error types for claude-pool.
- pool
- Core pool engine for managing Claude CLI slots.
- skill
- Skill definitions — reusable prompt templates.
- store
- Pluggable storage backend for pool state.
- supervisor
- Background supervisor loop for slot health monitoring.
- types
- Core types for claude-pool.
- workflow
- Workflow templates — preset chains for common patterns.
- worktree
- Git worktree isolation for parallel slots.