Skip to main content
Glama
m2ux

Workflow Orchestration MCP Server

by m2ux
README.md
# ๐Ÿงญ Workflow Orchestration MCP Server

[![Node.js 18+](https://img.shields.io/badge/node-18%2B-blue.svg)](https://nodejs.org/en/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-green.svg)](https://modelcontextprotocol.io/)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.3-blue.svg)](https://www.typescriptlang.org/)

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

---

**[Docs Site](https://m2ux.github.io/workflow-server/)** โ€ข **[Architecture](docs/architecture.md)** โ€ข **[API](docs/api-reference.md)** โ€ข **[Workflow Fidelity](docs/workflow-fidelity.md)** โ€ข **[Development](docs/development.md)** โ€ข **[Workflows](https://github.com/m2ux/workflow-server/tree/workflows)**

---

## ๐ŸŽฏ Overview

Workflow Server guides AI agents through structured, multi-step workflows. A single always-applied [IDE rule](docs/ide-setup.md) bootstraps the agent โ€” from there, the server handles workflow discovery, session management, and step-by-step navigation.

### How It Works

1. **Discover** โ€” The agent learns which workflows exist and how to begin
2. **Start** โ€” A session is started for the matched workflow
3. **Navigate** โ€” The agent moves through activities in order, loading each phaseโ€™s steps and guidance as needed
4. **Execute** โ€” Work proceeds activity by activity, pausing at checkpoints for user decisions and following the workflow's graph between phases

### 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


## ๐Ÿš€ Quick Start

### Setup

This project is tailored towards the use of the Cursor IDE. To use with Claude Code it is recommended to setup the [Claude Code plugin for Cursor](https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code).

See: **[setup.md](setup.md)** for detailed setup instructions (including Cursor workspace at ยง3).

### Execute a workflow

With the server connected and target project initialised, tell the agent in your chat session what you want to do, for example:

```
Start a new work-package workflow for Issue #1000
```
```
Resume the work-package workflow for PR #1000
```

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

### MCP Tools

The server registers 17 MCP tools across five concerns. See [docs/api-reference.md](docs/api-reference.md) for full signatures.

## ๐Ÿ“œ License

MIT License - see [LICENSE](LICENSE) for details.