Workflow Orchestration MCP Server

Workflow Orchestration MCP Server

Guides AI agents through structured, multi-step workflows with discovery, navigation, and fidelity enforcement.

Category
Visit Server

README

🔄 Workflow Orchestration MCP Server

Node.js 18+ License: MIT MCP Compatible TypeScript

A Model Context Protocol (MCP) server for AI agent workflow orchestration. Create structured, fidelity-enforced workflows that agents discover, navigate, and execute to fulfill user goals.


Quick Start • Architecture • Schemas • API • Workflow Fidelity • Development • Workflows • Engineering


🎯 Overview

Workflow Server guides AI agents through structured, multi-step workflows. A single always-applied IDE rule bootstraps the agent — from there, the server handles workflow discovery, session management, and step-by-step navigation.

How It Works

  1. Discover — The agent calls discover to learn available workflows and the bootstrap procedure
  2. Start session — start_session returns a session token; get_workflow returns the workflow structure, the workflow's techniques.workflow bundled under techniques and rules, and the initialActivity ID
  3. Navigate — next_activity advances the session to the next activity; get_activity returns the activity's full definition (steps, checkpoints, transitions) along with the activity's bundled techniques — the workflow's inherited techniques.activity plus the activity's own techniques[] — under techniques and rules. get_resource lazy-loads reference material referenced by a technique
  4. Execute — The agent works through activities, with checkpoints for user decisions and transitions governing the flow between activities

Architecture

User Goal → Workflow → Activities → Techniques → Tools
  • Workflows define the overall process (e.g., implement a feature from issue to merged PR)
  • Activities are phases within a workflow (e.g., plan, implement, review, validate)
  • Techniques are markdown definitions of a capability, with optional rules
  • Tools are the operations the agent invokes

MCP Tools at a Glance

The server registers 16 MCP tools across five concerns. See docs/api-reference.md for full signatures.

Concern Tools
Bootstrap (no session token) discover, list_workflows, health_check
Session start_session, get_workflow_status, dispatch_child
Workflow / activity navigation get_workflow, next_activity, get_activity
Checkpoint flow yield_checkpoint, resume_checkpoint, present_checkpoint, respond_checkpoint
Techniques, resources get_technique, get_resource
Trace get_trace

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • MCP Client (Cursor or Claude Desktop)

Installation

# Clone and build
git clone https://github.com/m2ux/workflow-server.git
cd workflow-server
npm install

# Set up workflow data (worktree for orphan branch)
git worktree add ./workflows workflows

# Build the server
npm run build

Configure MCP Client

Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "workflow-server": {
      "command": "node",
      "args": ["/path/to/workflow-server/dist/index.js"],
      "env": {
        "WORKFLOW_DIR": "/path/to/workflow-server/workflows"
      }
    }
  }
}

Restart your MCP client. See SETUP.md for other IDEs.

Deploy to Your Project

To set up the engineering branch pattern in your own project:

curl -O https://raw.githubusercontent.com/m2ux/workflow-server/main/scripts/deploy.sh
chmod +x deploy.sh && ./deploy.sh

This creates a .engineering/ folder with workflows and artifact directories. See SETUP.md for options and details.

Setup IDE Rule

Add the bootstrap rule from docs/ide-setup.md to your IDE's 'always-applied' rule set. The rule tells the agent to call discover on every workflow request so the bootstrap procedure stays in sync with the server.

Execute a Workflow

Tell the agent what you want to do using natural language:

Start a workflow:

Start a new work-package workflow for implementing user authentication
Begin a work-package workflow for issue #42

Resume a workflow:

Resume the work-package workflow we were working on
Continue the authentication work package from where we left off

End a workflow:

End the current work-package workflow
Complete the work package and clean up

The agent matches your request to the appropriate activity and guides you through the structured phases.

Engineering layout

The .engineering/ directory holds engineering artifacts and workflow-related assets.

Directory structure

  • artifacts/planning/ — Work package plans and specifications
  • history/ — Project history and change logs
  • scripts/ — Utility scripts

📜 License

MIT License - see LICENSE for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured