# BPMN Kit

> BPMN Kit is an open-source MCP server for developer tools. Build, validate, simulate and deploy Camunda 8 BPMN, DMN and forms from an agent. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Web, self-hosted
- **Website:** https://bpmnkit.com/docs/guides/ai
- **Repository:** https://github.com/bpmnkit/bpmnkit/tree/HEAD/apps/cli
- **MCP Registry name:** io.github.bpmnkit/bpmnkit
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

Process models are verbose, so BPMN Kit gives agents a compact JSON form of a diagram. The docs say a typical approval workflow fits in around 500 tokens, and a builder API produces valid BPMN so the model never writes raw XML. Editing an existing file calls for a reconcile step, because converting back from the compact form would silently drop parts it cannot describe, such as collaborations, lanes and multi-instance settings.

The server comes from the `@bpmnkit/cli` package, whose command-line tool is `casen`. It can also deploy files to a Camunda 8 cluster, list and cancel process instances, resolve incidents, list jobs and generate connector element templates from OpenAPI specs. A local `casen dev` command opens every `.bpmn`, `.dmn` and `.form` file in a folder in a browser editor with simulation and lint, and reruns each file's test scenarios on change.

Agents are told to run `casen agent-card bpmn|dmn|form` for a roughly 1k-token guide instead of reading the README. A cluster address and client credentials are read from environment variables; without any cluster, local development still works.

## Features

- **Compact diagram format:** Represents a process as small JSON that fits in an LLM prompt.
- **Valid BPMN generation:** A builder API avoids hand-written XML.
- **Local editor and simulation:** casen dev opens BPMN, DMN and form files with lint and simulation.
- **Camunda 8 deployment:** Deploys processes to a cluster and manages instances, incidents and jobs.
- **Connector generation:** Creates element templates from OpenAPI or Swagger specs.
- **Agent cards:** Short guides for BPMN, DMN and form authoring.

## Good for

- Generate a Camunda process from a plain-language description
- Edit an existing BPMN file without losing unsupported parts
- Simulate and lint a process before deploying
- Deploy models and inspect incidents from a terminal
- Create connector templates from an API spec

## Install

### Claude Code (Terminal)

```sh
claude mcp add bpmnkit --env ZEEBE_CLIENT_SECRET='<ZEEBE_CLIENT_SECRET>' -- npx -y @bpmnkit/cli
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "bpmnkit": {
      "command": "npx",
      "args": [
        "-y",
        "@bpmnkit/cli"
      ],
      "env": {
        "ZEEBE_CLIENT_SECRET": "<ZEEBE_CLIENT_SECRET>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "bpmnkit": {
      "command": "npx",
      "args": [
        "-y",
        "@bpmnkit/cli"
      ],
      "env": {
        "ZEEBE_CLIENT_SECRET": "<ZEEBE_CLIENT_SECRET>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "bpmnkit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bpmnkit/cli"
      ],
      "env": {
        "ZEEBE_CLIENT_SECRET": "<ZEEBE_CLIENT_SECRET>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "bpmnkit": {
      "command": "npx",
      "args": [
        "-y",
        "@bpmnkit/cli"
      ],
      "env": {
        "ZEEBE_CLIENT_SECRET": "<ZEEBE_CLIENT_SECRET>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "bpmnkit": {
      "command": "npx",
      "args": [
        "-y",
        "@bpmnkit/cli"
      ],
      "env": {
        "ZEEBE_CLIENT_SECRET": "<ZEEBE_CLIENT_SECRET>"
      }
    }
  }
}
```

## FAQ

### Do I need a Camunda cluster?

Not for local development; casen dev works without one.

### What credentials does it read?

ZEEBE_ADDRESS, ZEEBE_CLIENT_ID and ZEEBE_CLIENT_SECRET when no profile is active.

### What formats does it handle?

BPMN processes, DMN decisions and Camunda forms.

### How should an agent learn the format?

By running casen agent-card for bpmn, dmn or form.

### Is BPMN Kit free?

Yes. BPMN Kit is open source, so you can use and self-host it for free.

### How do I add BPMN Kit to Claude Code?

Run this command in your terminal: claude mcp add bpmnkit --env ZEEBE_CLIENT_SECRET='<ZEEBE_CLIENT_SECRET>' -- npx -y @bpmnkit/cli

### What are the best alternatives to BPMN Kit?

The closest alternatives to BPMN Kit are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/bpmn-kit
