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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@task-orchestrator/mcp

v1.1.0

Published

MCP server for task decomposition, orchestration, and semantic task management

Readme

Task Orchestrator MCP Server

This is a Model Context Protocol (MCP) server that provides a dynamic task planning and orchestration tool. It allows AI agents (like Claude) to create execution plans, break them down into subtasks, track progress, and store notes/results for each step—essentially giving the AI a "working memory" for complex workflows. This MCP is the missing frontal lobe for your LLM agent. Turn stateless chat responses into stateful, goal-oriented agents that can plan, execute, and remember. 🧠 ⚡️

Features

  • Hierarchical Planning: Create a root goal and nest subtasks infinitely deep.
  • State Management: Tracks status (pending, in_progress, completed, failed, skipped) for every task.
  • Visual Feedback: Returns a visual tree representation of the plan after every modification.
  • Context Storage: Store notes and results against specific task IDs.
  • Semantic Task Evaluation: Evaluate task completion quality using natural language understanding.
  • Drift Detection: Monitor alignment with plan goals and detect semantic drift.
  • Semantic Memory: Store and retrieve facts using semantic similarity.
  • Dependency Inference: Automatically infer task dependencies from descriptions.
  • Progress Analysis: Get insights, risks, and recommendations about plan progress.
  • Checkpoint Management: Save and restore plan state at any point.
  • Constraint Validation: Check outputs against natural language constraints.

Installation

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm or pnpm

Build

  1. Clone the repository or navigate to the directory.
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build
  4. Test the project:
{
   "command": "node",
   "args": [
     "/absolute/path/to/task-orchestrator-server/build/index.js"
   ]
 }

Note: Replace /absolute/path/to/... with the actual full path to the build/index.js file on your machine.

Usage

To use the production server with an MCP client (like Claude Desktop), add the following to your configuration file (e.g., ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

"mcpServers": {
  "task-orchestrator": {
     "command": "npx",
     "args": [
       "-y",
       "@task-orchestrator/mcp@latest"
     ]
  }
}

Tool Usage

The server exposes 8 powerful tools designed to leverage LLM capabilities:

1. Task Orchestrator (task_orchestrator)

Core planning and task management tool.

| Action | Required Params | Optional Params | Description | |--------|----------------|-----------------|-------------| | create_plan | plan_goal | - | Initializes a new plan with a root goal. Wipes previous state. | | add_task | task_description | parent_task_id, notes | Adds a subtask. If parent_task_id is omitted, adds to root. | | update_task | task_id | status, task_description, notes, result | Updates a task's state or content. | | get_plan | - | - | Returns the current plan structure without changes. |

2. Task Evaluator (evaluate_task)

Evaluate task completion quality using semantic understanding.

{
  "task_description": "Create a secure login endpoint",
  "actual_output": "Created POST /login with JWT authentication",
  "context": "This is for a banking application"
}

Returns: { assessment, passed, reasoning, suggestions }

3. Task Adherence Monitor (check_alignment)

Detect semantic drift from plan goals.

{
  "plan_goal": "Build a REST API for user management",
  "current_action": "I'm creating GraphQL schema",
  "recent_context": "User asked about GraphQL"
}

Returns: { aligned, confidence, reasoning, suggestion }

4. Context Manager (remember, recall)

Semantic memory for storing and retrieving facts.

Remember:

{
  "what": "We decided to use PostgreSQL",
  "details": "Team prefers it for JSON support"
}

Recall:

{
  "query": "What database are we using?",
  "limit": 3
}

Returns: { results: [{ what, details, relevance }] }

5. Dependency Resolver (infer_dependencies, get_next_tasks)

Automatically infer task dependencies and identify ready tasks.

Infer Dependencies:

{
  "tasks": [
    { "id": "1", "description": "Set up database schema" },
    { "id": "2", "description": "Create API endpoints that query the database" }
  ]
}

Get Next Tasks:

{
  "completed_tasks": ["1"]
}

Returns: { ready: string[], blocked: string[] }

6. Progress Analyzer (analyze_progress)

Get semantic insights about plan progress.

{
  "plan_goal": "Build a web application"
}

Returns: { summary, insights, risks, recommendations }

7. Checkpoint Manager (create_checkpoint, list_checkpoints, restore_checkpoint)

Save and restore plan state.

Create:

{
  "name": "Before refactoring",
  "description": "All tests passing"
}

Restore:

{
  "checkpoint_id": "cp_1"
}

or restore by semantic match:

{
  "description": "the checkpoint before refactoring"
}

8. Constraint Checker (check_constraints)

Validate outputs against natural language constraints.

{
  "constraints": "Must use TypeScript, no external APIs, include error handling",
  "output": "Created login.ts with try-catch blocks",
  "context": "Production API"
}

Returns: { passed, violations, reasoning }

Example Workflow

  1. Create a Plan

    {
      "action": "create_plan",
      "plan_goal": "Refactor the database schema"
    }
  2. Add Subtasks

    {
      "action": "add_task",
      "parent_task_id": "1",
      "task_description": "Analyze current schema relations"
    }
  3. Update Progress

    {
      "action": "update_task",
      "task_id": "2",
      "status": "completed",
      "result": "Found 3 circular dependencies."
    }

Development

  • Watch Mode: Run npm run watch to automatically recompile on changes.
  • Debug: You can test the server manually by running the built script and piping JSON-RPC messages, or using the MCP Inspector.