# Settings

Click the gear at the foot of the sidebar, or press ⌘,. Settings opens in the window in a page's place, and the sidebar lists its panes; **Pages** at the top of the sidebar, a page, or the gear again goes back. These settings belong to the person using this Mac. They aren't in any page file, and an agent can't read or change them through the `legato` tool. An agent can refer to the names on this page when suggesting a change, such as "turn on **Show update times** in Settings → General".

The sidebar has eleven panes: Appearance, Pages, Assistants, Agent Access, Notifications, Updates, License, Secrets, Certificates, Lists and History. Longer panes scroll.

Some settings are per page, not in Settings: right-click a page in the sidebar for **Edit…** (name and icon), **Show Update Time**, **Show Icon in Title**, **Home Page** and [**Notifications**](https://legatobar.com/docs/notifications.md#each-pages-setting).

Explanations appear beneath the controls. Switching panes keeps unfinished License and Secrets input. Going back to the pages clears that input; saved preferences and credentials remain.

## General

### Appearance

| Setting | Default | What it does |
| --- | --- | --- |
| **Look** | System | Light, Dark, or as the Mac is set. |
| **Theme** | Standard | The page, the sidebar and the colour charts draw in: **Standard** (a cool grey), **Paper** (warm, brown charts) or **Mist** (cool, slate-blue charts). Colours that mean something, such as a state, a move up or down, or a colour a page names, stay the same in every theme. |
| **Accent color** | Indigo | Buttons, switches and what's turned on. Click the swatch to pick any colour: drag in the square and along the hue strip, type red, green and blue values, or take a colour from the screen with the eyedropper. The arrow beside it goes back to indigo. If white text on your colour would be hard to read, Legato draws it a little darker; in Dark it uses a deeper shade of the same hue. Selected rows and tabs stay grey. |
| **Show in menu bar** | On | An icon in the menu bar that brings Legato's window forward. |
| **Animate sidebar** | On | Slides the page over the sidebar when it's hidden, and off it when it's shown. Off, the sidebar appears and disappears at once. Reduce Motion in System Settings turns it off either way. |
| **Load icons from the web** | On | Lets cards show [item icons](https://legatobar.com/docs/card-fields.md#item-icons) from the web: Simple Icons, Dashboard Icons and Material Design Icons logos (loaded from jsDelivr), and websites' own icons. Each is downloaded once and kept on this Mac. Off, rows show only SF Symbols and nothing is downloaded. Posters and covers on media rows ([images on rows](https://legatobar.com/docs/card-numbers.md#images-on-rows)) don't follow it: they come from the service a card is connected to. |
| **Show logos in one colour** | On | Draws those logos in the text's colour, backgrounds taken out, so a card of logos looks like one set. Off, each keeps its brand's colours, on a tile. Needs **Load icons from the web**. |
| **Show update times** | On | "Updated 2 min ago" in each page's footer. A page's **Show Update Time** (right-click it) can override this: Always, after an hour, a day, two days or a week without updates, or Never. With it off, pages have no footer. |

### Pages

| Setting | Default | What it does |
| --- | --- | --- |
| **Open on** | Last page viewed | The page the window opens on: **Last page viewed**, or one page, its home page (also set by right-clicking a page and choosing **Home Page**). Spotlight, Shortcuts and notifications still open the page they're about. A renamed page stays home. If the home page's file goes away (deleted, renamed or moved out of the Pages folder), the window opens on the last page viewed and this shows the page as not found; it's home again if the file comes back. Deleting the page with **Delete Page…** clears the setting. |
| **New pages go to** | Original collection | Choose the collection for newly discovered sidebar pages. Existing pages keep their placement. This appears when collections exist. |
| **Recent activity** | On | Keeps each card's level changes (OK, Warning, Critical) for 7 days, shown in the Recent activity of a page's Details during the trial or with a license. Legato keeps only each card's id, its levels and the time, on this Mac. For a fleet card the id includes the item's name, such as a host. Off clears it. |
| **Open the page when you press a button from Spotlight** | On | A button run from Spotlight opens Legato's window on its page. Off, it runs and the window stays as it was. |

### Assistants

The AI apps Legato offers for talking about a page or a card: **Claude**, **Codex** and **Grok Bot**, each on or off. They're what **Discuss in…** lists when someone right-clicks a card or opens a page's menu or its Details, and what the Ask buttons on the welcome pages offer.

An app that isn't installed shows as "Not installed" and can't be turned on; one installed later is offered until it's turned off. All installed apps are on by default.

### Agent Access

**In short:** choose what agents can do through Legato's MCP server. Everything is on until you turn something off.

| Setting | What it covers |
| --- | --- |
| **MCP server** | Every tool. Off, the server offers agents no tools. |
| **Read pages and data** | `get_page`, `list_pages`, `preview_page`, `get_sidebar`, `list_rows`, `get_history` and `get_lists` |
| **Write pages** | `set_page` and `install_template` |
| **Delete pages** | `delete_page` |
| **Arrange the sidebar** | `set_collection`, `delete_collection`, `set_section`, `delete_section` and `move_page` |
| **Change History and lists** | `add_rows`, `delete_rows`, `set_list` and `delete_list` |
| **Manage secrets** | `get_secrets`, `set_secret_expiry` and `delete_secret`. None of them reads or saves a value. |

`get_page_schema` and `get_templates` stay on while the server is. They describe the page format and the templates, which an agent needs to write a page.

A change applies to agents already connected, from their next call. A tool that's off is left out of the tool list, and calling it anyway gets a `turned_off` error naming the switch. Legato tells the agent's app when the list changes, with its next answer.

The switches keep an agent to the work you want from it, but they don't lock anything: the `legato` command still does everything, and anything that can open the Pages folder can change the files. Write tools still answer with what they changed, such as the sidebar after a move, with **Read pages and data** off.

### Notifications

**Show notifications** (on by default) turns all of Legato's notifications on or off on this Mac. Each page has its own setting too, from right-clicking it in the sidebar: **Needs Attention**, **All Status Changes** or **Off**, and **Mute for 1 Hour**. If macOS has Legato's notifications turned off, this section says "macOS has notifications off for Legato", with an **Open System Settings…** button. See [Notifications](https://legatobar.com/docs/notifications.md).

### Updates

The version, **Check for updates automatically**, **About Legato** and **Check for Updates…**. Legato looks for a new version once a day and asks before installing anything. What changed in each version is on the [changelog](https://legatobar.com/changelog/).

## License

The trial or the license, adding a license, and the Macs a license is on. See [License](https://legatobar.com/docs/license.md) for how the trial and licenses work.

### Status

The top of the pane says where this Mac stands:

| Shows | Means |
| --- | --- |
| **Trial** · Ends in … | The 14-day trial is running. Every feature works. |
| **Trial** · Not started | Legato starts the trial with the licensing server the first time it can reach it. Connect to the internet, then **Try Again**. |
| **Trial** · Ended | Every page is locked until a license is added. The page files are kept as they are. |
| **License** · Legato Pro (yearly) or Lifetime | Licensed. Also shows **Licensed to** (the purchase email), **Paid through** for a yearly license, and **Last checked**. |
| **License** · Ended (date) | The yearly license has ended. Renew it, then **Try Again**. |
| **License** · Needs checking | Legato hasn't reached the licensing server for too long. Connect to the internet, then **Try Again**. |
| **License** · Legato (number) | The license is for an earlier major version of Legato. |
| **This Mac** · Not identified | macOS didn't give Legato the Mac's hardware id, which the license is tied to. This can happen in some virtual machines; write to support@legatobar.com. |

**Try Again** appears when an answer from the licensing server would change things. **Buy a License…** opens [legatobar.com's pricing](https://legatobar.com/#pricing).

### Adding a license

Without a license on this Mac, the pane shows both ways to add one, one above the other:

- **Sign in with your purchase email.** Type the address you bought Legato with into **Email** and choose **Send Code**. Legato emails a 6-digit code that works for 10 minutes; type it into **Code** and choose **Sign In**. **Send Again** sends a new code, and **Use Another Email** starts over.
- **Add your license key.** Paste the key from the purchase email into **License key** and choose **Activate**.

If the license is already on 5 Macs, the tab lists them, each with **Release**, so one can make room for this Mac.

### Macs

With a license on this Mac, **Show the Macs Using This License** lists each Mac on it with when it was last checked. **Release** takes another Mac off the license so its place goes to a new one. **Release This Mac** takes this one off; Legato stops showing pages here until the license is added again.

## Secrets

You can also give a template's secret in its install window: Legato checks it with the service before writing any page.

Passwords, tokens and API keys for pages' [sources](https://legatobar.com/docs/sources.md), each saved under a name and a host (`pihole`, `192.168.1.2`). Each is kept in this Mac's Keychain and sent only to its host, from this Mac. Page files name a secret; they never hold its value, and the `legato` tool never sees it.

At the top, **1Password**'s button reads **Set Up…** until a service account is saved, then **Configure…**; either opens the service account's sheet, which also says what reads 1Password. Below it, a search field (⌘F) finds secrets by name, host or the page that uses them, and a menu shows **All**, those that **Need attention**, those from **1Password** or those in the **Keychain**.

The list shows every saved secret and every one a page names that isn't saved yet, one per line: its name, the host it's sent to, where its value is kept and its status. Those that need something come first:

| Status | Means |
| --- | --- |
| Ready | Saved for this host, in the Keychain or as a 1Password reference that reads. |
| Not set | A page's source names it, and nothing is saved. Choose **Set…**. |
| Needs attention | Something else to do: it was saved by another build of Legato that this one can't read (**Replace…** and type it again); it's saved for a different host than the page names (**Set for HOST…**: Legato never sends a secret to a host it wasn't saved for); or it's a 1Password reference with no service account, or in a copy of Legato that can't read 1Password; or its expiry date is 14 days away or less, or has passed (**Replace…** with a new token). |

Hover over a secret for its full status. Double-click it (or press Return) for the one thing that sets it right: **Set…**, **Replace…** or **Set for HOST…**. Right-click it for those, **Set Expiry…** (change or clear only its expiry date), **Check Now** (a 1Password secret: reads it once and shows **Read just now** in its status, or what 1Password said, never the value), **Copy Name**, **Copy Reference** (**Copy References** for a secret in two fields) and **Remove…**.

- **+** (⌘N) opens **Add Secret**: **Name** (1–48 lowercase letters, digits and hyphens, such as `pihole`), **Host** (a host name or IP address, such as `pi.hole`, `192.168.1.2` or `fd00::1`, without `https://` or a port), **Value from**, the value, and **Expires**: tick it and pick the day for a token that stops working on a set day ([Expiry dates](https://legatobar.com/docs/secrets.md#expiry-dates)). **Value from** starts on 1Password once a service account is saved or any secret comes from 1Password. **Save** stores it, and every card waiting on it tries again at once.
  - **1Password:** type the item's **Reference**, such as `op://Legato/Pi-hole/password` ([Get secret references](https://www.1password.dev/cli/secret-reference-syntax#get-secret-references) shows where 1Password gives it). Saving reads it once, so a wrong reference shows in the sheet, not on a card. For a secret in two fields, such as a client ID and secret, choose **Two** under **Fields** and fill in **First** and **Second** ([A secret in two fields](https://legatobar.com/docs/1password.md#a-secret-in-two-fields)).
  - **Keychain:** type the secret into **Value**. It's never shown again.
- **Set…** opens the same sheet with the name and host a page asked for. **Replace…** keeps the secret's name and host, so a typo can't add a second secret; a 1Password secret's reference is filled in to change, a Keychain value never is.
- **−**, **Remove…** or the Delete key removes the selected secrets after asking: a Keychain value is deleted from this Mac and can't be recovered; a 1Password item stays in 1Password.

The **1Password** sheet holds the service account Legato reads 1Password secrets with: paste its token (it starts with `ops_`) and choose **Save**, or **Remove…** a saved one. Legato reads each value when a source needs it, keeps it in memory and reads it again every hour. See [Secrets from 1Password](https://legatobar.com/docs/1password.md).

A script or an agent can save a secret without the window, through the app itself, reading the value from standard input so it never appears in a command line:

```
op read 'op://Private/Pi-hole/password' | /Applications/Legato.app/Contents/MacOS/Legato secret set pihole
```

`Legato secret set NAME` takes `--host HOST` (by default, the host of the page that names it), `--replace` to overwrite a saved one, and `--1password REFERENCE` (twice for a secret in two fields) to link a 1Password item, which works only when the caller's `OP_SERVICE_ACCOUNT_TOKEN` is the token saved in Legato. `--expires DATE` saves the token's expiry date with it, and `Legato secret expires NAME DATE` changes only the date. `Legato secret list` lists saved secrets and those pages still need, and `Legato secret delete NAME` removes one. `Legato secret token set` saves the 1Password service account token from standard input, and `token delete` removes it. See [Secrets](https://legatobar.com/docs/secrets.md#from-the-command-line-or-an-agent) in the sources guide.

Saved 1Password references use the service account token saved now. With no token, choose **Set Up 1Password…**. A CLI link requires the same token saved in Legato; a different account must be linked here.

When collections exist, General also offers **New pages go to**. Choose where newly discovered sidebar pages belong. Existing pages stay where they are; detail pages remain outside collections.

## Certificates

**In short:** a server with a self-signed certificate, such as Proxmox or Pi-hole at an IP address, works once you trust its certificate here or on a template's Sign in.

Legato trusts one certificate per server, by its address and port (`192.168.1.2:8006`), and then accepts only that certificate from it. If the server's certificate changes, its pages stop and say so until you trust the new one; that holds even for a certificate macOS would accept. Only a server at an IP address or a `.local` name can be trusted this way, because macOS doesn't let apps make this choice for other names. Those need a certificate macOS trusts.

The table shows each trusted certificate, and any that Legato turned down since it started: the server, the certificate's name, when it expires and its status (**Trusted**, **Not trusted** or **Changed**).

- **Trust…**, or a double-click, shows the certificate first. Compare its fingerprint with the one the server shows before you choose **Trust**.
- **−**, **Remove…** or the Delete key stops trusting the selected certificate, after asking. Pages that read that server stop until you trust it again.
- Trusted certificates are kept in this Mac's Keychain. A page file, a template, an install link, the `legato` tool or an agent can't trust one.

## Lists

**In short:** a list holds words, places or symbols, such as your delivery area or a stock watchlist, that pages use by name. It's kept on this Mac, not in the page file, so the page can be shared as it is.

A page checks a list with an [`in_list`](https://legatobar.com/docs/lists.md#lists) condition, or [sends its entries](https://legatobar.com/docs/lists.md#sending-a-list) to a service. The table shows each list's entries, the pages that use it, and its status. **Used by** also names the services a page sends the list to: "Stocks · sent to finnhub.io". A list a page names but you haven't added yet says **Not set**.

- **+** (⌘N) adds a list, and **−** deletes the selected one. A name is 1–48 characters, `a–z`, `0–9` and `-`, starting with a letter or digit.
- **Edit…**, or a double-click, opens the list's entries one per row. Return adds a row, pasting several lines adds several, and **Done** saves.
- **Rename…** changes the name. Pages that use the old name show a note until they use the new one.
- A value matches an entry when it contains it as whole words, whatever the case, accents or punctuation: "Hill" matches "Hill, ST" but not "Hillside". Entries are plain text, never patterns.
- A list that's missing or empty makes its conditions false, sends nothing, and the page says to add it here.
- An agent can read and set lists with `get_lists` and `set_list`. A list it sets shows here at once.

## History

**In short:** everything pages keep on this Mac, in one list: each page's history and each page's sparkline readings. None of it syncs between Macs, and it leaves the Mac only when you export it.

The row at the top shows how much space History uses. The table lists each page with what it keeps, its size and its status, with anything that needs you first. **Show** narrows it to histories, sparkline readings or what needs attention.

- Select a row to see when it started, when it last collected, which pages read it, and any gaps. If it's paused, the fix is there too, such as **Continue this history** or **Start new history**.
- **Export…** saves the selection as JSON, and **Delete…** removes it from this Mac. Deleting can't be undone.
- **Details…** shows the readers, with **Grant…** and **Revoke**, each older history, and what was left out.
- An agent can see what this pane says, without the rows, with `get_history` or `legato history`.

See [History](https://legatobar.com/docs/history.md) for how pages collect and read a history.
