Skip to main content
Glama

operaton-mcp

MCP server for the Operaton BPM REST API — exposes 300+ Operaton REST operations as MCP tools for AI agents.

Install & Run

npx operaton-mcp

Or install globally:

npm install -g operaton-mcp
operaton-mcp

Environment Variables

Variable

Required

Default

Description

OPERATON_BASE_URL

Yes

Operaton REST API base URL (e.g. http://localhost:8080/engine-rest)

OPERATON_USERNAME

Yes

Operaton user for Basic Auth

OPERATON_PASSWORD

Yes

Operaton password for Basic Auth

OPERATON_ENGINE

No

default

Operaton engine name used in API path templates

OPERATON_SKIP_HEALTH_CHECK

No

false

Skip startup connectivity check — set true for dev/test environments

MCP Client Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "operaton": {
      "command": "npx",
      "args": ["-y", "operaton-mcp"],
      "env": {
        "OPERATON_BASE_URL": "http://localhost:8080/engine-rest",
        "OPERATON_USERNAME": "demo",
        "OPERATON_PASSWORD": "demo"
      }
    }
  }
}

Example Prompts

Once connected, you can ask your AI assistant natural-language questions about your Operaton instance:

Deployments & Definitions

"Deploy this BPMN file to Operaton and name it loan-approval-v3." "List all deployed versions of the invoice-approval process." "Show me the BPMN XML for the latest version of the onboarding process." "Delete the old loan-approval definition — it has no active instances."

Process Instances

"Start a new invoice-approval process with business key INV-2024-001 and set the amount variable to 15000." "List all active instances of the loan-approval process." "Suspend the instance abc-123 while we investigate the failure." "What variables are currently set on process instance abc-123?"

User Tasks

"Show me all unassigned tasks for the approvers group." "Claim task task-456 for user john.doe." "Complete the approval task for invoice INV-2024-001 and set approved = true." "How many overdue tasks are there across all processes?"

Operations & Incidents

"Are there any failed jobs with no retries left?" "Reset the retry count to 3 for job job-789 and trigger immediate execution." "List all open incidents for the payment-processing process."

History & Audit

"Show me all completed invoice-approval instances from last week." "What activities were executed in process instance abc-123, and how long did each take?" "Who completed the approval task for business key INV-2024-001, and when?"

Decisions

"Deploy this DMN decision table for loan eligibility checking." "Evaluate the credit-check decision with income = 50000 and creditScore = 720."

Administration

"Create a new user jane.smith with email jane@example.com." "Add john.doe to the senior-approvers group."

Available Tool Groups

Group

Description

deployment

Deploy BPMN, DMN, and CMMN artifacts

processDefinition

List, inspect, and delete process definitions

processInstance

Start, query, suspend, resume, and delete process instances

task

Query, claim, complete, and manage user tasks

job

Query jobs, trigger immediate execution, suspend/resume

jobDefinition

Query and manage job definitions

incident

List and resolve process incidents

user

Create, update, and delete Operaton users

group

Query and manage Operaton groups and memberships

history

Query historic process instances, activities, tasks, and variables

decision

Deploy and evaluate DMN decision tables

Development

# Install dependencies (triggers code generation automatically)
npm install

# Run code generation manually
npm run generate

# Build (generate + compile + alias rewrite)
npm run build

# Watch mode for local development
npm run dev

# Run all tests (unit + smoke)
npm test

# Run integration tests (requires live Operaton instance)
OPERATON_BASE_URL=http://localhost:8080/engine-rest \
OPERATON_USERNAME=demo \
OPERATON_PASSWORD=demo \
npm run test:integration

Project Structure

src/
  index.ts          — MCP server entry point
  config.ts         — Environment variable loading and validation
  http/
    client.ts       — Operaton HTTP client with Basic Auth
    errors.ts       — Error normalization with BPM-domain hints
  generated/        — Build artifact (gitignored); produced by npm run generate
  tools/            — Curated tool wrappers (hand-written)
config/
  tool-manifest.json         — Full curation manifest (name, description, frMapping per operationId)
  tool-manifest.fixture.json — Fixture for development/testing
resources/
  operaton-rest-api.json     — Authoritative OpenAPI 3.0.2 spec (never modify)
scripts/
  generate.ts       — Code generation pipeline
-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/operaton/operaton-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server