What you need
What you need
- Node.js 22.12 or newer. The gateway and packages run as TypeScript directly on Node.js, without a build.
- pnpm 9 through Corepack, which comes with Node.js.
- git,
curland, for the examples,jq(macOS and Linux) or PowerShell (Windows). - A clone of Mono’s repository. It contains the core: Node, Console, Mono Connector and self-hosting. Mono Cloud is not part of it and is not needed for development.
1
Install the dependencies
In the repository’s folder:
2
Start the Node
http://localhost:8787 with the development sign-in. The demo’s state lives in memory and starts fresh at every restart. With MONO_STATE=file, it stays in services/gateway/.mono/state.json.Check whether it is running:/healthz names the version and whether the audit chain is intact.3
Get a development token
At its first start, the development Node writes the file For the tenant server, replace
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.4
Call the Node API
5
Send the first MCP call
As above, get a token for The list contains tools such as
admin-mono (Anna Keller) and list the tools of “Mono Admin”. The Node speaks MCP over Streamable HTTP and answers as JSON without a session.mono_start, inbox_list and betrieb_status. If you call mono_start with tools/call, you receive the greeting as text and as a widget (ui://mono/admin).A token of Lea Meier (
u-lea) for admin-mono gives 403: “Mono Admin” is for the admin group only. Lea uses the tenant server at /muster-gateway/mcp.Done – this is what it looks like
The Node runs locally,
/api/v1/me names Anna Keller as admin of Muster AG, and tools/list shows the tools of “Mono Admin”.Which addresses does the local Node have?
Which addresses does the local Node have?
Each server has its own audience: a token for
admin-mono is not valid at muster-gateway.And the Console?
And the Console?
pnpm dev starts the Mono Console at http://localhost:5173 with the demo world. pnpm dev:desktop starts the same Console in the desktop app. More under Run Mono from source.If something doesn’t work
If something doesn’t work
Next steps
The Node API
All routes, their rights and their audit.
MCP servers
“Mono Admin”, the tenant server and their tools.
Your own apps and widgets
Apps, prompts and MCP apps with
ui://.Contributing
Rules, tests and pull requests.