What you need
What you need
- The admin role at the tenant.
- An AI client with “Mono Admin”, for example Claude or ChatGPT (Connect an AI client), or locally an MCP client with a token of the audience
admin-mono. - For apps that need a model: a model provider that answers for the app’s data class.
Describe the app
- In the chat
- In the Console
Create a new app in the chat with “Mono Admin”
Check the blueprint
Test in the sandbox
- In the Console
- In the chat
Take it live
- In the Console
- In the chat
mono_find and open it with app_open, without a new tool. Claude and ChatGPT also list it as a prompt in the menu.What does the test run check?
What does the test run check?
- every assigned tool exists, is delivered and is not “off” on the server;
- writing tools need a confirmation; a sending tool set to “on” is an error;
- the groups are known, from the directory or from sign-ins;
- a model answers for the app’s data class if one of its tools uses a model;
- with knowledge, a real search for the app’s task that counts hits per data class and never stores content;
- the server’s tool budget stays at 40 at most;
- the name is free on every server of the Node.
Why does the test start over after every change?
Why does the test start over after every change?
When is “Pin” worth it?
When is “Pin” worth it?
app_<name> on the tenant server, at most 6 per server. All other apps run through app_open. Pin only apps that are needed very often. In ChatGPT, a workspace admin switches the new tool on once.What happens next?
What happens next?
- The tenant server sends
notifications/tools/list_changedandnotifications/prompts/list_changed; Claude reads the list again. - The tenant server’s instructions name the app from the next connection on.
- Every step (test run, live, paused, pinned) is in the tenant’s audit.
Undo
Undo
- “Pause”: the app is no longer visible on the tenant server until you choose “Resume”.
- “Discard draft”: back to the live version.
- “Unpin”: the pinned app runs through
app_openagain; its own tool disappears.
If something doesn’t work
If something doesn’t work
The same steps through the Node API
The same steps through the Node API
POST /api/v1/mandanten/:id/apps/:app/actions with { "action": "test" }, "live", "pause", "resume", "discard", "pin" or "unpin". GET /api/v1/mandanten/:id/apps/:app returns the app with its test run, tools and live version. An app is created through the “New app” flow of “Mono Admin”. More under Node API.Widgets with MCP Apps
An own app brings no widget of its own. It answers through the tenant server’s catalog, and there the widgetui://mono/company shows its starting points. If you contribute a widget to the core or change one, follow these rules.
Load nothing from elsewhere
services/gateway/src/ui/. It loads no script, no font and no image from another address. Double every backslash in regular expressions (\\s) and never write \/.Declare an empty CSP
widgetMeta sets an empty ui.csp for MCP Apps hosts, openai/widgetCSP for ChatGPT, and also openai/widgetDomain with the Node’s address, on the entry in resources/list and on the content in resources/read. Without the domain, ChatGPT shows “CSP off”. ui.domain stays empty because every host has its own format.Deliver the view through _meta
view; the Node sends it as _meta["mono/view"], never in structuredContent, so that the model does not read it. The text of the answer remains the full answer for clients without widgets.Report the size through the bridge
ui/bridge.ts. It reports the size as { width, height } from the first moment and on every layout change, and it answers the host’s ping and ui/resource-teardown. A widget that reports only its height stays at height 0 in Claude.Write only through the model or a confirmation
ui/message) instead of calling a tool themselves. Writing steps run through “Please confirm” and “Apply” as everywhere.Language, people and size
Language, people and size
- Widgets are built per connection in the person’s language; their words come from
widgetWords, which refuses words with a backslash, a double quote or</. - Photos of people come only inline in
_meta["mono/people"], at most 12 of 16 KiB each, and only if the Console shows them to this person too. - Mono splits a value field in “Please confirm” at « → » into before and after.
How is a widget tested?
How is a widget tested?
mono-admin-widget.spec.ts drives the widgets with the official AppBridge in a host from e2e/mcp-apps-host.ts, never with a host of its own. widget-csp.spec.ts loads every widget under the CSP a host builds from its declarations. The host page needs a <meta name="viewport">, or the 390 px test measures nothing.