BPMN Collab MCP
Produces standard BPMN 2.0 XML that can be imported into Camunda (and other BPMN tools such as Signavio and ARIS); the server creates, edits, and deterministically validates BPMN diagrams with element-level business metadata embedded via extension elements.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BPMN Collab MCPcreate an order-approval BPMN, then validate it and list open comments"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
title: BPMN Collab MCP emoji: 🔀 colorFrom: blue colorTo: indigo sdk: docker app_port: 7860 license: mit
bpmn-collab-mcp
Human + AI collaborative BPMN 2.0 modeling, over MCP.
The AI creates and edits standard BPMN 2.0 XML (importable in Signavio, ARIS, Camunda…).
Humans edit the same diagram in a bpmn-js canvas.
Every human edit is stored as a versioned revision; the AI reads what changed (
get_changes_since) before its next move.Comments are anchored on BPMN element ids, so a review can target one gateway instead of the whole diagram.
Business metadata lives inside the XML (
extensionElements, namespacepm:), not in side documents.Deterministic validation guards the file: the LLM proposes, the rules dispose.
Status: proof of concept skeleton. See
docs/architecture.mdand the roadmap below.
Related MCP server: MCP-GLSP
Quick start
npm install
npm run build
npm test
npm start # http://localhost:7860 (listens on 127.0.0.1; set HOST=0.0.0.0 in containers)MCP endpoint (streamable HTTP, stateless):
http://localhost:7860/mcpHuman canvas:
http://localhost:7860/canvas?id=<diagramId>(the id and URL are returned bycreate_diagram)Inline canvas: in hosts that support MCP Apps (Claude web/Desktop),
create_diagramandget_diagramrender the same canvas in the conversation (ui://bpmn-collab/canvas.html); it talks to the server through app-onlycanvas_*tools and can post "apply the open AI requests" into the chat.Environment:
PORT(7860),HOST(127.0.0.1),PUBLIC_URL,DATA_DIR,ALLOWED_HOSTS(extra Host names accepted, comma-separated; localhost and thePUBLIC_URLhost are always accepted).
Add it to Claude as a custom connector (remote MCP URL, must be public HTTPS), or test locally with the MCP Inspector:
npx @modelcontextprotocol/inspectorMCP tools
Tool | Purpose |
| Start or list diagrams |
| Current XML (with human edits) + open comments |
| Semantic diff by element id between versions (bpmn-js-differ + |
| Save a revision (optimistic concurrency via |
| Deterministic rules: bpmnlint |
| Element-anchored review threads; |
| Plain BPMN XML |
Deploying
Production runs on a VPS behind Caddy (HTTPS), with GitHub Actions publishing the image to GHCR and a pull-based update on the server: see docs/deploy.md. /mcp is restricted to Anthropic's egress range and the admin IP, the canvas and API sit behind basic auth, until OAuth (docs/oauth-plan.md).
The Dockerfile is plain and also runs elsewhere (set PUBLIC_URL, DATA_DIR, and ALLOWED_HOSTS when behind a proxy with another host name).
Roadmap
Publish the project rules (
src/lint/rules.ts, already in bpmnlint format) as abpmnlint-plugin-*package.DMN (dmn-js) and forms (form-js) linked from
pm:decisionRef/pm:formRef.Process architecture graph (levels, parent/child,
calledElementlinks) kept next to the BPMN files.Review pass: LLM critique emitted as comments with category and severity.
Auth, persistent storage (SQLite/Postgres), live co-editing (Yjs) if needed.
License: MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Versioned artifact review for people and AI agents, with contextual comments and human control.
- AiNectoOAuthcom.ainecto
Shared project memory for people and AI agents: workspaces, documents, ERD, diagrams and boards.
Flowcharts that people and agents edit together on one live canvas, exported as Mermaid.
Create and edit architecture diagrams from your AI agent; get an SVG and a live editable canvas.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to create, manipulate, and manage BPMN 2.0 diagrams programmatically, with support for Mermaid conversion, auto-layout, and file persistence.2413MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI-driven graphical diagram creation and manipulation using natural language, with support for BPMN workflows, analysis, and manual editing via the Model Context Protocol.1MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to create and manage one BPMN 2.0 diagram at a time, including Mermaid conversion, validation, layout, persistence, and XML or SVG export.27MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read, explain, lint, and edit existing BPMN 2.0 files in a repository while preserving diagram layout and structural integrity through parsed-document patch operations.Apache 2.0