workflow-mcp
workflow-mcp
workflow-templates リポジトリ内の AI ワークフローテンプレートを MCP 呼び出し可能ツール に変換します。あらゆる MCP クライアント(WorkBuddy、Claude Desktop、Cursor など)がテンプレートの一覧表示、契約の確認、テンプレートの実行、構造化された結果の取得を直接行えます。
デジタルパイプラインの建築家 · 第4の積み木:すべてのパイプラインを「プラグアンドプレイ」にする
できること
ツール | 説明 |
| リポジトリ内の利用可能な全テンプレートを一覧表示(バージョン / 説明 / 実行可能かどうか) |
| テンプレートの入出力 JSON Schema と処理パイプライン(DAG)の概要を表示 |
| テンプレートを同期実行:JSON 入力、構造化データ + レポート出力 |
| 非同期実行(推奨):即座に task_id を返し、バックグラウンドで実行 |
| 非同期タスクの状態をポーリング(running / done / error) |
サンプルセッション:
1. list_templates → 发现 financial-report-analysis
2. get_template_info(模板id) → 拿到输入契约(需要 company_name / report_path / report_type)
3. run_template_async(模板id, json) → {task_id, status: running}
4. get_task_status(task_id) → 轮询至 done,返回指标 + 风险信号 + 报告なぜ非同期版が必要か:WorkBuddy / Claude Desktop などのクライアントは単一のツール呼び出しにリクエストタイムアウト制限があり、テンプレートの実際の実行(複数回の LLM 呼び出し)には通常 1〜2 分かかるため、同期呼び出しはタイムアウトします。非同期版はこの制限を回避します。
Related MCP server: MCP Boilerplate
アーキテクチャ
MCP 客户端(WorkBuddy / Claude Desktop / ...)
│ stdio / streamable-http
┌───────▼───────────────┐
│ server.py (FastMCP) │ list / get / run 三个工具
└───────┬───────────────┘
┌───────▼───────────────┐
│ templates_registry.py │ 扫描 workflow-templates,读取契约元数据
│ runner.py │ 子进程执行模板 run.py(--auto-review 自动化复核)
└───────┬───────────────┘
│
┌───────▼───────────────┐
│ workflow-templates │ 模板仓库:契约 + 提示词 + 脚本(数据权威)
└───────────────────────┘主要設計:
テンプレートリポジトリが単一の真実の情報源を維持:テンプレートの追加/変更は workflow-templates を変更するだけで、本サービスの変更は不要
自動レビュー:
run.pyに--auto-reviewパラメータを追加。MCP が自動実行する際に人間の操作をスキップし、出力にreview_noteマークを付けて、呼び出し側が重要な数値を検証する実行の分離:実行のたびに一時入力ファイル(使用後削除)を書き込み、出力はテンプレートの
output/に保存
クイックスタート
pip install -e .
python -m workflow_mcp.server # stdio(默认)
python -m workflow_mcp.server --transport streamable-http前提依存:workflow-templates リポジトリがローカル E:\NEMB\workflow-templates にある(環境変数 WORKFLOW_TEMPLATES_HOME で上書き可能)。テンプレート付属の .env(例:OpenRouter キー)は run.py が自動的に読み込みます。
エンドツーエンドテスト(実際に財務分析テンプレートを1回実行します):
python examples/client_test.py # stdio 协议方式
python examples/inproc_test.py # 进程内客户端方式(CI / 沙箱环境更稳)WorkBuddy への接続
examples/workbuddy_mcp.json を C:\Users\33033\.workbuddy\mcp.json の mcpServers にマージし、コネクタ管理ページで workflow-mcp を「信頼」して有効にします。その後、会話で「財務分析テンプレートを実行して」と直接言うことができます。
三つ組との関係
リポジトリ | 役割 | MCP エコシステムでの位置 |
workflow-templates | テンプレートリポジトリ(コンテンツの権威) | workflow-mcp によってツールとしてラップされる |
workflow-mcp | テンプレート実行器(本サービス) | 知的労働パイプライン MCP |
digital-twin-mcp | デバイスデータ MCP | デバイスデータパイプライン MCP |
factory-twin-viz | 可視化フロントエンド | 任意の MCP データを消費 |
ロードマップ
v0.1:list / get / run の3ツール + --auto-review(現在)
v0.2:テンプレート出力のデータベース保存(結果の追跡可能)、並行実行キュー、n8n 版テンプレートのインポート
v0.3:digital-twin-mcp と組み合わせて「デバイス健全性レポート」テンプレート(データパイプライン × 知的パイプライン)
ライセンス
MIT License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server implementation that standardizes how AI applications access tools and context, providing a central hub that manages tool discovery, execution, and context management with a simplified configuration system.13
- AlicenseNot gradedqualityDmaintenanceA server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.1011MIT
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that standardizes tool discovery, execution, and context management for AI applications.MIT
- FlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that advertises tools with JSON schemas and executes tool calls safely, enabling AI agents to perform actions on real systems.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xici001/workflow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server