claude-swarm
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DASHBOARD_PORT | No | Dashboard HTTP port | 3456 |
| ENABLE_DASHBOARD | No | Set to 'false' to disable dashboard | true |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| orchestrator_initA | Initialize a new long-running orchestration session. Call this first with a task description to set up the feature list, progress tracking, and environment. |
| orchestrator_statusA | Get the current status of the orchestration session. Call this after context compaction to restore state, or anytime to check progress. |
| start_workerB | Start a Claude Code worker in a tmux session to work on a specific feature. The worker will run autonomously. |
| start_parallel_workersB | Start multiple Claude Code workers simultaneously for independent features. Each worker runs in its own tmux session. |
| validate_workersA | Pre-flight validation before starting parallel workers. Checks feature readiness, dependency chains, and potential conflicts. |
| check_workerB | Check the output and status of a running worker. Use heartbeat=true for lightweight status without output content. |
| check_all_workersB | Check status of all active workers at once. Returns a consolidated summary with optional output snippets. |
| send_worker_messageA | Send a follow-up instruction or message to a running worker. The message will be typed into the worker's tmux session. |
| mark_completeA | Mark a feature as completed or failed. Call this after verifying the worker's output or running tests. When marking as failed, auto-retry is enabled by default (up to maxRetries attempts). |
| retry_featureA | Reset a failed feature to pending status so it can be retried. Use this to manually retry a feature after fixing issues or when auto-retry has been exhausted. |
| rollback_featureB | Roll back files changed by a feature worker to their pre-worker state using git. Each worker creates a snapshot branch before starting that can be used for rollback. |
| check_rollback_conflictsA | Check for potential conflicts before rolling back a feature. Compares files modified by the target feature against files modified by other features to detect overlapping changes that would be affected by rollback. |
| run_verificationB | Run a verification command (e.g., tests, linting, build) to check if a feature works correctly. Only allows safe commands like npm test, pytest, cargo test, etc. |
| add_featureB | Add a new feature to the current session. Use this when you discover additional work needed. |
| set_dependenciesB | Set dependencies for a feature. The feature cannot be started until all its dependencies are completed. |
| orchestrator_resetB | Reset the orchestration session. Kills all workers and clears state. Use with caution! |
| get_progress_logC | Get the full progress log for the current session. Useful for understanding what has happened. |
| get_session_statsB | Get statistics about the current orchestration session including success rate, average completion time, worker counts, and attempt statistics. |
| commit_progressA | Create a git commit with the current progress. Use after completing features to checkpoint work. |
| pause_sessionA | Pause the orchestration session. Gracefully kills all running workers and sets status to paused. Use when you need to stop work temporarily. |
| resume_sessionA | Resume a paused or crashed orchestration session. Handles crash recovery: detects dead workers, restarts from checkpoints, and resumes auto-orchestration. |
| get_feature_complexityB | Analyze the complexity of a feature and get a recommendation for whether to use competitive planning. |
| start_competitive_planningA | Start competitive planning for a complex feature. Spawns two workers in planning mode to create competing implementation plans. |
| evaluate_plansB | Evaluate competing plans for a feature and select the winner. The winning plan's approach will be used for implementation. |
| get_worker_confidenceA | Get detailed confidence analysis for a running worker. Shows tool activity patterns, self-reported confidence, and output analysis. |
| set_confidence_thresholdB | Configure the confidence threshold for alerts. When worker confidence drops below this threshold, alerts will be generated. |
| protocol_registerC | Register a new protocol for behavioral governance. Protocols define constraints and enforcement rules for worker behavior. |
| protocol_activateA | Activate a registered protocol to begin enforcing its constraints. Checks for conflicts with currently active protocols. |
| protocol_deactivateA | Deactivate an active protocol to stop enforcing its constraints. Checks for dependencies from other active protocols. |
| protocol_listB | List all registered protocols with their status and summary information. |
| protocol_statusB | Get detailed status of a specific protocol including its constraints, enforcement config, violations, and audit history. |
| enrich_featureC | Auto-enrich a feature with relevant documentation and code context. Uses intelligent analysis to find related files, detect patterns, and prepare context for workers. |
| set_feature_contextB | Manually set context for a feature. Allows adding documentation references, prepared context blocks, and protocol bindings. |
| get_feature_graphC | Get the feature dependency graph with context information. Shows relationships between features, their dependencies, and enriched context summaries. |
| route_featureC | Configure routing for a feature. Sets preferences for worker type, capabilities, parallelism, and isolation level. |
| export_protocolsB | Export protocols to a shareable bundle. Creates a portable bundle that can be imported by other MCP instances or shared with team members. |
| import_protocolsB | Import protocols from a bundle file or inline bundle. Supports conflict resolution strategies and dry-run mode. |
| discover_protocolsC | Discover peer MCP instances and their protocols. Enables cross-instance protocol sharing. |
| sync_protocolsC | Synchronize protocols with peer MCP instances. Supports push, pull, or bidirectional sync. |
| propose_protocolB | Submit a new protocol proposal for review. Validates against base constraints and calculates risk score. LLMs and users can submit proposals which must be approved before becoming active. |
| review_proposalsB | Review pending protocol proposals. Shows validation results, risk scores, and recommendations. |
| approve_protocolB | Approve a pending protocol proposal and register it in the protocol registry. |
| reject_protocolA | Reject a pending protocol proposal with a reason. |
| get_base_constraintsA | Get the immutable base constraints that all protocols must comply with. These define security boundaries that cannot be overridden. |
| validate_feature_protocolsA | Validate a feature against all active protocols before starting a worker. Returns whether the feature can proceed and any constraint violations. |
| get_violationsC | Get protocol violations with optional filtering. Shows violations recorded during enforcement. |
| resolve_violationC | Mark a protocol violation as resolved with a resolution note. |
| get_audit_logA | Get the protocol audit log. Shows all protocol operations including registrations, activations, violations, and resolutions. |
| run_reviewB | Manually trigger code and/or architecture reviews. Can be called at any time, but typically after features complete. |
| check_reviewsC | Check the status and output of running review workers. |
| get_review_resultsB | Get the aggregated review findings after reviews complete. |
| configure_reviewsC | Configure automatic post-completion review settings. |
| configure_verificationA | Configure pre-completion verification commands that workers must run before marking a feature as complete. Use this to enforce type checking, linting, or tests. |
| implement_review_suggestionsC | Convert review findings into new features that can be worked on. This allows the orchestrator to act on code/architecture review suggestions by creating actionable tasks. |
| setup_analyzeA | Analyze a repository to detect freshness (how much setup is needed) and identify missing configurations. Use this to understand what setup work is needed before running setup_init. |
| setup_initB | Initialize repository setup by creating features for missing configurations and starting workers to implement them. This runs as a swarm with workers for CLAUDE.md, GitHub Actions CI, Dependabot, Release Please, and issue templates. |
| setup_statusA | Check the progress of a repository setup operation. Shows which setup tasks are completed, in progress, or pending. |
| start_continuous_workerB | Start a Claude Code worker that processes multiple features sequentially in a loop. The worker picks up new tasks from a queue, reducing startup overhead. Inspired by the infinite-loop pattern from 'Building a C compiler with parallel Claudes'. |
| enqueue_featureA | Add a feature to a running continuous worker's task queue. The worker will pick it up after finishing its current task. |
| auto_orchestrateB | Automatically schedule and monitor workers based on priority, dependencies, and worker health. Runs hands-free until all features complete. |
| configure_plan_modeB | Configure worker plan mode. When enabled, workers analyze the codebase and produce a plan before implementing. Plans are auto-approved by the orchestrator. |
| configure_ralph_loopB | Configure Ralph Loop execution mode. When enabled, workers get fresh context each iteration with state loaded from filesystem. Supports hours/days-long autonomous sessions. |
| start_ralph_loopB | Start a worker using the Ralph Loop pattern. Each iteration gets a fresh Claude session with state loaded from filesystem (progress files, git diff). Eliminates context rot for long-running tasks. |
| shutdown_sessionA | Gracefully shut down the orchestration session. Creates a checkpoint, stops all workers (letting current iteration finish), and writes shutdown record. Use before closing laptop for resume_session recovery later. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 64 tools
Several tools appear to do the same thing: start_worker, start_parallel_workers, start_continuous_worker, start_ralph_loop and auto_orchestrate are all ways to spin up work, and pause_session, shutdown_session and orchestrator_reset all stop workers in subtly different ways. check_worker/check_all_workers/get_worker_confidence and enrich_feature/set_feature_context also overlap heavily, and the 20+ protocol tools (register/propose/approve/import/sync/activate...) blur governance boundaries. Descriptions help somewhat, but an agent must read carefully to avoid misselection.
Most names are snake_case verb_noun and readable, but conventions are mixed: subsystem prefixes (protocol_*, setup_*, orchestrator_*, get_*, configure_*) coexist with unprefixed verbs (pause_session, resume_session, add_feature), so related actions like pause_session and orchestrator_reset use different patterns. It is decipherable but not a predictable single pattern.
64 tools is far beyond a well-scoped surface, especially since many cluster into near-duplicate families (worker startup, session teardown, protocol governance, review lifecycle). The breadth comes from stacking multiple orchestration paradigms (parallel, continuous, Ralph loop, competitive planning) rather than distinct capabilities.
The lifecycle is broadly covered (init, scheduling, verification, review, protocols, checkpoint/shutdown), but notable gaps exist: no per-worker stop/kill or list_workers, no remove/update feature beyond add_feature and dependency/context setters, and no protocol edit or review-dismissal tool. Agents can usually work around these, but they will hit dead ends in places.