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, 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.
Requests it makes on its own 18
- GET
/api2/json/nodes/pve1/rrddata?timeframe={period.id} &cf=AVERAGE The host’s CPU and memory over the hour, day, week or month you pick.
ProxmoxEvery minute
- GET
/api2/json/nodes/pve1/timeThe host’s clock, so ages read right.
All fourEvery minute
- GET
/api2/json/nodes/pve1/apt/versionsInstalled Proxmox packages, the candidates waiting and the running kernel.
Proxmox, MaintenanceEvery minute
- GET
/api2/json/nodes/pve1/statusThe host’s uptime, CPU and memory.
Proxmox, Guests, BackupsEvery minute
- GET
/api2/json/cluster/resourcesEvery guest, with its state, CPU and memory, and the host’s state.
Proxmox, Guests, BackupsEvery minute
- GET
/api2/json/versionThe Proxmox VE version.
Proxmox, Guests, BackupsEvery minute
- GET
/api2/json/nodes/pve1/tasks?source=active Tasks running now, so a backup in progress shows as running.
Proxmox, BackupsEvery minute
- GET
/api2/json/nodes/pve1/tasks?typefilter=vzdump &limit=1 The last backup run and how it ended.
Proxmox, BackupsEvery minute
- GET
/api2/json/nodes/pve1/storage/backup-nas/content?content=backup The backups on the
backup-nasstorage.Proxmox, Guests, BackupsEvery 15 minutes
- GET
/api2/json/cluster/backupThe backup jobs and their schedules.
Proxmox, Guests, BackupsEvery 15 minutes
- GET
/api2/json/cluster/backup-info/not-backed-upGuests in no backup job.
Proxmox, Guests, BackupsEvery 15 minutes
- GET
/api2/json/nodes/pve1/storageHow full each storage is.
Proxmox, Guests, BackupsEvery 15 minutes
- GET
/api2/json/access/permissions?path=/nodes/pve1 What the token may do on the host, so the host buttons show only when they would work.
MaintenanceEvery minute
- GET
/api2/json/nodes/pve1/storage/backup-nas/content?content=backup &vmid={param.vmid} This guest’s backups.
GuestEvery minute
- GET
/api2/json/nodes/pve1/qemu/{param.vmid}/status/currentThis guest’s state, memory and uptime.
GuestEvery minute
- GET
/api2/json/nodes/pve1/qemu/{param.vmid}/configWhen the guest was made, so its backups since then count.
GuestEvery minute
- GET
/api2/json/nodes/pve1/tasks?vmid={param.vmid} &source=all &limit=12 This guest’s recent tasks.
GuestEvery minute
- GET
/api2/json/nodes/pve1/qemu/{param.vmid}/rrddata?timeframe={period.id} &cf=AVERAGE This guest’s CPU and memory over the period you pick.
GuestEvery minute
Requests it makes when you act 8
- POST
/api2/json/nodes/pve1/apt/updateRefreshes the host’s package index, and follows the task until it ends.
MaintenanceWhen you press Refresh package index
- POST
/api2/json/nodes/pve1/statusRestarts or shuts down the host (
{"command": "reboot"}or"shutdown"). Both ask first, with the host’s name to type: every guest stops.MaintenanceWhen you press Restart host or Shut down host, and confirm
- POST
/api2/json/nodes/pve1/qemu/{param.vmid}/status/startStarts the guest, and follows the task.
GuestWhen you press Start
- POST
/api2/json/nodes/pve1/qemu/{param.vmid}/status/stopStops the guest at once, like pulling the plug.
GuestWhen you press Force stop, and confirm
- POST
/api2/json/nodes/pve1/qemu/{param.vmid}/status/rebootRestarts the guest through its own operating system.
GuestWhen you press Reboot, and confirm
- POST
/api2/json/nodes/pve1/qemu/{param.vmid}/status/shutdownShuts the guest down through its own operating system.
GuestWhen you press Shut down, and confirm
- POST
/api2/json/nodes/pve1/qemu/{param.vmid}/status/resumeResumes a paused or suspended guest.
GuestWhen you press Resume
- POST
/api2/json/nodes/pve1/vzdumpBacks the guest up to
backup-nas(snapshot mode, zstd), and follows the task, up to an hour.GuestWhen you press Back up now, and confirm
Open console opens Proxmox’s noVNC console in your browser; it sends nothing itself. Sources and buttons explains each part of a page.
Set it up
- Make an API token. In Proxmox, Datacenter → Permissions → API Tokens, add one for a user (such as
legato@pve). For reading, give itPVEAuditoron/. For the guest buttons, addPVEVMUseron/vmsandPVEDatastoreUseron the backup storage; for the host buttons,Sys.ModifyandSys.PowerMgmton 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. - Add the pages. Paste the prompt into your agent, or download the five pages. In each, replace
https://proxmox.example.com:8006with your host’s address,pve1with your node’s name andbackup-naswith your backup storage. Run/Applications/Legato.app/Contents/Helpers/legato set proxmox proxmox.json, then the same forproxmox-guests,proxmox-backups,proxmox-maintenanceandproxmox-vm. Keep those page IDs: the pages open each other by them. - The guest page.
proxmox-vm.jsonis one page for every guest, made with params: the overview’s guest dots open it aslegato://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. - 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. From a shell:
/Applications/Legato.app/Contents/MacOS/Legato secret set proxmoxThe 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
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
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.