Skip to main content
You start a with the demo world of Muster AG, connect the Console to it and run the checks every change must pass.
  • Node.js 22, at least 22.18: the Node and the packages run directly as TypeScript (type stripping), without a build. The file .nvmrc names the version.
  • pnpm 9.12, through Corepack, which comes with Node.js.
  • Git and a clone of the repository.
  • For the desktop app: Rust (stable) and the Tauri 2 prerequisites for your system.
  • For the model worker (optional): Python 3.12 and uv.
  • For the examples on these pages: curl and jq.

Start

1

Install the dependencies

2

Start the development Node

The Node listens on http://localhost:8787, with sign-in through development tokens and the servers “Muster AG” (/muster-gateway/mcp) and “Mono Admin” (/admin-mono/mcp). It restarts when the code changes.At its first start, the development Node writes the file services/gateway/.mono/dev-tokens.json. It holds one token per demo person (Anna Keller and Marco Rossi as admins, Lea Meier as a member) and per audience (console, admin-mono, muster-gateway). The Node never prints the tokens in the log.
For the tenant server, replace console with muster-gateway; for “Mono Admin”, with admin-mono. The person ids are u-anna, u-marco and u-lea.
3

Start the Console in the browser

The Console opens at http://localhost:5173. Without a configuration it shows the demo, with no Node at all.
4

Connect the Console to the local Node

Create the file apps/console/public/config.json. It is not checked in.
apps/console/public/config.json
Reload the Console. Under “Development token”, paste a token with the audience console and choose “Sign in with token”.
5

Start the same Console in the desktop app

The desktop app is part of every stage. A change to the Console is done only when the desktop app builds as well and its smoke test passes.
The Console shows Muster AG’s “Overview” with the local Node’s data. The Inbox, “Gateway” and the audit now read from the Node.
All variables with an explanation are in deploy/node/.env.example. The Node refuses development tokens as soon as NODE_ENV=production is set.
Any MCP client that speaks Streamable HTTP with its own Authorization: Bearer … header, for example Claude Code, VS Code or Cursor, connects to http://localhost:8787/admin-mono/mcp with a token of the audience admin-mono. Claude, ChatGPT and Copilot on the web need a public HTTPS address; see MCP servers.
esbuild writes the Node into one file (dist/node.mjs), without node_modules at runtime. The step fails if something pulls in the AWS SDK: the core has no dependency on AWS. Running it at the tenant is described in Self-hosting.

Check and test

A change is done only when these checks are green. Tests are part of the change.
For every route on every device of the matrix (iPhone, iPad, Mac, Windows and Linux PC, Android, browser zoom 200 % and 400 %), it checks that the page never scrolls sideways, no text is clipped, touch targets measure 44 pt, focus is visible and axe finds no WCAG 2.2 AA violation. The contact sheets are then in apps/console/audit-results/audit/. Look at them before you report a UI change as done.
  • Once: cargo install tauri-driver --locked.
  • Linux: also webkit2gtk-driver; the test runs headless with xvfb-run.
  • Windows: also msedgedriver in the version of the installed Edge.
  • macOS: there is no WebDriver for WKWebView. bash scripts/desktop-mac.sh builds and opens the app for a manual check.
node apps/console/test-nodes/serve.ts starts the test Nodes of the e2e tests from port 8797. With a config.json pointing to http://127.0.0.1:8797 and "auth": { "kind": "dev" }, pnpm dev then works against them. The test Nodes accept helper routes under /__test/… only on 127.0.0.1.

Check a whole installation

A topology file describes an installation with all its hosts, tenants, models and Mono Connectors. The command prints names, never the values of secrets.
With --lang de, pnpm mono speaks German. Without it, it takes MONO_LANGUAGE, then the system’s language, then English.

Next

Node API

First requests to /api/v1.

MCP servers

Call tools locally.

Contributing

From the branch to the pull request.

Architecture

How the parts fit together.
Last modified on October 31, 2026