TwinTrack MCP server for APMN workflow compilation

TwinTrack MCP server for APMN workflow compilation

A hosted MCP server from Kshetra Studio that lets MCP-compatible AI clients convert BPMN files to APMN YAML, compile APMN workflows, and get modeling guidance.

License: Apache License 2.0•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Converts BPMN 2.0 XML into APMN YAML.
  • •Compiles APMN YAML into Orkes JSON or Google ADK Python.
  • •Suggests upgrading nodes to better-fitting APMN types and reviews complete APMN models against best practices.
  • •Provides APMN spec and platform mappings for node types, and lists bundled demo BPMN files.

BEST FOR

  • •AI clients such as Claude Desktop or Cursor that need to migrate existing BPMN processes into APMN workflows.
  • •Teams compiling APMN workflows to Orkes or Google ADK targets directly from an MCP-compatible client.

ABOUT APMN

TwinTrack MCP server for APMN workflow compilation is cataloged as an MCP server attributed to kshetra-studio. A hosted MCP server from Kshetra Studio that lets MCP-compatible AI clients convert BPMN files to APMN YAML, compile APMN workflows, and get modeling guidance. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache License 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for TwinTrack MCP server for APMN workflow compilation are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What is APMN?

APMN is an open, vendor-neutral visual notation standard for workflows where humans, AI agents, and automated systems collaborate, designed as a superset of BPMN 2.0.

Does the MCP server accept BPMN 2.0 input?

Yes, the migrate_bpmn tool converts BPMN 2.0 XML into APMN YAML.

Upstream README

View this exact version on GitHub

README.md · cbaac600d0b1 · Fetched 2026-11-13 13:04:07 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

APMN — AI Process Model and Notation

BPMN for the AI era.

BPMN gave the world a shared language for business processes.
APMN gives the world a shared language for agentic processes.

License Spec Version Status Creator


What is APMN?

AI Process Model and Notation (APMN) is an open, vendor-neutral, visual notation standard for designing workflows where humans, AI agents, and automated systems collaborate.

It is a superset of BPMN 2.0 — every APMN file is a valid BPMN 2.0 XML document. APMN-specific constructs live in the apmn: extension namespace, meaning existing BPMN tools open APMN files without modification.

APMN adds what BPMN was never designed for:

BPMN 2.0APN
Deterministic flow onlyProbabilistic (confidence-based) routing
Human tasks and service callsAgents, RAG, MCP tools, vector stores, memory
Binary gateways (yes/no)Confidence gates, reasoning gates, semantic gates
No observability conceptObservability events baked into the notation
No multi-agent conceptAgent handoff as a first-class flow element

New Node Types

NodeTypeDescription
🤖 agentTaskTaskLLM-driven task. Attrs: model, system_prompt, tools[], temperature
📚 ragTaskTaskRetrieval-augmented generation. Attrs: vector_store, top_k, similarity_threshold
🔌 mcpToolTaskTaskInvoke an MCP server tool. Attrs: server, tool_name, input_schema
👤 humanInLoopTaskTaskAgent proposes, human approves. Attrs: confidence_threshold, timeout
↗ agentHandoffTaskDelegate to a specialist agent. Multi-agent orchestration.
🧠 memoryTaskTaskRead/write agent memory (session or long-term).
⬡ vectorTaskTaskEmbed content into or query a vector store.
📡 observeEventEventEmit a trace/span to an observability platform (LangFuse, Phoenix, OTEL).

New Gate Types

GateDescription
confidenceGateRoutes on agent confidence score (0.0–1.0). Replaces binary exclusiveGateway.
reasoningGateRoutes by parsing LLM chain-of-thought output. No hard-coded condition.
modelVersionGateA/B or canary route between model versions. Safe model upgrade pattern.
semanticGateRoutes by vector similarity — input matched against intent clusters.
mcpGateCalls an MCP tool and routes on result (pass/fail/review).
escapeGateAuto-escalation. If agent fails, times out, or hits confidence floor — route to human.

Quick Example

# APMN v0.1 — Patient Preadmission
# xmlns:apmn="http://apmn.kshetra.studio/ns/1.0"

process:
  id: patient_preadmission
  name: Patient Preadmission
  targets: [orkes, google_adk]

nodes:
  - id: verify_insurance
    type: agentTask
    model: gemini-2.0-flash
    tools: [mcp://insurance-api, mcp://medicare-lookup]
    confidence_threshold: 0.95

  - id: check_policy_docs
    type: ragTask
    vector_store: hospital_policy_kb
    top_k: 5

  - id: gw_confidence
    type: confidenceGate
    source: verify_insurance.confidence
    routes:
      high:   ">= 0.95 → proceed"
      medium: "0.7–0.95 → human_review"
      low:    "< 0.7 → escalate"

  - id: compliance_check
    type: mcpToolTask
    server: mcp://compliance-checker.kshetra.studio
    tool: check_hipaa_consent

  - id: log_trace
    type: observeEvent
    platform: langfuse
    trace_name: insurance_verification

Reference Implementation

TwinTrack is the reference compiler for APMN.

APMN YAML / BPMN 2.0 + apmn: XML
             ↓
         TwinTrack
        /         \
Orkes JSON   Google ADK Python   (LangGraph, AWS Bedrock — coming)

Relationship to BPMN 2.0

APMN is designed as a superset, not a replacement:

  • APMN YAML files are the primary authoring format (human-readable, diff-friendly)
  • APMN also supports BPMN 2.0 XML with apmn: extension elements as an alternative input
  • All existing BPMN 2.0 node types (serviceTask, userTask, parallelGateway, etc.) are valid APMN and pass through unchanged
  • APMN extension elements are ignored by BPMN tools that don't support them — full backward compatibility

Spec


TwinTrack MCP Server

TwinTrack is the reference compiler for APMN. It exposes an MCP server so any MCP-compatible AI client can convert and compile APMN workflows directly.

Tools

ToolDescriptionCost
migrate_bpmnConvert BPMN 2.0 XML → APMN YAML1 credit
compile_apmnCompile APMN YAML → Orkes JSON or Google ADK Python1 credit
suggest_node_upgradeGuidance on upgrading a node to a better APMN typeFree
review_modelBest-practice review of a complete APMN modelFree
get_apmn_specSpec and platform mappings for any APMN node typeFree
list_samplesList bundled demo BPMN filesFree

Connect

Claude Desktop / Cursor — add to claude_desktop_config.json:

"twintrack": {
  "command": "npx",
  "args": ["-y", "mcp-remote", "https://bpmn2ai.kshetra.studio/mcp/", "--header", "X-Api-Key: YOUR_KEY"]
}

Claude Code CLI:

claude mcp add --transport http twintrack https://bpmn2ai.kshetra.studio/mcp/ --header "X-Api-Key: YOUR_KEY"

Get your API key at bpmn2ai.kshetra.studio — free tier available.


Roadmap

VersionTheme
v0.1 (now)Core node types, gates, YAML schema, XSD extension
v0.2Visual shape library, BPMN.io plugin
v0.3VS Code extension, APMN Playground
v1.0Stable spec, multiple reference implementations
v2.0Submit to OMG BPMN 3.0 working group

Contributing

APMN is governed as an open community standard. See CONTRIBUTING.md.

All contributions are welcome — spec clarifications, new node type proposals, example workflows, tooling.


License

Apache License 2.0 — see LICENSE.

The APN specification and all artefacts in this repository are free to use, implement, and extend without restriction.


APMN is an open standards initiative by Kshetra Studio.
Website: apmn.kshetra.studio · GitHub: kshetra-studio/apmn

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for TwinTrack MCP server for APMN workflow compilation from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/apmn)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools