> ## 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.

# Process patient documents only on the practice's Mac

> A medical practice pairs its Mac mini with LM Studio as a local provider for confidential content, asks Claude about a patient record and checks where the answer was produced.

30 minutesAdvancedIT adminsIndustry: medical practice

“Praxis Muster” runs a Mac mini with LM Studio at the reception desk. Anna Keller, the practice's admin, pairs it as a local provider: it receives only confidential content, and the Swiss providers answer everything else. Then Lea Meier asks Claude about a patient record, and Anna checks which model answered.

> [!NOTE]
>
> The companies, people and addresses in this tutorial are examples. Use the names and addresses of your own tenant.

## The goal

```mermaid theme={"system"}
flowchart LR
  L[Lea in Claude] --> N[The practice's Node]
  N -- "confidential" --> C[Mono Connector on the Mac mini]
  C --> S[LM Studio :1234]
  N -- "internal, public" --> P[Swiss providers]
```

> [accordion] What you need
>
> * **A Node for the practice**, in Mono Cloud or self-hosted, with at least one provider for “internal”. Here is how to start: [Set up Mono Cloud](https://mono.mintlify.site/en/getting-started/admins-cloud.md).
> * **Anna Keller** has the admin role.
> * **A Mac mini** with Apple silicon, the macOS password and LM Studio with a loaded chat model.
> * **Patient documents in the practice's knowledge** with the data class (“public”, “internal” and “confidential”. They decide where content may go.) “confidential”. Documents get into the knowledge through a Mono Connector's scan inbox: [Connect a NAS and a scanner](https://mono.mintlify.site/en/tutorials/nas-and-scanner.md).
> * **Lea Meier** has connected Claude to the tenant server (The MCP server for all employees, with the tenant's name.) “Praxis Muster”: [Use Mono in your AI client](https://mono.mintlify.site/en/users/use-mono-in-your-ai-client.md).
> * **A contract with Anthropic** that covers patient data, before Claude receives “confidential” (step 6). Clarify this with your data protection advisor.

> [accordion] Why through a Mono Connector and not directly?
>
> The Mono Connector (Connects devices on site to the Node, outward only.) connects only outward over HTTPS. The practice needs no open port, no VPN and no firewall rule for it. A Node in Mono Cloud can reach the Mac only this way in any case.

## Step by step

**1. Prepare LM Studio on the Mac mini**

In LM Studio, load the chat model the practice uses and start the local server on port 1234. The server only has to answer on the Mac itself: the Mono Connector runs on the same device.

With LM Studio's command-line tool, it works like this:

```bash macOS theme={"system"}
lms load <Name des Modells>
lms server start --port 1234
```

> [!TIP]
>
> You now see the server as running in LM Studio, with the loaded model.

**2. Connect the local model server in the Console**

> [tab] In the Console
>
> 1. Open “Operations” and choose “Add”.
> 2. In the field “Address of a device or model server”, enter `127.0.0.1:1234`.
> 3. Choose the row “Connect the model server at 127.0.0.1:1234” and there “Connect”.
> 4. Choose the tab “Via Mono Connector”. Under “1 · Start the model server”, the Console shows lines for Ollama and vLLM. You don't need them, because LM Studio is already running.
>
> Under “2 · Pair a Mono Connector” there is the note “On the same device; the Connector finds the server at [http://127.0.0.1:1234/v1.”](http://127.0.0.1:1234/v1.”) and below it the line for the Mac.

> [tab] In the chat
>
> Ask “Mono Admin”:
>
> With “Mono Admin” of Praxis Muster
>
> Pair a new Mono Connector.
>
> “Mono Admin” gives you the line for Linux and macOS. For LM Studio, append `--models-url http://127.0.0.1:1234/v1`. Without this addition, the Mono Connector looks for the model server on port 8000. Then “Mono Admin” asks for the verification code, the name and the data classes; for the data classes, answer “confidential only”.

> [!TIP]
>
> You now see the tab “Via Mono Connector” with the note about [http://127.0.0.1:1234/v1](http://127.0.0.1:1234/v1) and the line's “macOS” tab.

**3. Run the line in the Mac's Terminal**

On the Mac mini, open Terminal (Applications › Utilities › Terminal). Copy the line from the “macOS” tab and run it. Terminal asks for your Mac password.

```bash macOS theme={"system"}
curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://ki.praxis-muster.example/connector/install.sh | sudo bash -s -- --code 7Q4K-2D9M --models-url http://127.0.0.1:1234/v1
```

The address and the pairing code are examples. The code in the Console is valid once and only until the time shown below it.

> [!TIP]
>
> You now see a six-digit verification code in Terminal. The Mono Connector runs as a service, even when nobody is signed in to the Mac.

**4. Compare the verification code and choose “confidential only”**

The Console shows “Device “…” (…) is reporting” with the question “Does the device show this code?”.

1. Compare the code with the one in Terminal.
2. Under “Name”, enter `Mac mini Praxis`.
3. Check the row “Model server: …”. It names the model from LM Studio.
4. Tick “Only confidential content to this device”. Internal and public requests then keep going to the Swiss providers.
5. Choose “Code matches, pair”.

> [!TIP]
>
> You now see “Paired as “Mac mini Praxis”, online” and “Next: its models are under Gateway › Models, the diagnosis checks the device.”

> [accordion] Why “confidential only”?
>
> The default is all three data classes, as with every local server. A Mac mini computes more slowly than a provider in a data center. With “confidential only”, it receives only what must not leave the practice, and the Swiss providers answer the other questions.

**5. Check the local provider**

1. Open “Gateway” › “Models”. The provider is called “Mono Connector · Mac mini Praxis” and carries “Local”.
2. Open the “Overview”. In the “Setup”, the step “Add models” says “Confidential data goes through Mono Connector · Mac mini Praxis”.

> [!TIP]
>
> You now see the Mac mini as the local provider for confidential data.

**6. Approve Claude for “confidential”**

Without this step, Mono withholds confidential documents from Claude and says so. That is the default.

> [tab] In the Console
>
> 1. Open “Gateway” › “Servers and clients” and, for Claude, “Change …”.
> 2. Under “Which data may go to Anthropic?”, tick “confidential”. Mono warns “Confidential data goes to Anthropic”.
> 3. Choose “Save”.

> [tab] In the chat
>
> With “Mono Admin” of Praxis Muster
>
> Approve Claude for all employees, with the data “public”, “internal” and “confidential”.
>
> “Mono Admin” shows “Please confirm” with before and after. Choose “Apply”.

> [!WARNING]
>
> Choose “confidential” for an AI client only if a contract with its provider covers patient data. The patient record itself is then read by the model on the Mac. But Claude receives what Mono returns: the local model's answer and, with the tool “Search knowledge”, the passages found as well. After the change, every person consents again.

> [!TIP]
>
> You now see the data classes “public”, “internal” and “confidential” with “customized” for Claude.

**7. Ask Claude about a patient record (Lea Meier)**

1. Lea opens Claude. Because the data classes have changed, Mono shows the consent once more. Lea chooses “Allow”.
2. Lea asks:

In Claude, with the tenant server “Praxis Muster”

Answer from the practice's knowledge: which allergies are noted in patient record P-1042?

For a question like this, Claude uses the tenant server's tool “Answer from knowledge”. Mono chooses the model by the data class of the documents found: for “confidential”, only the Mac mini answers.

> [!TIP]
>
> You now see an answer in full sentences and below it “Sources:” with the title of the patient record.

**8. Look up where the answer was produced**

1. Open “Gateway” › “Data routes”. Under “Routes by data class”, the row “confidential” shows only “local” under “Processed where”, and Claude under “AI clients”.
2. Under “Providers by place”, “local” shows “Mono Connector · Mac mini Praxis”.
3. Data routes shows where “confidential” may go. Which provider answered a particular question is in the audit log. Ask “Mono Admin”:

With “Mono Admin” of Praxis Muster

Show me the latest model calls in the audit log.

The entry reads something like “model.call · knowledge\_answer · … · ok · antworten · vertraulich · Standard”. The target names the Mono Connector's ID and the model from LM Studio. The audit log contains only metadata, never the question or the answer.

> [!TIP]
>
> You now see the call with “confidential” and the Mono Connector as the target in the audit log.

**9. Check what happens when the Mac is asleep**

Let the Mac mini go to sleep and ask the question from step 7 again. Claude receives no answer from the model, but the sentence “Confidential content runs only locally, and the local server is offline because the Mono Connector isn’t reporting.” Mono doesn't fall back to a Swiss provider.

If the Mono Connector doesn't report for more than 90 seconds, “Connectors” shows “offline” for the device. Under “Gateway” › “Models”, the provider shows “is offline because the Mono Connector isn’t reporting”.

To keep the Mac mini reachable, prevent automatic sleep in the macOS System Settings under “Energy”. LM Studio must be running with its server started, also after the Mac restarts.

> [!TIP]
>
> After you wake the Mac, you again see “online” for the device, and Lea's question gets an answer again.

> [!NOTE]
>
> From Mono 0.4.2, the Mono Connector finds LM Studio on port 1234 by itself. The line then needs no addition, and after pairing, the Console asks which model Mono uses. Here is how: [Find models on the GB10 automatically](https://mono.mintlify.site/en/tutorials/gb10-models-autodetect.md).

## If something doesn't work

> [accordion] “Confidential content runs only locally, and the local server is offline because the Mono Connector isn’t reporting.”
>
> The device with the local model isn’t reporting: it is asleep, switched off or has no network. For “confidential”, Mono never falls back to another provider, not even to a Swiss provider. These places say the same:
>
> | Where | What Mono shows |
> | - | - |
> | In the AI client | the sentence above, instead of an answer |
> | “Connectors”, at the device | “offline” |
> | “Gateway” › “Models”, at the provider | “is offline because the Mono Connector isn’t reporting” |
> | “Overview” › “Setup” › “Add models” | “1 provider answers; none yet for confidential data” (or the number of providers) |
> | In the chat with “Mono Admin”, today’s overview | “1 Mono Connector is not reporting: …” |
>
> Wake up or start the device and check its network. As soon as the Mono Connector reports again, confidential requests run again. Mono doesn’t catch up on anything: the person asks their question again.

> [accordion] “Confidential content runs only locally. No local provider is connected for “Answers”.”
>
> No local provider is paired for “confidential”, or the Mono Connector reports no model. Check under “Gateway” › “Models” whether “Mono Connector · Mac mini Praxis” is listed. If it is missing, pair the Mac again with `--models-url http://127.0.0.1:1234/v1` in the line.

> [accordion] Claude answers “More on this is not released for Claude.”
>
> Claude hasn't been given “confidential”. That is the default. Carry out step 6; Lea then consents again.

> [accordion] “Mono only found documents that Claude may not receive.”
>
> All matching documents are confidential, and Claude may not receive “confidential”. Proceed as in the entry above.

> [accordion] “The code has expired. Create a new one.”
>
> The pairing code is valid once and only for a short time. Choose “New code” and run the new line on the Mac.

> [accordion] “Paired as “Mac mini Praxis”. The device hasn’t reported yet. The diagnosis shows why.”
>
> The Mac is paired but doesn't report. Under “Operations” › “Sites”, open “Diagnosis” for the device. Common reasons: the Mac has no internet, or it is asleep.

> [accordion] The row “Model server: …” is missing at the verification code
>
> The Mono Connector found no model at the address from `--models-url`, and the checkbox “Only confidential content to this device” doesn't appear. Check whether the server is running in LM Studio and a model is loaded. Then pair again.

> [accordion] “Tools: no. The model didn't call a tool in the test.”
>
> Mono also tests every model for tools. A model without “Tools: yes” answers questions like the one in step 7, but agents don't use it. Load a model in LM Studio that can call tools, and choose “Check connection” under “Gateway” › “Models”.

## Result

The practice has a local provider for confidential content. Only the model on the Mac mini reads patient records, and Mono never falls back to another place. Data routes shows the permitted route, the audit log every call. When the Mac is asleep, Mono says so everywhere instead of answering.

## Next

> [card] [Keep confidential data on site](https://mono.mintlify.site/en/admins/confidential-on-site.md)
>
> How “confidential” stays on your own hardware.

> [card] [Local model servers](https://mono.mintlify.site/en/admins/models-local.md)
>
> vLLM, Ollama and LM Studio at a glance.

> [card] [Data routes](https://mono.mintlify.site/en/admins/data-routes.md)
>
> Where each data class may go.

> [card] [Tutorial: law firm with its own GPU](https://mono.mintlify.site/en/tutorials/kanzlei-confidential-gpu.md)
>
> Confidential client files on the GB10.


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