mcp
v1.0.0MCP server (stdio) for Lila Modeler: model, validate, simulate and document BPMN processes from an AI agent, on top of @lila-modeler/engine
MCP server for Lila Modeler, over stdio. It lets an AI agent model, validate, simulate and document BPMN processes with the same engine as the app and the CLI (@lila-modeler/engine). The command starts the server and waits for an MCP client on stdin/stdout; it is meant to be launched by the client, not used by hand. stdout carries only protocol messages; diagnostics go to stderr. Claude Desktop (claude_desktop_config.json), Cursor and most other clients:
Summary extracted from the README.
@lila-modeler/mcp
MCP server for Lila Modeler,
over stdio. It lets an AI agent model, validate, simulate and document BPMN processes with the same
engine as the app and the CLI (@lila-modeler/engine).
This is a beta. Node.js 22 or later.
Run
npx -y @lila-modeler/mcp
The command starts the server and waits for an MCP client on stdin/stdout; it is meant to be launched by the client, not used by hand. stdout carries only protocol messages; diagnostics go to stderr.
Client configuration
Claude Code:
claude mcp add lila -- npx -y @lila-modeler/mcp
Claude Desktop (claude_desktop_config.json), Cursor and most other clients:
{
"mcpServers": {
"lila": {
"command": "npx",
"args": ["-y", "@lila-modeler/mcp"],
"env": { "LILA_LANG": "en" }
}
}
}
Codex (~/.codex/config.toml):
[mcp_servers.lila]
command = "npx"
args = ["-y", "@lila-modeler/mcp"]
Use an absolute path to npx when the client does not inherit your PATH. LILA_LANG=es (or
LC_ALL, LC_MESSAGES, LANG) picks Spanish messages; English is the default, and each tool also
accepts locale: "en" | "es".
Tools
Twenty-five tools: validate_bpmn, describe_process, run_simulation, compare_scenarios,
patch_scenario, create_process, get_process_outline, edit_process, export_diagram,
export_document, export_results, annotate_element, define_attribute, get_raci_matrix,
import_scenario_sheet, export_scenario_template, create_project, get_project,
get_scenario, get_process_bpmn, put_process_bpmn, rename_process,
delete_process, rename_scenario, delete_scenario.
All file paths are read and written on the disk of the machine that runs the server; relative
paths resolve against the server's working directory, so prefer absolute paths. Simulation answers
with a summary unless detail: "full", reports progress per replication and can be cancelled.
The server also offers the agent guide, the outline and scenario formats and the scenario JSON Schema
as resources (lila://guide, lila://outline-format, lila://scenario-format,
lila://scenario-schema), and the prompt interview-to-process.
Tool contracts, examples and limits: docs/MCP.md. The agent guide walks an agent through the whole flow: interview, outline, scenario, run and document.
License
Apache-2.0. "Lila Modeler" and its logos are not covered by the license grant; see NOTICE.