npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@miragon-ai/camunda7-connector

v0.16.0

Published

Camunda 7 / CIB Seven MCP module: operations tools, widget tools, and cockpit widgets.

Readme

@miragon-ai/camunda7-connector

The camunda7 module for Miragon AI: Camunda 7 / CIB Seven BPM operations as camunda7_* MCP tools, plus the interactive cockpit widgets (MCP Apps). Built on @miragon-ai/camunda7-client and the @miragon/mcp-toolkit-* packages.

The server loads this module as camunda7 via camunda7Module (src/module.ts), which conforms structurally to the app's ModuleDefinition port. The package is published to npm in lockstep with the other @miragon-ai packages (pin them all to one version); the miragon-ai-starter template shows how to compose it into your own MCP server.

The consumer-shared libraries are ranged peer dependencies so they dedupe against your app's copy: react/react-dom ^19.2.0, zod ^4.4.0, @miragon/mcp-toolkit-* ~2.4.0. mcp-use is exactly pinned — pin it to [email protected] in your app; a duplicate mcp-use instance breaks the React context and hangs every in-widget query on "Loading…".

What it provides

  • Operations tools (src/tools/) — one file per domain (process-instances, tasks, incidents, jobs, history, …), registered through createToolRegistrar. Plain JSON for the model.
  • Widget tools (src/widget-tools.ts) — show_* tools that render a cockpit widget for the user and return a compact summary for the model, plus app-only *_data feeds for in-widget refresh and navigation.
  • Widgets (src/widgets/) — React components (cockpit dashboard, process & incident panels, BPMN viewer, history timeline, job panel) wired in registry.ts via adaptDataWidget.
  • Multi-engine routing — every tool resolves its engine through withEngine / resolveEngine (src/lib/): per-call override → saved default engine (profile) → single configured default.
  • Engine providers (src/engine-provider.ts, src/providers/) — each engine entry carries a vendor flavor (cibseven | operaton | camunda7, default cibseven) resolved to an EngineProvider holding only the real vendor differences: cockpit routes, branding, client hook. Mixed-vendor fleets run in one server.
  • Toolset filtering — src/lib/toolsets.ts narrows the surface to read-only / operations / admin.

Adding a tool or widget

This module has strict house patterns — read the add-bpm-feature skill and the architecture invariants in CLAUDE.md before adding tools, schemas, or widgets. In short: input schemas live in @miragon-ai/camunda7-client, tools register via the registrar (never raw server.tool()), and a widget must be wired across all four registration links.

Layout

| Path | Contents | | ------------------------ | ------------------------------------------------------------------------- | | src/tools/ | Registrar operations tools, one file per domain (index.ts wires them) | | src/widget-tools.ts | show_* widget tools and *_data feeds | | src/widgets/ | React widgets + registry.ts (component → dataType) | | src/definition.ts | Widget metadata (id, requires, size, propsSchema) | | src/tool-names.ts | Tool-name constants for rename-safe in-widget navigation | | src/lib/ | with-engine.ts (engine routing), cockpit-url.ts, toolsets.ts | | src/module.ts | camunda7Module (config schema, env mapping) + createBpmnXmlFetcher | | src/engine-provider.ts | The vendor provider port (EngineProvider, CockpitRef) | | src/providers/ | cibseven / operaton / camunda7 providers (cockpit routes, branding) | | src/steps/ | Pipeline steps contributed to the server |

Verify

pnpm typecheck is the only check that type-checks the widget .tsx (via tsconfig.widgets.json). Widgets render only manually through the inspector — see the root README.