> ## Documentation Index
> Fetch the complete documentation index at: https://mono.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Describe a known system: the connection recipe

> How a known system comes into Mono as a recipe: file, format, sign-in, operations, checks and tests.

A known system is a recipe that ships with Mono: address, way, sign-in and, at first, only read operations. “Connect system” lists it by category, and a name in the chat finds it. A recipe is data, never code – each new system is one file.

## Where a recipe lives

| Place | For |
| - | - |
| `services/gateway/src/systems/known/<id>.json` | Mono's known systems |
| `packs/<pack>/systems/<id>.json` | public systems of a skill pack, such as simap.ch |

After every change, a script writes the module the server reads – a self-hosted server is one single file and reads no repository file at run time:

```bash theme={"system"}
node services/gateway/scripts/recipes.ts
pnpm --filter @mono/gateway exec vitest run src/systems/recipes
```

On a merge conflict in the generated module `systems/recipes/known.generated.ts`, run the script again – never merge it by hand.

## The format

The schema is `Recipe` in `@mono/node-contract/systems` (version `schema: 1`; a server refuses a newer version with the reason).

| Field | Content |
| - | - |
| `id`, `version`, `title` | id, recipe version, title in the five languages (de-CH required) |
| `names`, `aliases` | names and aliases people use for the system – checked before any address |
| `match.hosts` | hosts at which Mono recognizes the system |
| `address` | `fixed` (the same for everyone) or `ask` with a pattern on an `.example` host |
| `ways` | ways, best first: `mcp`, `openapi`, `rest`, `graphql`, `odata`, `soap`, `feed`, `caldav`, `webdav` – with the status in the vendor's own words; without a usable API “Coming soon” with today's way |
| `where` | `node`, `connector` or `either` |
| `signIn` | the sign-in (below) |
| `limits`, `dataClass` | calls per minute, page cap, data class |
| `operations` | at most 40, each with title and description in five languages, call, effect (`read`, `write`, `delete`) and input |
| `facts` | category, plan, rate limit, region – with the day they were read |
| `evidence` | for every claim the vendor's source and the date |

The categories are one list for the catalog and systems: Office and communication, Projects and tasks, Knowledge and notes, CRM and sales, Accounting and ERP, HR and payroll, Files, IT and development, Public authorities, On site.

## The sign-in

A provider of “Connect accounts” (Google, Microsoft, GitHub, Slack, Atlassian, Notion, HubSpot, Dropbox, Box, Zoom, Linear) is only **named**, never described again:

```json theme={"system"}
"signIn": { "kind": "connect", "connect": { "provider": "atlassian", "capabilities": ["jira"] } }
```

For all others, the order with the fewest rights first applies:

| `kind` | Meaning |
| - | - |
| `cimd` | the server's [client document](https://mono.mintlify.site/en/developers/client-document.md) |
| `dcr` | dynamic client registration |
| `registered-app` | the tenant's app at the vendor: `registeredApp` with console, permissions and, where the vendor accepts one, the manifest with `{redirectUri}` as its only placeholder |
| `org-token`, `client-credentials` | access for the whole tenant – only with `why`; write operations only with a reason |
| `key`, `bearer`, `basic`, `none` | key, token, user name and password, no sign-in |

A system without metadata for its authorization server names its endpoints in `signIn.oauth` (`authorize`, `token`, `scopes`). Mono never guesses a `/.well-known` path and first takes only permissions without `write`. `check` names a harmless read operation that proves the sign-in.

## What never goes into a recipe

No key, no token, no person, no customer's address. The check reads the raw file: `"secret"`, `"password"` and `"apiKey"` are forbidden with any value, `"token"` is allowed only as an https address without credentials (the token endpoint). A customer's host is asked with `address.ask`.

## What the server makes of it

* `GET /api/v1/mandanten/<id>/systems/known` lists the known systems for admins and the IT partner who reads along; never for employees.
* `POST /api/v1/mandanten/<id>/systems/by-name` turns a name into the draft – address, way, sign-in and read operations – and tests it once.
* `GET /api/v1/mandanten/<id>/systems/known/<system>/app` gives, for `registered-app`, the vendor's console, the server's redirect URI, the permissions and the filled-in manifest – never the secret.

In the chat the same works through `connectors_list` and “Mono Admin”. A connected system remembers its recipe (id, version, checksum, origin), never its data.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.