OM

oisee/mcp-bpmn

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

14 stars 9 forks 品質 59 トレンド 20

AI エージェントが BPMN 2.0 (業務プロセスモデルと表記) をプログラム的に作成、操作、管理できるモデルコンテキストプロトコル (MCP) サーバー.

概要

AI エージェントが BPMN 2.0 (業務プロセスモデルと表記) をプログラム的に作成、操作、管理できるモデルコンテキストプロトコル (MCP) サーバー。 MCP-BPMN は、AI アシスタント向けの標準化されたインターフェースで、業務プロセス図と連携します。 BPMN-compliant ツール(VS コード BPMN エディター、Camunda Modeler など)で閲覧および編集できる有効な BPMN 2.0 XML ファイルを生成します。 - ✅ : イベント、アクティビティ、ゲートウェイ、プール、シーケンス - ✅ : マーメイドのフローチャートからBootstrap BPMNのダイアグラム - ✅ : ゲートウェイのブランチ処理による自動位置決め - ✅ : ビジュアルツールで編集するためにローカルで図を保存 - ✅ : 接続のための正確な方法ポイントの計算 - ✅ : BPMN標準に従うクリーンAPI設計 - ✅ : サーバー側XML生成 Claudeデスクトップ設定ファイルに追加します。 : ~/Library/Application Support/Claude/claude desktop config.json : %APPDATA%\Claude\claude desktop config.json : %APPDATA%\Claude\claude desktop config.json : %APPDATA%\Claude\claude desktop config.json : %APPDATA%\Claude\claude desktop config.json : %APPDATA%\Claude\claude\claude desktop config.json : %APPDATA%\Claude\claude\claude\claude\claude\claude desktop desktop config.

概要(AI 翻訳)

AI エージェントが BPMN 2.0 (業務プロセスモデルと表記) をプログラム的に作成、操作、管理できるモデルコンテキストプロトコル (MCP) サーバー。

概要

MCP-BPMN は、AI アシスタント向けの標準化されたインターフェースで、業務プロセス図と連携します。 BPMN-compliant ツール(VS コード BPMN エディター、Camunda Modeler など)で閲覧および編集できる有効な BPMN 2.0 XML ファイルを生成します。

主要機能

  • ✅完全なBPMN 2.0サポート:イベント、アクティビティ、ゲートウェイ、プール、シーケンス
  • ✅Mermaid から BPMN への変換: マーメイドのフローチャートから BPMN のブートストラップ図
  • ✅ スマートな自動レイアウト: ゲートウェイのブランチハンドリングによる自動位置決め
  • ✅File Persistence: ビジュアルツールで編集するために、ローカルで図を保存
  • ✅ 適切な視覚レンダリング: 接続のための正確なウェイポイント計算
  • ✅Enterprise-Ready:BPMN規格に従うきれいなAPIの設計
  • ✅ブラウザ依存関係なし: サーバサイドXML生成

すぐにスタート

インストール

設定

###Claudeデスクトップ用

Claudeデスクトップ設定ファイルに追加します。

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP-BPMN Server

A Model Context Protocol (MCP) server that enables AI agents to create, manipulate, and manage BPMN 2.0 (Business Process Model and Notation) diagrams programmatically.

🎯 Overview

MCP-BPMN provides a standardized interface for AI assistants to work with business process diagrams. It generates valid BPMN 2.0 XML files that can be viewed and edited in any BPMN-compliant tool (VS Code BPMN Editor, Camunda Modeler, etc.).

Key Features

  • ✅ Complete BPMN 2.0 Support: Events, activities, gateways, pools, and sequences
  • ✅ Mermaid to BPMN Conversion: Bootstrap BPMN diagrams from Mermaid flowcharts
  • ✅ Smart Auto-Layout: Automatic positioning with branch handling for gateways
  • ✅ File Persistence: Save diagrams locally for editing in visual tools
  • ✅ Proper Visual Rendering: Accurate waypoint calculation for connections
  • ✅ Enterprise-Ready: Clean API design following BPMN standards
  • ✅ No Browser Dependencies: Server-side XML generation

🚀 Quick Start

Installation

# Clone the repository
git clone https://github.com/your-org/mcp-bpmn.git
cd mcp-bpmn

# Install dependencies
npm install

# Build the project
npm run build

# Run tests (optional)
npm test

Configuration

For Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "mcp-bpmn": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-bpmn/dist/server/index.js"]
    }
  }
}

For Other MCP Clients

Use the compiled CommonJS bundle:

node dist/server/bundle.cjs

📚 API Reference

Stateful Context Management

MCP-BPMN uses a stateful API design where you work with one diagram at a time. All operations apply to the current diagram context, eliminating the need for processId parameters.

Creation Tools

new_bpmn

Create a new BPMN process or collaboration diagram and set it as the current context.

{
  name: "Order Processing",
  type: "process" // or "collaboration" (optional, defaults to "process")
}

new_from_mermaid

Create a new BPMN diagram from Mermaid code and set it as the current context.

{
  name: "My Process",
  mermaidCode: "graph TD\n  A[Start] --> B[Task] --> C[End]"
}

File Operations

open_bpmn

Open an existing BPMN file and set it as the current context.

{
  filename: "my-process.bpmn"
}

open_mermaid_file

Open and convert a Mermaid file to BPMN, setting it as the current context.

{
  filename: "my-flowchart.mmd"
}

save

Save the current diagram to its file (requires filename to be set).

{}

save_as

Save the current diagram with a new filename.

{
  filename: "my-process.bpmn"
}

close

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mcp-bpmn": { "command": "node", "args": ["/absolute/path/to/mcp-bpmn/dist/server/index.js"] } } }