# Proxmox in your Mac’s menu bar

Legato shows your Proxmox VE host in the Mac’s menu bar: whether the host and its nightly backup are healthy, its CPU and memory over the last hour, day, week or month, and every guest as a dot. Four more pages open from it: the guests side by side, backups, package updates and the host’s own controls, and a page for each guest, with its console, power and backup buttons: one page that the overview fills in with whichever guest you open. Legato reads Proxmox’s API from your Mac with an API token kept in the Keychain or 1Password.

## What you’ll see

- **Proxmox:** the host’s state (it links to the web interface) and the nightly backup are in Details, and the health card turns orange or red when either needs a look. The page shows the host’s CPU and memory side by side for the period you pick, then a Host card with the package changes (that row opens Maintenance), the running and newest kernels and the uptime. Then every guest as a dot that opens its page, and Explore for Guests and Backups.
- **Guests:** how many are running, the host’s memory, and each guest’s CPU and memory as bars.
- **Backups:** how long the last run took, the schedule, how full the backup and `local-lvm` storages are, the newest backup of each guest, and the guests no job backs up.
- **Maintenance:** Controls to refresh the package index, and restart or shut down the host (only when the token may), the software status, and the packages waiting to update.
- **A guest:** titled with the guest’s name. Controls (Open console; Start, Force stop, Reboot, Shut down or Resume, whichever apply; Back up now), a Running strip of when it was up over the period (from samples the overview keeps in [History](https://legatobar.com/docs/history-collect.md#samples), every 5 minutes, for a year), its CPU and memory for the period you pick, its state, memory on the host and uptime, recent tasks and latest backups.

A guest you keep stopped on purpose shows grey and counts as fine: tag it `standby` in Proxmox. Any other stopped guest shows red.

### Status

- Watches the host, the nightly backup and every guest.
- Orange when the host is busy (CPU from 85%, memory from 90%) or the last backup failed or is over 26 hours old.
- Red when the host is offline or very busy, or a guest that should run has stopped.
- Notifies you when it turns orange or red.

## How it connects

Every request goes from your Mac to your Proxmox host with the token in an `Authorization` header. Nothing passes through Legato’s servers. Legato needs HTTPS. With the self-signed certificate Proxmox starts with, use the host’s IP address, such as `https://192.168.1.2:8006`, and trust the certificate once when Legato shows it; compare its fingerprint with the one under the node’s System → Certificates. A host name other than a `.local` one needs a certificate macOS trusts: turn on Let’s Encrypt in Proxmox (Datacenter → ACME), or put the host behind a reverse proxy with one.

| Request | Page | When | What it does |
| --- | --- | --- | --- |
| `GET /api2/json/nodes/pve1/rrddata?timeframe={period.id}&cf=AVERAGE` | Proxmox | Every minute | The host’s CPU and memory over the hour, day, week or month you pick. |
| `GET /api2/json/nodes/pve1/time` | All four | Every minute | The host’s clock, so ages read right. |
| `GET /api2/json/nodes/pve1/apt/versions` | Proxmox, Maintenance | Every minute | Installed Proxmox packages, the candidates waiting and the running kernel. |
| `GET /api2/json/nodes/pve1/status` | Proxmox, Guests, Backups | Every minute | The host’s uptime, CPU and memory. |
| `GET /api2/json/cluster/resources` | Proxmox, Guests, Backups | Every minute | Every guest, with its state, CPU and memory, and the host’s state. |
| `GET /api2/json/version` | Proxmox, Guests, Backups | Every minute | The Proxmox VE version. |
| `GET /api2/json/nodes/pve1/tasks?source=active` | Proxmox, Backups | Every minute | Tasks running now, so a backup in progress shows as running. |
| `GET /api2/json/nodes/pve1/tasks?typefilter=vzdump&limit=1` | Proxmox, Backups | Every minute | The last backup run and how it ended. |
| `GET /api2/json/nodes/pve1/storage/backup-nas/content?content=backup` | Proxmox, Guests, Backups | Every 15 minutes | The backups on the `backup-nas` storage. |
| `GET /api2/json/cluster/backup` | Proxmox, Guests, Backups | Every 15 minutes | The backup jobs and their schedules. |
| `GET /api2/json/cluster/backup-info/not-backed-up` | Proxmox, Guests, Backups | Every 15 minutes | Guests in no backup job. |
| `GET /api2/json/nodes/pve1/storage` | Proxmox, Guests, Backups | Every 15 minutes | How full each storage is. |
| `GET /api2/json/access/permissions?path=/nodes/pve1` | Maintenance | Every minute | What the token may do on the host, so the host buttons show only when they would work. |
| `POST /api2/json/nodes/pve1/apt/update` | Maintenance | When you press Refresh package index | Refreshes the host’s package index, and follows the task until it ends. |
| `POST /api2/json/nodes/pve1/status` | Maintenance | When you press Restart host or Shut down host, and confirm | Restarts or shuts down the host (`{"command": "reboot"}` or `"shutdown"`). Both ask first, with the host’s name to type: every guest stops. |
| `GET /api2/json/nodes/pve1/storage/backup-nas/content?content=backup&vmid={param.vmid}` | Guest | Every minute | This guest’s backups. |
| `GET /api2/json/nodes/pve1/qemu/{param.vmid}/status/current` | Guest | Every minute | This guest’s state, memory and uptime. |
| `GET /api2/json/nodes/pve1/qemu/{param.vmid}/config` | Guest | Every minute | When the guest was made, so its backups since then count. |
| `GET /api2/json/nodes/pve1/tasks?vmid={param.vmid}&source=all&limit=12` | Guest | Every minute | This guest’s recent tasks. |
| `GET /api2/json/nodes/pve1/qemu/{param.vmid}/rrddata?timeframe={period.id}&cf=AVERAGE` | Guest | Every minute | This guest’s CPU and memory over the period you pick. |
| `POST /api2/json/nodes/pve1/qemu/{param.vmid}/status/start` | Guest | When you press Start | Starts the guest, and follows the task. |
| `POST /api2/json/nodes/pve1/qemu/{param.vmid}/status/stop` | Guest | When you press Force stop, and confirm | Stops the guest at once, like pulling the plug. |
| `POST /api2/json/nodes/pve1/qemu/{param.vmid}/status/reboot` | Guest | When you press Reboot, and confirm | Restarts the guest through its own operating system. |
| `POST /api2/json/nodes/pve1/qemu/{param.vmid}/status/shutdown` | Guest | When you press Shut down, and confirm | Shuts the guest down through its own operating system. |
| `POST /api2/json/nodes/pve1/qemu/{param.vmid}/status/resume` | Guest | When you press Resume | Resumes a paused or suspended guest. |
| `POST /api2/json/nodes/pve1/vzdump` | Guest | When you press Back up now, and confirm | Backs the guest up to `backup-nas` (snapshot mode, zstd), and follows the task, up to an hour. |

Open console opens Proxmox’s noVNC console in your browser; it sends nothing itself. [Sources and buttons](https://legatobar.com/docs/sources.md) explains each part of a page.

## Set it up

1. **Make an API token.** In Proxmox, Datacenter → Permissions → API Tokens, add one for a user (such as `legato@pve`). For reading, give it `PVEAuditor` on `/`. For the guest buttons, add `PVEVMUser` on `/vms` and `PVEDatastoreUser` on the backup storage; for the host buttons, `Sys.Modify` and `Sys.PowerMgmt` on the node. Leave out what you don’t want pressed from the menu bar: a button the token can’t use either fails or, on Maintenance, doesn’t show.
2. **Add the pages.** Paste the prompt into your agent, or download the five pages. In each, replace `https://proxmox.example.com:8006` with your host’s address, `pve1` with your node’s name and `backup-nas` with your backup storage. Run `/Applications/Legato.app/Contents/Helpers/legato set proxmox proxmox.json`, then the same for `proxmox-guests`, `proxmox-backups`, `proxmox-maintenance` and `proxmox-vm`. Keep those page IDs: the pages open each other by them.
3. **The guest page.** `proxmox-vm.json` is one page for every guest, made with [params](https://legatobar.com/docs/detail-pages.md#one-page-for-every-item): the overview’s guest dots open it as `legato://page/proxmox-vm?vmid=101&name=home-assistant`, and it fills in that guest’s ID and name. There’s no copy to make per guest. It’s for virtual machines, the guests the overview lists; containers aren’t shown.
4. **Save the token** in Legato’s Settings → Secrets under the name `proxmox`, as Proxmox writes it: `PVEAPIToken=legato@pve!panel=<secret>`. Or link it from [1Password](https://legatobar.com/docs/1password.md). From a shell:

```bash
/Applications/Legato.app/Contents/MacOS/Legato secret set proxmox
```

The cards fill within a minute while Legato is running and the host is reachable. The overview is in the sidebar; the other pages open from it.

### Prompt for your agent

```prompt
Add 5 Legato pages for Proxmox, starting from https://legatobar.com/examples/proxmox.json, https://legatobar.com/examples/proxmox-guests.json, https://legatobar.com/examples/proxmox-backups.json, https://legatobar.com/examples/proxmox-maintenance.json, https://legatobar.com/examples/proxmox-vm.json. Use the page IDs proxmox, proxmox-guests, proxmox-backups, proxmox-maintenance, proxmox-vm if they’re free: the pages link to each other by those IDs, so with any other ID, change the matching legato://page/ links.

Replace https://proxmox.example.com:8006 with my host’s address, pve1 with my node’s name and backup-nas with my backup storage’s name, in every page. Add proxmox-vm once, as it is: it’s one page for every guest, and the overview opens it with each guest’s ID and name. I’ll save the token as proxmox in Settings → Secrets myself. Don’t press any guest or host button to test it.

Use the local Legato MCP tools or /Applications/Legato.app/Contents/Helpers/legato.
Use list_pages first and choose an unused page ID. Do not overwrite an existing page. If I explicitly ask to update one, read its full body with get_page, preserve unrelated cards and settings, and use if_match with that version. On version_mismatch, read again before merging.
Ask me only for non-secret setup details that are missing. Never ask me to paste a password, token or API key into chat, page JSON or command arguments. Tell me to save it in Settings → Secrets for the service host, or link it from 1Password there.
Use the downloadable page, not the illustration’s sample data. Never invent readings. Fix any invalid_page paths and verify that the page loads. Do not press buttons that change the service or real devices to test it.
```

### Download the pages

- [Download Proxmox (proxmox.json)](https://legatobar.com/examples/proxmox.json)
- [Download Guests (proxmox-guests.json)](https://legatobar.com/examples/proxmox-guests.json)
- [Download Backups (proxmox-backups.json)](https://legatobar.com/examples/proxmox-backups.json)
- [Download Proxmox maintenance (proxmox-maintenance.json)](https://legatobar.com/examples/proxmox-maintenance.json)
- [Download Guest (proxmox-vm.json)](https://legatobar.com/examples/proxmox-vm.json)

## Questions

### Does it work with a cluster?

The pages watch one node, named in every path. For a second node, make a second set of pages with unused page IDs and that node’s name.

### Why don’t I see the host buttons on Maintenance?

They show only when the token has `Sys.Modify` (Refresh package index) or `Sys.PowerMgmt` (Restart and Shut down) on the node. Without them the Controls card stays hidden, and the rest of the page works as before.

### Do the buttons ask first?

Force stop, Reboot, Shut down and Back up now ask in the panel before they run, and Restart host and Shut down host ask you to type the host’s name. Spotlight presses a page’s buttons without asking, so leave out any you don’t want there.

### How often do the pages update?

Every minute, and the backups and storage every 15 minutes. A press of a button follows its task in Proxmox and reads the page again when it ends.

### Where is the token kept?

In your Mac’s Keychain, or in 1Password if you link it from there. Legato sends it only to your host, and the page files hold just the name `proxmox`.

*These are the pages running against a real Proxmox VE 9 host on November 6, 2026, with its address and names replaced; they fill every card there. The guest and host buttons weren’t pressed in that check. Illustrations use made-up readings. Proxmox is a trademark of Proxmox Server Solutions GmbH. Legato isn’t affiliated with or endorsed by Proxmox.*
