What you need
What you need
- Node.js 22, at least 22.18: the Node and the packages run directly as TypeScript (type stripping), without a build. The file
.nvmrcnames 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:
curlandjq.
Start
1
Install the dependencies
2
Start the development Node
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.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
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 Reload the Console. Under “Development token”, paste a token with the audience
apps/console/public/config.json. It is not checked in.apps/console/public/config.json
console and choose “Sign in with token”.5
Start the same Console in the desktop app
The Console shows Muster AG’s “Overview” with the local Node’s data. The Inbox, “Gateway” and the audit now read from the Node.
Which settings does the development Node take?
Which settings does the development Node take?
All variables with an explanation are in
deploy/node/.env.example. The Node refuses development tokens as soon as NODE_ENV=production is set.How do I connect an MCP client locally?
How do I connect an MCP client locally?
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.Build the Node as one bundle
Build the Node as one bundle
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.What does the UI audit check?
What does the UI audit check?
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.What does the desktop app need for its tests?
What does the desktop app need for its tests?
- Once:
cargo install tauri-driver --locked. - Linux: also
webkit2gtk-driver; the test runs headless withxvfb-run. - Windows: also
msedgedriverin the version of the installed Edge. - macOS: there is no WebDriver for WKWebView.
bash scripts/desktop-mac.shbuilds and opens the app for a manual check.
Test the Console against real test Nodes
Test the Console against real test Nodes
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.If something doesn’t work
If something doesn’t work
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.