CIB Seven MCP Server
Enables investigation and diagnosis of CIB Seven BPM process instances through the CIB Seven REST API. Supports querying process instances, incidents, activity history, and BPMN definitions with Keycloak authentication and configurable variable redaction.
README
cib7-mcp
MCP tool for investigating CIB Seven process instances. Gives Claude comprehensive knowledge of CIB Seven REST APIs with live execution and Keycloak authentication.
Features
- 7 investigation tools — process instances, incidents, activity history, variables, BPMN XML, jobs
- Semantic descriptions — Claude understands what each field means operationally, not just raw endpoint data
- BPMN introspection — fetch process definition XML, Claude reasons about expected vs actual execution path
- Keycloak auth — OIDC client credentials flow with automatic token refresh
- Variable redaction — configurable regex patterns to hide sensitive data
- Diagnostic prompts —
diagnose_stuck_processandincident_reportworkflows
Installation
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"cib7": {
"command": "npx",
"args": ["cib7-mcp"],
"env": {
"CIB7_URL": "http://localhost:6009/rest"
}
}
}
}
Claude Code
claude mcp add cib7-mcp -- npx cib7-mcp
Then set the environment variable CIB7_URL to your CIB Seven instance.
Configuration
All configuration is via environment variables.
| Variable | Required | Description |
|---|---|---|
CIB7_URL |
Yes | CIB Seven REST API URL (e.g., http://localhost:6009/rest) |
KEYCLOAK_URL |
No | Keycloak server URL (e.g., https://keycloak.example.com) |
KEYCLOAK_REALM |
No | Keycloak realm name |
KEYCLOAK_CLIENT_ID |
No | Keycloak client ID |
KEYCLOAK_CLIENT_SECRET |
No | Keycloak client secret |
CIB7_REDACT_PATTERNS |
No | Comma-delimited regex patterns for variable redaction (e.g., password.*,secret.*,token.*) |
If any KEYCLOAK_* variable is set, all four must be provided. If none are set, the tool runs in unauthenticated mode.
With Keycloak
{
"mcpServers": {
"cib7": {
"command": "npx",
"args": ["cib7-mcp"],
"env": {
"CIB7_URL": "https://your-instance.com/rest",
"KEYCLOAK_URL": "https://your-keycloak.com",
"KEYCLOAK_REALM": "your-realm",
"KEYCLOAK_CLIENT_ID": "mcp-client",
"KEYCLOAK_CLIENT_SECRET": "your-secret",
"CIB7_REDACT_PATTERNS": "password.*,secret.*,token.*,creditCard.*"
}
}
}
}
Tools
| Tool | Description |
|---|---|
get_process_instance |
Look up a process instance by ID — state, definition, business key |
list_process_instances |
Search process instances by definition key, business key, or state |
list_incidents |
List open incidents, optionally filtered by process instance |
get_activity_history |
Execution trace — every activity that ran, in order |
get_process_variables |
All variables for a process instance (with redaction) |
get_process_definition_xml |
BPMN XML model (diagram elements stripped for readability) |
get_job_details |
Job execution details — retries, exception messages |
Prompts
| Prompt | Description |
|---|---|
diagnose_stuck_process |
Step-by-step diagnostic for a stuck process instance |
incident_report |
Comprehensive report of all open incidents with root cause analysis |
Example Usage
Ask Claude:
- "Is process
abc-123stuck?" - "Show me all open incidents"
- "What's the BPMN definition for process definition
orderProcess:1:456?" - "Generate an incident report"
Development
npm install
npm run build
npm test
Requires Node.js 18+.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.