npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@glxmart/conductor-mcp

v0.1.0

Published

MCP middleware for BOSS worker orchestration

Downloads

117

Readme

Conductor MCP

MCP middleware for BOSS worker orchestration

npm version License: MIT

Conductor simplifies BOSS's worker orchestration by providing a clean, unified API that handles all the complexity of spawning, configuring, and managing container-use workers.

Quick Start

Installation

npm install @glxmart/conductor-mcp

Or use with npx (recommended for MCP configuration):

{
  "mcpServers": {
    "conductor": {
      "type": "stdio",
      "command": "npx",
      "args": ["@glxmart/conductor-mcp", "stdio"]
    }
  }
}

See Installation Guide for complete setup instructions.

Basic Usage

Before Conductor (6+ manual steps):

// Load config, create environment, configure container,
// write files, execute task, track state...

With Conductor (1 simple call):

await conductor.spawn_worker({
  workerType: 'architect',
  taskPrompt: 'Create constitution with TDD, BDD, Documentation standards',
});

Complexity Reduction: 85%

Features

  • 8 Unified Tools - Simple API for all 15 worker types
  • Configuration-Driven - Loads worker configs automatically
  • Stateful - Tracks active workers and their status
  • Schema-Based - Type-safe manifest communication
  • Error Handling - Rich error categories with retry guidance
  • Production Ready - 19/19 tests passing

Architecture

BOSS (Claude Code)
  ↓ Simple API (8 tools)
Conductor MCP
  ↓ Orchestrates workers
  ↓ Manages manifests
  ↓ Handles configuration
Container-Use MCP
  ↓ Creates Docker environments
  ↓ Executes claude-code
Worker (Claude Code in container)
  ↓ Work adding/changing files inside /workdir
  ↓ Returns structured JSON
Manifest (validated, type-safe)

MCP Tools

Core Tools

| Tool | Purpose | | ------------------- | --------------------------------- | | spawn_worker | Spawn worker with full setup | | execute_task | Execute additional task in worker | | get_worker_status | Check worker status | | merge_worker | Merge worker branch | | terminate_worker | Terminate worker (discard) |

Management Tools

| Tool | Purpose | | --------------------- | --------------------- | | list_worker_types | Get available workers | | list_active_workers | List active workers | | conductor_health | Health check |

See API Reference for complete tool documentation.

Worker Types

Conductor supports 15 specialized worker types across 10 phases:

| Phase | Workers | Purpose | | ------- | ---------------------------------------------------- | --------------------------------------------- | | 1 | architect | Create constitution with governing principles | | 2 | clarifier, product-owner | Gather business requirements | | 3 | spec-writer | Create user stories in BDD format | | 4 | planner | Create technical plans | | 5 | reviewer | Validate against constitution | | 6 | planner | Break down into tasks | | 7 | developer-* | Implement features with TDD+BDD | | 8 | tester | Create comprehensive test suites | | 9 | code-reviewer | Review code quality | | 10 | consolidator | Merge all worker branches | | Ongoing | security-engineer, devops-engineer, technical-writer | Cross-phase support |

Documentation

Essential Reading

Reference

Development

Key Concepts

Schema-Based Manifest Communication

Conductor uses claude-code --output-format json --json-schema to get validated structured output from workers. This schema-based approach eliminates manual JSON writing by workers and ensures consistent, validated communication.

How It Works

  1. Worker executes with schema validation - Conductor spawns workers with --output-format json --json-schema flags
  2. Worker returns JSON matching schema - Workers output structured JSON at the end of their work
  3. Conductor validates output - Output is validated against the worker-specific schema generated from metadata.json
  4. Conductor updates manifest automatically - .boss/worker-manifest-${workerId}.json is created/updated
  5. No manual JSON writing by workers - Workers focus on their work and document it in JSON output

Worker Metadata (metadata.json)

Each worker has a metadata.json file that defines:

  • Inputs: Required and optional inputs for the worker
  • Outputs: Expected artifacts and deliverables (with schemas)
  • Constraints: Worker-specific requirements and rules
  • Collaborators: Other workers this worker interacts with
  • Quality Requirements: Validation rules and quality gates

Example metadata.json for Architect:

{
  "workerType": "architect",
  "phase": 1,
  "description": "Establishes technical constitution and governing principles",
  "primaryCommand": "/speckit.constitution",
  "outputs": {
    "required": [
      {
        "path": ".specify/memory/constitution.md",
        "type": "markdown",
        "description": "Project constitution with NON-NEGOTIABLE principles"
      }
    ]
  }
}

Validation Process

  1. Metadata Validation: When a worker config is loaded, metadata.json is validated against the master schema (schemas/worker-metadata.schema.json)
  2. Output Schema Generation: Worker-specific output schema is generated from metadata.json
  3. Output Validation: When worker completes, output is validated against the generated schema
  4. Manifest Creation: Validated output is used to create the worker manifest file

Benefits

  • Guaranteed valid format - Schema validation catches errors
  • No JSON syntax errors - Workers output JSON once, validated automatically
  • Consistent data structure - All workers follow same base schema with worker-specific extensions
  • Type-safe throughout system - TypeScript types generated from schemas
  • Self-documenting - metadata.json serves as worker specification
  • Programmatic discovery - BOSS can query worker capabilities via metadata.json

Worker Output Schema (Common Fields)

All workers return JSON with these base fields:

{
  "artifacts": [], // Files created/updated/deleted
  "decisions": [], // Key decisions made
  "issues": [], // Problems encountered
  "recommendations": [], // Next steps for BOSS
  "tasksCompleted": [], // Description of work done
  "workComplete": true, // Completion status
  "nextSteps": [] // Suggested workflow steps
}

Worker-specific extensions are added based on worker type (e.g., principlesEstablished for architect, testsCreated for tester).

See Conductor in Workers for complete design.

Per-Worker Manifests

Each worker gets its own manifest file for parallel execution:

.boss/
├── worker-manifest-env-abc123.json  # Backend worker
├── worker-manifest-env-def456.json  # Frontend worker
└── worker-manifest-env-ghi789.json  # Tester worker

Result: Clean git merges with no conflicts!

Requirements

  • Node.js >= 18.0.0
  • container-use CLI installed globally: npm install -g container-use
  • Worker configs in .boss/workers/ (created by boss bootstrap)

Integration with BOSS

Conductor is automatically configured when you run boss bootstrap.

The MCP configuration is added to:

  • ~/.config/claude-code/mcp-servers.json (Claude Code)
  • ~/.cursor/mcp-servers.json (Cursor)
  • .mcp.json (project-specific)
  • .claude/mcp.json (project-specific)

See BOSS Integration Guide for detailed usage.

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Run in development mode
npm run dev

See Contributing Guide for development guidelines.

Error Handling

Conductor provides rich error categories with retry guidance:

enum ErrorCategory {
  WORKER_CONFIG_NOT_FOUND, // Retryable: false
  WORKER_CONFIG_INVALID, // Retryable: false
  CONTAINER_CREATION_FAILED, // Retryable: true
  CONTAINER_CONFIG_FAILED, // Retryable: true
  WORKER_EXECUTION_FAILED, // Retryable: true
  WORKER_NOT_FOUND, // Retryable: false
  WORKER_ALREADY_MERGED, // Retryable: false
  MERGE_FAILED, // Retryable: true
  CONTAINER_USE_UNAVAILABLE, // Retryable: true
}

See Error Handling for complete documentation.

Latest Updates

v0.3.0 - Schema-Based Manifest Management (2026-01-02)

Revolutionary change: Conductor controls manifest via JSON schema instead of manual worker updates.

Benefits:

  • Guaranteed valid manifest format
  • No worker JSON errors
  • Consistent data structure
  • Single source of truth

See CHANGELOG.md for complete history.

License

MIT

Author

BOSS CLI Team


Quick Links: