camunda-mcp
Integrates with the Camunda 7 engine REST API, providing tools for managing and inspecting BPMN/DMN definitions, process instances, variables, user tasks, incidents, history, deployments, and evaluating DMN decisions, with optional write operations such as starting process instances, completing tasks, and modifying instances.
Click on "Install 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., "@camunda-mcpList all running process instances."
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.
@deitum/camunda-mcp
An MCP server for Camunda 7: BPMN and DMN definitions, running instances, variables, user tasks, incidents, history, DMN evaluation — and, behind a flag, the operations that change the engine.
It talks to the engine's REST API, so it works with a standalone distribution, a Spring Boot
application with camunda-bpm-spring-boot-starter-rest, and an engine published behind a reverse
proxy alike. Authentication covers the four schemes those deployments actually use: none, HTTP
Basic, a ready-made token, and an OAuth2 / OIDC token endpoint — with the token sent either as
Authorization: Bearer or in a cookie.
npx @deitum/camunda-mcpIt speaks MCP over stdio and is configured entirely through environment variables.
Setting it up in a client
Claude Desktop (claude_desktop_config.json), Cursor, Windsurf and anything else that
reads the same shape:
{
"mcpServers": {
"camunda": {
"command": "npx",
"args": ["-y", "@deitum/camunda-mcp"],
"env": {
"CAMUNDA_BASE_URL": "http://localhost:8080/engine-rest",
"CAMUNDA_USERNAME": "demo",
"CAMUNDA_PASSWORD": "demo"
}
}
}
}Claude Code:
claude mcp add camunda \
--env CAMUNDA_BASE_URL=http://localhost:8080/engine-rest \
--env CAMUNDA_USERNAME=demo \
--env CAMUNDA_PASSWORD=demo \
-- npx -y @deitum/camunda-mcpVS Code (.mcp.json / .vscode/mcp.json), where the password is prompted for rather than
written down:
{
"inputs": [
{
"id": "camunda-password",
"type": "promptString",
"description": "Camunda password",
"password": true
}
],
"servers": {
"camunda": {
"command": "npx",
"args": ["-y", "@deitum/camunda-mcp"],
"env": {
"CAMUNDA_BASE_URL": "http://localhost:8080/engine-rest",
"CAMUNDA_USERNAME": "demo",
"CAMUNDA_PASSWORD": "${input:camunda-password}"
}
}
}
}A variable left as a literal ${input:NAME} counts as unset, so a placeholder that was never
filled in reads as a missing value rather than being sent to the engine as a username.
Related MCP server: n8n MCP Server
Configuration
Variable | Required | Meaning |
| yes | Engine REST root (which one?). |
| – |
|
| – | User, for Basic auth or the OAuth password grant. |
| – | Its password. |
| – | A ready-made token to send as-is ( |
| – | OAuth2 / OIDC token endpoint ( |
| – | OAuth client. |
| – | Only for a confidential client. |
| – |
|
| – | Scope to request, if the provider needs one. |
| – |
|
| – | Cookie to put it in when the transport is |
| – |
|
| – | Default page size (default 20, hard cap 100). |
| – | Per-request budget (default 30000). |
Authentication
Set only the variables your engine needs; the mode follows from them, and CAMUNDA_AUTH is there
for the rare case where the guess is wrong.
None — a local distribution with the auth filter switched off:
CAMUNDA_BASE_URL=http://localhost:8080/engine-restHTTP Basic — what Camunda's own ProcessEngineAuthenticationFilter speaks, and what
camunda-bpm-platform:run ships with:
CAMUNDA_USERNAME=demo
CAMUNDA_PASSWORD=demoA ready-made token — one you already have from somewhere else:
CAMUNDA_TOKEN=eyJhbGciOi…OAuth2 / OIDC — this server fetches tokens itself and renews them as they expire, sharing one grant across concurrent tool calls and using the refresh token when the provider issues one:
# password grant
CAMUNDA_TOKEN_URL=https://idp.example/realms/demo/protocol/openid-connect/token
CAMUNDA_CLIENT_ID=camunda-client
CAMUNDA_CLIENT_SECRET=… # confidential clients only
CAMUNDA_USERNAME=user
CAMUNDA_PASSWORD=…
# client-credentials grant — drop the user, that is the whole difference
CAMUNDA_TOKEN_URL=https://idp.example/realms/demo/protocol/openid-connect/token
CAMUNDA_CLIENT_ID=camunda-service
CAMUNDA_CLIENT_SECRET=…Credentials are all-or-nothing per mode: a half-filled set fails at startup, naming what is missing, rather than turning every tool call into the engine's login page.
Bearer header or cookie?
By default a token travels as Authorization: Bearer <token>, which is what a Camunda engine
expects. Some deployments publish the engine behind a proxy or an OIDC filter that reads the token
from a cookie and ignores the Authorization header entirely — for those:
CAMUNDA_AUTH_TRANSPORT=cookie
CAMUNDA_COOKIE_NAME=JWT # the default; change it if the filter uses another nameWhen the transport is cookie no Authorization header is sent at all. The symptom of getting
this wrong is a 302 to the identity provider while the same token works in the other position —
the error message says exactly that, and which variable to flip.
Which base URL?
standalone distribution or Spring Boot starter →
https://host/engine-restdeployment where only the webapp is exposed →
https://host/camunda/api/engine/engine/default
Both serve the same API. Getting it wrong is the common failure and does not look like one — the
front-end that owns the wrong path tends to answer 200 text/html — so the server checks for that
and says which URLs to try.
TLS
An internally hosted engine is often signed by a private root that Node does not ship, so the first
call fails with SELF_SIGNED_CERT_IN_CHAIN while curl against the same URL works (it uses the
system store). Either point NODE_EXTRA_CA_CERTS at the root certificate, or set
NODE_TLS_REJECT_UNAUTHORIZED=0 for this process. The error message says as much rather than
repeating fetch failed.
Tools
Read-only, always registered:
Tool | What it answers |
| deployed DMN decisions (Cockpit's «Decisions») |
| the DMN XML — the decision table itself |
| runs a decision against inputs, returns the output rows |
| evaluation history with inputs/outputs |
| deployed BPMN processes |
| the BPMN XML (source of activity ids) |
| running instances, by key or business key |
| where an instance is sitting right now |
| an instance's variables, unwrapped |
| open user tasks |
| open incidents |
| the exception behind a failed job |
| finished instances |
| one instance's audit trail |
| deployments, newest first |
| a deployment's files, or one file's content |
| escape hatch: any engine |
Registered only with CAMUNDA_ALLOW_WRITE=true: camunda_start_process_instance,
camunda_complete_task, camunda_modify_process_instance, camunda_set_variables,
camunda_send_message, camunda_set_job_retries, camunda_resolve_incident,
camunda_delete_process_instance.
The write half is not registered rather than merely discouraged: a model cannot be told "do not touch" reliably, but it cannot call a tool it was never shown.
camunda_evaluate_decision is deliberately in the read half: it changes no engine state (only a
history entry) and it is much of the reason to point this at an engine's decision tables.
Variables are passed as plain JSON ({"amount": 100}) and typed automatically; pass the engine's
own envelope ({"amount": {"value": "100", "type": "String"}}) when you need an exact type.
Results are trimmed on the way back: list tools project each row down to the fields worth reading,
maxResults is capped at 100, XML at 40 000 characters and any single result at 60 000 — an engine
page of a few thousand rows would otherwise land in the model's context whole.
Troubleshooting
Symptom | What it means |
| The token was not accepted in the position it was sent — try the other |
|
|
| Node does not trust the chain; see TLS. |
| A half-filled set — the message names the missing variables. |
| The engine understood the credentials and refused them. |
Checking a deployment by hand, which separates a bad URL from a bad token:
curl -s -u demo:demo "http://localhost:8080/engine-rest/decision-definition?maxResults=5"A JSON array means the base URL and the credentials are both right. HTML means the base URL is
wrong. A 302 to an identity provider means the credentials were not accepted in that position.
Using it as a library
The stdio binary is the point, but the server is exported too — for a custom transport or a test harness:
import { createCamundaServer, loadConfig } from '@deitum/camunda-mcp';
const server = createCamundaServer(loadConfig(process.env));
await server.connect(myTransport);Development
npm install
npm run verify # lint, format, types, tests, build, packaging
npm test # vitest, no network
npm run inspector # build, then drive it with the MCP inspectorAgainst a throwaway engine:
docker run --rm -p 8080:8080 camunda/camunda-bpm-platform:run-latest
CAMUNDA_BASE_URL=http://localhost:8080/engine-rest \
CAMUNDA_USERNAME=demo CAMUNDA_PASSWORD=demo \
npx @modelcontextprotocol/inspector node dist/cli.jsSee CONTRIBUTING.md.
Licence
MIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceMCP server for modeling Camunda 7 BPMN diagrams programmatically, including elements, flows, and Camunda extensions.MIT
- Alicense-qualityDmaintenanceMCP server for managing n8n workflows and executions. Enables listing, activating, deactivating, and executing workflows, as well as monitoring executions and instance health.MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that enables AI assistants to interact with Camunda Platform workflow engine. Provides 21 specialized tools for complete workflow automation and process management.215MIT
- AlicenseBqualityBmaintenanceMCP server for Argo CD that provides multi-environment profiles, SSO or API key authentication, application search with cache, and REST API tools from the bundled OpenAPI catalog.2626MIT
Related MCP Connectors
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
MCP server for managing Prisma Postgres.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deitum/camunda-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server