claude-swarm
Automates repository setup, CI/CD configuration, issue templates, and documentation on Bitbucket.
Automates repository setup, CI/CD configuration, issue templates, and documentation on Gitea.
Automates repository setup, CI/CD configuration, issue templates, and documentation on GitHub.
Automates repository setup, CI/CD configuration, issue templates, and documentation on GitLab.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-swarm Orchestrate a parallel swarm to implement user authentication with 3 workers."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Features
Worker Orchestration
Persistent State - Session state survives context compaction via MCP server
Parallel Workers - Run multiple Claude Code workers simultaneously via tmux
Git Worktree Isolation - Workers run in isolated git worktrees for safe parallel modification
Worker Plan Mode - Workers analyze codebases and produce plans before implementing (auto-approved)
Competitive Planning - Complex features get two competing implementation plans
Confidence Monitoring - Multi-signal scoring detects struggling workers
Enforced Verification - Test-as-supervisor pattern with configurable verification commands
Auto-retry - Failed features automatically retry with configurable limits
Feature Dependencies - Define execution order between features
File-Based Task Locking - Atomic mutual exclusion prevents workers from conflicting
Post-Completion Reviews - Automated code and architecture reviews with actionable findings
Long-Running Autonomy
Ralph Loop - Fresh Claude context per iteration eliminates context rot for long sessions
Days-Long Sessions - Supports hours/days of autonomous execution with checkpointing
Crash Recovery - Automatic session resumption after crashes or machine restarts
Failure Pattern Learning - Records what works/fails for future worker prompts
Protocol-Based Governance
Behavioral Protocols - Define constraints on what workers can/cannot do
Pre-spawn Validation - Verify protocols allow task before worker starts
Continuous Monitoring - Track constraint violations during execution
LLM-Generated Protocols - Workers can propose new protocols (validated against base constraints)
Cross-instance Sync - Share protocols across MCP instances
Monitoring & Dashboard
Real-time Web Dashboard - Live UI at
http://localhost:3456with Server-Sent EventsLive Terminal Streaming - Watch worker output with ANSI color support
Review Worker Visibility - Code and architecture review progress in dashboard
Violation Tracking - Audit log of all protocol violations
Git Checkpoints - Commit progress after each feature
Repository Setup
Auto-Configuration - Set up CI/CD, issue templates, and documentation in parallel
Platform Detection - GitHub, GitLab, Gitea, Bitbucket, Azure DevOps support
Project Analysis - Detects languages, frameworks, and adapts configuration
Merge Mode - Preserves existing configs by default, with optional force overwrite
Related MCP server: claude-swarm-mcp
How It Works
The orchestrator pattern separates concerns for reliable long-running sessions:
Orchestrator (Claude Code): Plans work, monitors progress, makes decisions
MCP Server: Maintains persistent state that survives context compaction
Workers: Isolated Claude Code sessions in git worktrees via tmux that implement individual features
Protocols: Behavioral constraints governing what workers can/cannot do
Ralph Loop: External bash loop that launches fresh Claude sessions per iteration, with state persisted to the filesystem (progress files, git history)
Worker Lifecycle
Workers follow a two-phase lifecycle when plan mode is enabled (complexity >= 30):
Plan Phase - Worker runs with read-only tools (Read, Glob, Grep, Write), analyzes the codebase, and produces a structured plan
Auto-Review - Orchestrator scores the plan on test strategy, risk assessment, file specificity, and step count
Implement Phase - Worker runs with full tools, following the approved plan step by step
Ralph Loop (Long-Running Autonomy)
For long-running features, the Ralph Loop replaces single long-lived sessions:
Each iteration launches a fresh Claude session (no context rot)
State persists via filesystem: progress.md, git history, .done files
Prompt re-reads current state each iteration (self-reloading context)
Configurable stopping conditions: completion marker, time limit, max iterations
Git diff injected into prompt so worker sees what changed
Session Resilience
Sessions survive crashes and machine restarts:
Checkpointing - State snapshots every ~15 minutes while workers are running
Heartbeat Detection - PID-based liveness detection identifies stale sessions
Crash Recovery -
resume_sessiondetects crashes, loads checkpoints, restarts dead workersGraceful Shutdown -
shutdown_sessioncreates checkpoint and stops workers cleanly
This separation enables:
Parallel execution: Multiple workers implement features simultaneously
State persistence: Session state survives context compaction via the MCP server
Failure recovery: Workers can retry, rollback, or be guided when stuck
Behavioral governance: Protocols enforce constraints on worker actions
Quick Start
Prerequisites
Node.js 18+
tmux (
brew install tmuxon macOS)Claude Code CLI
Installation
One-liner install (recommended):
curl -fsSL https://raw.githubusercontent.com/cj-vana/claude-swarm/main/install.sh | bashThis will clone the repo, build, register the MCP server, and install the /swarm skill.
git clone https://github.com/cj-vana/claude-swarm.git
cd claude-swarm
npm install
npm run build
# Add to Claude Code
claude mcp add claude-swarm --scope user -- node $(pwd)/dist/index.js
# Install the skill (optional but recommended)
mkdir -p ~/.claude/skills/swarm && cp skill/SKILL.md ~/.claude/skills/swarm/Basic Usage
Tell Claude to use the swarm:
Use /swarm to build a REST API with authentication, user management, and testsOr follow the workflow phases manually:
Phase 1: Setup
→ orchestrator_init - Initialize session with features
→ configure_verification - Set up test/build commands
→ set_dependencies - Define feature order
Phase 2: Pre-Work (per feature)
→ get_feature_complexity - Check if competitive planning needed
→ enrich_feature - Add relevant context
Phase 3: Execute
→ start_worker or start_parallel_workers
Phase 4: Monitor
→ sleep 180 - Wait before checking
→ check_worker (heartbeat: true) - Lightweight status
→ send_worker_message - Guide if stuck
Phase 5: Complete
→ run_verification - Run tests
→ mark_complete - Record success/failure
→ commit_progress - Git checkpoint
Phase 6: Review
→ check_reviews - Monitor automated reviews
→ get_review_results - See findingsThe /swarm Skill
The /swarm skill provides guided orchestration with a complete workflow:
Use /swarm to build a REST API with authentication, user management, and testsThe skill automates:
Phase 0: Repository readiness check (runs
setup_analyze)Phase 1: Session setup with feature decomposition
Phase 2: Pre-work preparation (complexity analysis, context enrichment)
Phase 3: Execution (manual or auto-orchestration)
Phase 4: Monitoring loop with confidence tracking
Phase 5: Completion verification and git checkpoints
Phase 6: Post-completion reviews
Installing the skill:
mkdir -p ~/.claude/skills/swarm && cp skill/SKILL.md ~/.claude/skills/swarm/See skill/SKILL.md for the complete workflow reference.
Protocol System
Protocols define behavioral constraints that govern worker actions, enabling safe autonomous operation with clear boundaries.
Constraint Types
Type | Description | Example |
| Allow/deny specific tools | Only allow Read, Glob, Grep |
| Control file system access | Block access to |
| Require specific output patterns | Must include test coverage report |
| High-level behavior rules | Require confirmation before destructive actions |
| Time-based constraints | Max 30 minutes per feature |
| Resource usage limits | Max 100 file operations |
| Control external effects | No network requests, no git push |
Example Protocol
{
"id": "safe-refactoring-v1",
"name": "Safe Refactoring Protocol",
"version": "1.0.0",
"priority": 100,
"constraints": [
{
"id": "no-secrets",
"type": "file_access",
"rule": {
"type": "file_access",
"deniedPaths": ["**/.env", "**/secrets.*", "**/credentials.json"]
},
"severity": "error",
"message": "Cannot access files that may contain secrets"
}
],
"enforcement": {
"mode": "strict",
"preExecution": true,
"postExecution": true,
"onViolation": "block"
}
}Protocol Workflow
1. protocol_register - Register a new protocol
2. protocol_activate - Activate for enforcement
3. start_worker - Workers are validated against active protocols
4. [worker runs with continuous monitoring]
5. get_violations - Review any constraint violationsLLM-Generated Protocols
Workers can propose new protocols validated against immutable base constraints:
1. get_base_constraints - View immutable security rules
2. propose_protocol - Worker submits proposal
3. review_proposals - See pending proposals with risk scores
4. approve_protocol / reject_protocol - Human review for high-riskBase Constraints (cannot be overridden):
Certain tools always denied (e.g., dangerous system commands)
Critical paths always protected (e.g.,
/etc, system files)Maximum privilege ceiling enforced
Competitive Planning
For complex features, spawn two planners with different approaches:
1. get_feature_complexity(featureId) # Analyze complexity (0-100)
2. start_competitive_planning(featureId) # Spawn Planner A & B
3. [wait for planners to complete]
4. evaluate_plans(featureId) # Compare and pick winner
5. start_worker(featureId) # Implement with winning planPlanner A: Incremental, safe approach
Planner B: Elegant, innovative approach
Threshold: Features scoring 60+ trigger competitive planning
Confidence Monitoring
Real-time confidence scoring detects struggling workers:
Signal | Weight | Measures |
Tool Activity | 35% | Read->Edit->Test cycles, stuck loops |
Self-Reported | 35% | Worker writes to |
Output Analysis | 30% | Error patterns, frustration language |
Levels: High (80-100), Medium (50-79), Low (25-49), Critical (0-24)
set_confidence_threshold(35) # Configure alert level
get_worker_confidence(featureId) # Get detailed breakdownAuto-Orchestration
For fully autonomous execution, use auto_orchestrate:
auto_orchestrate(projectDir, strategy: "adaptive", maxConcurrent: 5)This handles Phases 3-5 automatically:
Schedules workers based on dependencies
Monitors progress and handles failures
Runs verification commands
Marks features complete
Commits progress at checkpoints
Scheduling Strategies
Strategy | Behavior |
| Maximize parallel execution of independent features |
| Focus on unblocking dependent feature chains |
| System decides based on dependency graph (default) |
When to Use
Auto-orchestration: Large feature sets, hands-off execution
Manual orchestration: Fine-grained control, complex dependencies, debugging
Post-Completion Reviews
Automated code and architecture reviews run after all workers complete:
1. All features complete -> session status changes to "reviewing"
2. Code review worker analyzes: bugs, security, style, test coverage
3. Architecture review worker analyzes: coupling, patterns, scalability
4. Findings aggregated into progress log
5. Session completes with review summaryReview workers output structured JSON findings:
.claude/orchestrator/workers/code-review.findings.json.claude/orchestrator/workers/architecture-review.findings.json
Severity levels: clean, minor, moderate, major, critical
Acting on Review Findings
Convert review findings into actionable features:
# View available issues from reviews
implement_review_suggestions(projectDir)
# Create features from specific issues
implement_review_suggestions(projectDir, issueIndices: [0, 2, 5])
# Auto-select warnings and errors
implement_review_suggestions(projectDir, autoSelect: true, minSeverity: "warning")Configure or trigger manually:
configure_reviews(enabled: true, skipOnFailure: false)
run_review(reviewTypes: ["code", "architecture"])
get_review_results(format: "detailed")Repository Setup
Automatically configure repositories with development best practices:
# Analyze repository freshness and missing configs
setup_analyze(projectDir)
# Initialize setup with parallel workers
setup_init(projectDir)
# Check setup progress
setup_status(projectDir)Configuration Types
Type | Description | Files Created |
CLAUDE.md | Project guidance for Claude Code |
|
GitHub CI | Build, test, lint workflows |
|
Dependabot | Automated dependency updates |
|
Release Please | Automated version bumps and changelogs |
|
Issue Templates | Structured bug/feature reporting |
|
PR Template | Consistent pull request descriptions |
|
CONTRIBUTING.md | Contribution guidelines |
|
SECURITY.md | Security policy and vulnerability reporting |
|
Customization
# Skip specific config types
setup_init(projectDir, skipConfigs: ["dependabot", "release-please"])
# Force overwrite existing files
setup_init(projectDir, force: true)
# Override platform detection
setup_init(projectDir, platform: "gitlab")Feature Rollback
The orchestrator creates git snapshot branches before each worker starts, enabling safe rollback of failed features.
How Rollback Works
Snapshot Creation:
start_workercreatesswarm/{featureId}branch at current HEADWorker Execution: Worker makes changes to working directory
On Failure: Use
rollback_featureto restore pre-worker state
Rollback Tools
Tool | Description |
| Restore files changed by a worker |
| Check for conflicts with other workers |
Usage
# Rollback all files changed by feature
rollback_feature(projectDir, featureId: "feature-1")
# Rollback specific files only
rollback_feature(projectDir, featureId: "feature-1", files: ["src/component.ts"])Warning: When rolling back in parallel worker environments, other workers' changes to the same files will also be reverted.
Web Dashboard


A real-time web dashboard is available at http://localhost:3456:
Session Overview - Progress bar, feature counts, session statistics
Feature Cards - Status, dependencies, worker assignment
Live Terminal Output - Real-time streaming with ANSI color support
Review Worker Progress - Code and architecture review visibility
Dark Mode - Automatic theme detection
Dashboard API
The dashboard exposes a REST API for programmatic access:
Endpoint | Method | Description |
| GET | Session overview with elapsed time and progress summary |
| GET | Feature list with details (supports |
| GET | All worker statuses with summary counts |
| GET (SSE) | Stream worker terminal output in real-time |
| GET | Review worker statuses and findings summary |
| GET (SSE) | Stream review worker output |
| GET | Progress log entries (supports |
| GET | Session statistics (completion times, success rates) |
| GET (SSE) | Real-time updates for all session changes |
| GET | Health check endpoint |
Server-Sent Events (/api/events):
status- Session status changesfeature- Feature status updatesworker- Active worker count changesreviewWorker- Review worker status updateslog- New progress log entriesheartbeat- Keep-alive (every 15s)
Architecture

Claude Code orchestrates workers through the MCP Server. Workers run in isolated tmux sessions and share access to the project codebase. The dashboard provides real-time monitoring via SSE.
MCP Tools Reference
Core Orchestration (3 tools)
Tool | Description |
| Start session with task and features |
| Get current state (use after compaction) |
| Clear state and kill all workers |
Worker Management (9 tools)
Tool | Description |
| Launch worker for a feature |
| Launch multiple workers simultaneously |
| Launch worker with Ralph Loop (fresh context per iteration) |
| Pre-flight validation before parallel execution |
| Get worker output (supports heartbeat mode) |
| Check all active workers at once |
| Send instructions to running worker |
| Enable/configure worker plan-before-implement mode |
| Enable/configure Ralph Loop execution defaults |
Competitive Planning (3 tools)
Tool | Description |
| Analyze complexity score |
| Spawn 2 planners with different approaches |
| Compare plans and select winner |
Confidence Monitoring (2 tools)
Tool | Description |
| Get detailed confidence breakdown |
| Configure alert threshold |
Feature Management (6 tools)
Tool | Description |
| Mark feature done/failed (auto-retry) |
| Reset failed feature for retry |
| Run tests/build commands |
| Add discovered work |
| Define feature dependencies |
| Set pre-completion verification commands |
Pre-Completion Verification
Configure commands that workers must run before marking features complete:
configure_verification(projectDir, commands: ["npm test", "npx tsc --noEmit"])Workers will run these commands and fix any errors before completion. Allowed commands include:
npm test,npm run test,yarn test,pnpm testnpx tsc --noEmit,npx vitest,npx jestpytest,python -m pytestcargo test,cargo checkgo test,make test
Session & Progress (7 tools)
Tool | Description |
| View history (paginated) |
| Success rates and timing |
| Pause and stop all workers |
| Resume paused session (supports crash recovery) |
| Graceful shutdown with checkpoint |
| Create git checkpoint |
| Hands-free orchestration until completion |
Feature Rollback (2 tools)
Tool | Description |
| Restore files changed by a worker |
| Check for conflicts with other workers |
Post-Completion Reviews (5 tools)
Tool | Description |
| Manually trigger code/architecture reviews |
| Monitor review worker status |
| Get aggregated findings (summary/detailed/json) |
| Set auto-review preferences |
| Convert review findings into features |
Repository Setup (3 tools)
Tool | Description |
| Analyze repo freshness and missing configs |
| Initialize repo configuration with parallel workers |
| Check setup progress |
Protocol Management (5 tools)
Tool | Description |
| Register a new protocol |
| Activate protocol for enforcement |
| Deactivate protocol |
| List all registered protocols |
| Get protocol details and violations |
Protocol Enforcement (4 tools)
Tool | Description |
| Check if feature can run under active protocols |
| Get recorded violations (paginated) |
| Mark violation as resolved |
| Get protocol audit history |
LLM Protocol Generation (5 tools)
Tool | Description |
| View immutable base constraints |
| Submit a protocol proposal |
| List pending proposals with risk scores |
| Approve a protocol proposal |
| Reject a protocol proposal |
Protocol Networking (4 tools)
Tool | Description |
| Export protocols to shareable bundle |
| Import protocols from bundle |
| Sync with peer instances |
| Discover peer MCP instances |
Context Management (4 tools)
Tool | Description |
| Auto-enrich feature with relevant docs and code |
| Manually set feature context |
| View feature dependency graph with context |
| Configure worker routing preferences |
Files Created
your-project/
├── .claude/orchestrator/
│ ├── state.json # Session state
│ ├── feature_list.json # Feature status
│ ├── protocols/
│ │ ├── registry.json # Protocol definitions
│ │ ├── active.json # Active protocols
│ │ ├── violations.json # Violation records
│ │ ├── audit.json # Audit log
│ │ └── proposals/ # Pending proposals
│ ├── sync/ # Cross-instance sync
│ ├── checkpoints/ # Session checkpoints for crash recovery
│ │ └── *.json # Timestamped state snapshots
│ ├── heartbeat.json # Orchestrator liveness detection
│ ├── learnings.json # Failure pattern learning
│ ├── locks/ # File-based mutual exclusion
│ │ └── *.lock # Per-file lock files
│ ├── worktrees/ # Git worktree directories
│ └── workers/
│ ├── *.prompt # Worker prompts
│ ├── *.log # Worker output logs
│ ├── *.done # Completion markers
│ ├── *.status # Worker status
│ ├── *.plan.json # Competitive plans
│ ├── *.confidence # Self-reported confidence
│ ├── *.worker-plan.json # Worker plan-phase output
│ ├── *.plan-done # Plan phase completion markers
│ ├── *.progress.md # Ralph Loop progress files
│ ├── code-review.findings.json # Code review results
│ └── architecture-review.findings.json # Architecture review results
├── claude-progress.txt # Human-readable log
└── init.sh # Environment setupConfiguration
Variable | Default | Description |
|
| Dashboard HTTP port |
|
| Set to |
Security
Input Validation
Path traversal protection - All file paths validated against project directory
Cryptographically secure IDs - Uses
crypto.randomUUID()Symlink escape prevention - Real paths validated before file operations
Input validation - All inputs validated with Zod schemas
Regex Safety (ReDoS Protection)
Pattern validation -
isDangerousRegexPattern()detects catastrophic backtrackingSafe regex testing -
safeRegexTest()falls back to literal matching for dangerous patternsGlob-to-regex conversion - Proper metacharacter escaping prevents injection
Memory Safety
Bounded collections - Operation counts, alerts, and observed patterns have maximum limits
LRU eviction - Least-recently-used entries removed when limits reached (max 50 cached managers)
Timestamp truncation - Historical data pruned to prevent unbounded growth
Network Safety
Localhost-only CORS - Dashboard only accepts requests from localhost origins
No external network access - Workers operate in isolated tmux sessions
Execution Safety
Fail-closed enforcement - Unknown constraint types block by default
Command allowlist - Only safe verification commands allowed
No shell injection - Uses
execFilewith arguments, prompts via filesCircuit breaker pattern - Monitor auto-stops after repeated failures
Review worker isolation - Read-only tools (no Bash access)
Protocol Security
Base constraints - Immutable security rules cannot be overridden
Proposal validation - LLM-generated protocols checked against security boundaries
Token-based matching - Tool prohibition uses exact token matching, not substring
Inspiration
Troubleshooting
"No active session"
Run orchestrator_status to check state, or orchestrator_init to start fresh.
Worker seems stuck
check_worker(featureId)to see current outputget_worker_confidence(featureId)to check confidence scoresend_worker_message(featureId, "guidance")to provide directionIf truly stuck,
mark_complete(featureId, success: false)triggers auto-retry
Lost context after compaction
Call orchestrator_status(projectDir) - the MCP server maintains all state externally.
Feature has unmet dependencies
Check dependencies with
orchestrator_statusComplete dependency features first
Or use
set_dependenciesto modify the chain
Protocol violations blocking work
get_violations()to see what was violatedresolve_violation(violationId, resolution)if false positiveAdjust protocol constraints if too restrictive
Debugging tmux sessions
# List all worker sessions
tmux list-sessions | grep cc-worker
# Attach to a worker session
tmux attach -t cc-worker-feature-1-abc123
# Capture recent output
tmux capture-pane -t <session-name> -p -S -100Session crashed, how to recover
Use resume_session(projectDir) - it automatically detects crashes via stale heartbeat, loads the latest checkpoint, and restarts dead workers. Set restartDeadWorkers: true (default) to auto-restart Ralph Loop workers that were running.
Worker keeps failing verification
Check the Ralph Loop progress file (.claude/orchestrator/workers/{featureId}.progress.md) for error patterns across iterations. The progress file records issues encountered in each iteration, helping identify systematic problems.
Plan mode is too slow
Lower the complexity threshold (default: 30) via configure_plan_mode(projectDir, { complexityThreshold: 50 }) so only higher-complexity features trigger planning. Or disable per-feature by setting planMode: false on the feature.
Monitor stops unexpectedly
The monitor auto-stops after 5 consecutive errors (circuit breaker). Check MCP server logs and restart if needed.
Limitations
Requires tmux (WSL on Windows)
Workers use your Claude Code subscription
Protocol enforcement is observational (monitors but doesn't intercept tool calls)
Complex feature detection is heuristic-based
Contributing
Contributions welcome! See CONTRIBUTING.md for guidelines.
License
MIT
Available Tools
64 toolsadd_featureB
Add a new feature to the current session. Use this when you discover additional work needed.
Inputs: projectDir (required), description (required), insertAfter.
approve_protocolB
Approve a pending protocol proposal and register it in the protocol registry.
Inputs: reason (required), projectDir (required), proposalId (required), activate, +2 more.
auto_orchestrateB
Automatically schedule and monitor workers based on priority, dependencies, and worker health. Runs hands-free until all features complete.
Inputs: projectDir (required), strategy, maxConcurrent, checkIntervalSeconds.
check_all_workersB
Check status of all active workers at once. Returns a consolidated summary with optional output snippets.
Inputs: projectDir (required), format, heartbeat, outputLines, +1 more.
check_reviewsC
Check the status and output of running review workers.
Inputs: projectDir (required), outputLines, includeOutput.
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.
Inputs: featureId (required), projectDir (required).
check_workerB
Check the output and status of a running worker. Use heartbeat=true for lightweight status without output content.
Inputs: featureId (required), projectDir (required), lines, heartbeat, +1 more.
commit_progressA
Create a git commit with the current progress. Use after completing features to checkpoint work.
Inputs: message (required), projectDir (required).
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.
Inputs: projectDir (required), enabled, maxSteps, requireFileList, +4 more.
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.
Inputs: projectDir (required), enabled, maxIterations, stopOnComplete, +2 more.
configure_reviewsC
Configure automatic post-completion review settings.
Inputs: projectDir (required), enabled, autoTrigger, skipOnFailure, +2 more.
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.
Inputs: projectDir (required), clear, commands, failOnError.
discover_protocolsC
Discover peer MCP instances and their protocols. Enables cross-instance protocol sharing.
Inputs: projectDir (required), startSync, refreshPeers.
enqueue_featureA
Add a feature to a running continuous worker's task queue. The worker will pick it up after finishing its current task.
Inputs: workerId (required), featureId (required), projectDir (required).
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.
Inputs: featureId (required), projectDir (required), maxDocLength, maxCodeLength, +3 more.
evaluate_plansB
Evaluate competing plans for a feature and select the winner. The winning plan's approach will be used for implementation.
Inputs: featureId (required), projectDir (required), manualSelection, selectionReason.
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.
Inputs: projectDir (required), name, filterTags, outputPath, +5 more.
get_audit_logA
Get the protocol audit log. Shows all protocol operations including registrations, activations, violations, and resolutions.
Inputs: projectDir (required), limit, action, format, +2 more.
get_base_constraintsA
Get the immutable base constraints that all protocols must comply with. These define security boundaries that cannot be overridden.
Inputs: projectDir (required), format.
get_feature_complexityB
Analyze the complexity of a feature and get a recommendation for whether to use competitive planning.
Inputs: featureId (required), projectDir (required), threshold.
get_feature_graphC
Get the feature dependency graph with context information. Shows relationships between features, their dependencies, and enriched context summaries.
Inputs: projectDir (required), format, includeContext, includeProtocols.
get_progress_logC
Get the full progress log for the current session. Useful for understanding what has happened.
Inputs: projectDir (required), limit, offset.
get_review_resultsB
Get the aggregated review findings after reviews complete.
Inputs: projectDir (required), format.
get_session_statsB
Get statistics about the current orchestration session including success rate, average completion time, worker counts, and attempt statistics.
Inputs: projectDir (required), format.
get_violationsC
Get protocol violations with optional filtering. Shows violations recorded during enforcement.
Inputs: projectDir (required), limit, format, offset, +5 more.
get_worker_confidenceA
Get detailed confidence analysis for a running worker. Shows tool activity patterns, self-reported confidence, and output analysis.
Inputs: featureId (required), projectDir (required).
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.
Inputs: projectDir (required), autoSelect, reviewType, minSeverity, +1 more.
import_protocolsB
Import protocols from a bundle file or inline bundle. Supports conflict resolution strategies and dry-run mode.
Inputs: projectDir (required), bundle, dryRun, bundlePath, +4 more.
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).
Inputs: success (required), featureId (required), projectDir (required), notes, +1 more.
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.
Inputs: projectDir (required), taskDescription (required), existingFeatures.
orchestrator_resetB
Reset the orchestration session. Kills all workers and clears state. Use with caution!
Inputs: confirm (required), projectDir (required).
orchestrator_statusA
Get the current status of the orchestration session. Call this after context compaction to restore state, or anytime to check progress.
Inputs: projectDir (required), format.
pause_sessionA
Pause the orchestration session. Gracefully kills all running workers and sets status to paused. Use when you need to stop work temporarily.
Inputs: projectDir (required).
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.
Inputs: protocol (required), projectDir (required), tags, source, +3 more.
protocol_activateA
Activate a registered protocol to begin enforcing its constraints. Checks for conflicts with currently active protocols.
Inputs: projectDir (required), protocolId (required).
protocol_deactivateA
Deactivate an active protocol to stop enforcing its constraints. Checks for dependencies from other active protocols.
Inputs: projectDir (required), protocolId (required).
protocol_listB
List all registered protocols with their status and summary information.
Inputs: projectDir (required), format, activeOnly.
protocol_registerC
Register a new protocol for behavioral governance. Protocols define constraints and enforcement rules for worker behavior.
Inputs: protocol (required), projectDir (required), activate.
protocol_statusB
Get detailed status of a specific protocol including its constraints, enforcement config, violations, and audit history.
Inputs: projectDir (required), protocolId (required), auditLimit, includeAudit, +2 more.
reject_protocolA
Reject a pending protocol proposal with a reason.
Inputs: reason (required), projectDir (required), proposalId (required), reviewedBy.
resolve_violationC
Mark a protocol violation as resolved with a resolution note.
Inputs: projectDir (required), resolution (required), violationId (required).
resume_sessionA
Resume a paused or crashed orchestration session. Handles crash recovery: detects dead workers, restarts from checkpoints, and resumes auto-orchestration.
Inputs: projectDir (required), fromCheckpoint, restartDeadWorkers.
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.
Inputs: featureId (required), projectDir (required), resetAttempts.
review_proposalsB
Review pending protocol proposals. Shows validation results, risk scores, and recommendations.
Inputs: projectDir (required), limit, source, status, +2 more.
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.
Inputs: featureId (required), projectDir (required), files.
route_featureC
Configure routing for a feature. Sets preferences for worker type, capabilities, parallelism, and isolation level.
Inputs: featureId (required), projectDir (required), affinityGroup, isolationLevel, +4 more.
run_reviewB
Manually trigger code and/or architecture reviews. Can be called at any time, but typically after features complete.
Inputs: projectDir (required), forceRerun, reviewTypes.
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.
Inputs: command (required), projectDir (required), featureId.
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.
Inputs: message (required), featureId (required), projectDir (required).
set_confidence_thresholdB
Configure the confidence threshold for alerts. When worker confidence drops below this threshold, alerts will be generated.
Inputs: threshold (required), projectDir (required), autoAlert.
set_dependenciesB
Set dependencies for a feature. The feature cannot be started until all its dependencies are completed.
Inputs: dependsOn (required), featureId (required), projectDir (required).
set_feature_contextB
Manually set context for a feature. Allows adding documentation references, prepared context blocks, and protocol bindings.
Inputs: featureId (required), projectDir (required), merge, prepared, +2 more.
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.
Inputs: projectDir (required).
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.
Inputs: projectDir (required), force, platform, skipConfigs.
setup_statusA
Check the progress of a repository setup operation. Shows which setup tasks are completed, in progress, or pending.
Inputs: projectDir (required).
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.
Inputs: projectDir (required), checkpoint, waitSeconds.
start_competitive_planningA
Start competitive planning for a complex feature. Spawns two workers in planning mode to create competing implementation plans.
Inputs: featureId (required), projectDir (required), customPromptA, customPromptB, +1 more.
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'.
Inputs: featureId (required), projectDir (required), maxTasks, workerId.
start_parallel_workersB
Start multiple Claude Code workers simultaneously for independent features. Each worker runs in its own tmux session.
Inputs: featureIds (required), projectDir (required), customPrompts.
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.
Inputs: featureId (required), projectDir (required), maxIterations, maxDurationMinutes.
start_workerB
Start a Claude Code worker in a tmux session to work on a specific feature. The worker will run autonomously.
Inputs: featureId (required), projectDir (required), customPrompt.
sync_protocolsC
Synchronize protocols with peer MCP instances. Supports push, pull, or bidirectional sync.
Inputs: projectDir (required), direction, protocolIds, targetInstance, +2 more.
validate_feature_protocolsA
Validate a feature against all active protocols before starting a worker. Returns whether the feature can proceed and any constraint violations.
Inputs: featureId (required), projectDir (required), customPrompt.
validate_workersA
Pre-flight validation before starting parallel workers. Checks feature readiness, dependency chains, and potential conflicts.
Inputs: featureIds (required), projectDir (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
AI work orchestration for plans, tasks, teams, and coding-agent dispatch.
Your AI mind directs coding agents; work reviewed against your memories: Claude Code, Codex, Cursor
People and AI agents build software together in persistent cloud sessions for Claude Code.
Coding agents from Claude Code, Cursor and Codex claim jobs and lock files on one shared board.
Related MCP Servers
- AlicenseAqualityDmaintenanceOrchestrates multiple Claude Code agents across iTerm2 sessions with process-level isolation, enabling collaborative AI development workflows on multiple codebases with task-based inter-agent communication and persistent state management.71MIT
- AlicenseNot gradedqualityDmaintenanceOrchestrates multiple Claude Code instances into a collaborative swarm for real-time task delegation, message exchange, and code snippet sharing. It features peer discovery, status tracking, and a centralized web dashboard to monitor coordinated activity across sessions.MIT
- FlicenseNot gradedqualityCmaintenanceTransforms Claude Code into an autonomous operator that decomposes goals, spawns worker sessions, manages persistent memory, enforces guardrails, and learns from human review.-
- FlicenseNot gradedqualityDmaintenanceCoordinates multiple Claude Code agents to work collaboratively on projects with role-based task management, shared state, and automated code review.2-