Workflow Orchestration MCP Server
Guides AI agents through structured, multi-step workflows with discovery, navigation, and fidelity enforcement.
README
🔄 Workflow Orchestration MCP Server
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
- Discover — The agent calls
discoverto learn available workflows and the bootstrap procedure - Start session —
start_sessionreturns a session token;get_workflowreturns the workflow structure, the workflow'stechniques.workflowbundled undertechniquesandrules, and theinitialActivityID - Navigate —
next_activityadvances the session to the next activity;get_activityreturns the activity's full definition (steps, checkpoints, transitions) along with the activity's bundled techniques — the workflow's inheritedtechniques.activityplus the activity's owntechniques[]— undertechniquesandrules.get_resourcelazy-loads reference material referenced by a technique - 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 specificationshistory/— Project history and change logsscripts/— Utility scripts
📜 License
MIT License - see LICENSE for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。