Sharing a small project: a BPMN editor where an AI assistant and MCP agents draw with bpmn-js (online or self-hosted)

Hi everyone,

A word of context first: this is a personal project from an enthusiastic non-developer. I built it for two reasons: I use BPMN and wanted a tool that fits how I work, and I wanted to explore what vibe coding can really do. bpmn-js and your extensions made that possible, so first of all, thank you. I’d like to share the result, in case it’s useful to someone.

What I wanted was to describe a process in plain language and get a real BPMN diagram I could keep editing by hand. I looked around before starting. I found very good MCP servers that let an agent generate or edit BPMN (datakurre’s bpmn-js-mcp, Miragon’s bpmn-cli and others), but as far as I could tell, nothing open source that put a ready-to-use editor, a built-in assistant and external agents on the same diagram. So I tried to put that together, mostly by assembling your pieces.

What it does, on top of bpmn-js:

  • an assistant panel: you describe a process and it draws it in the open diagram, which you can then edit by hand;
  • an MCP server, so external agents (Claude and others) can read and edit that same diagram in the browser;
  • a few everyday things: colors, BPMN/SVG/PNG/PDF export, French and English interface.

Almost everything that makes it work comes from the bpmn.io toolkit: the properties panel, token simulation, the minimap, bpmnlint, bpmn-auto-layout, the grid and copy-as-image. The assistant’s tools go through modeling, check placements with bpmnRules, and each tool call runs as a single command on the commandStack, so one Ctrl+Z undoes it. What the assistant draws is plain BPMN 2.0 that can be validated, simulated or opened elsewhere.

Given how it was built, I’m sure some of this could be done better. If you see me using the APIs in a way you wouldn’t recommend, or if something here duplicates work I missed, I’d be grateful to hear it.

demo-en

Thanks again for bpmn-js, and for keeping it open.

1 Like