proxmox-mcp-server lets Claude, or any MCP client, run a Proxmox lab: VMs, containers, storage, firewall, Ceph, SDN, backups, the lot. I wrote about it a year ago. This week it went from 2.9 to 2.14, in five releases, and it does two things it couldn’t do before:
- It talks to Proxmox Datacenter Manager. One connection reaches every remote PDM manages.
- It builds a machine when you ask for one. “Spin up a Kali VM” now ends with a running VM and an address, not a list of steps.
Along the way, two security holes got closed, container restores started restoring, and there’s a new appliance in my lab: PDM itself, running as a container. Claude Code did the building and the testing with me, against that lab.
Every claim in this post has receipts. Receipts: proxmox-mcp-server 2.14, Behind the Scenes shows what was run, what was read from the code, and what was only documented, with the ledger and every piece of evidence published.
What’s new since 2.9
| Release | What changed |
|---|---|
| 2.10 | Tool inputs can no longer steer a call onto a protected guest; secrets stay out of the audit log; the Docker image runs exactly what CI tested |
| 2.11 | PROXMOX_CA_BUNDLE verifies Proxmox’s own self-signed certificates, with a warning when nothing is verified |
| 2.12 | Container restores keep the backup’s configuration, and can resize disks on the way in |
| 2.13 | A pdm toolset: 89 tools for Proxmox Datacenter Manager, generated from its own API schema |
| 2.13.1 | The seven PDM tools that need PDM’s superuser say so, and say what to use instead |
| 2.14 | deploy_ubuntu_vm, deploy_kali_vm, deploy_windows11_vm and deploy_pdm_vm: an OS by asking |
That’s 435 tools in 2.14, up from 341: 346 for Proxmox VE and 89 for Datacenter Manager.
Ask for a machine, get a running one
Before 2.14, deploying meant a cloud image already sitting on your storage and a template to clone. Now there’s one tool per OS, and each one does the whole job:
An illustration from the project's README. The addresses and VM numbers are examples.
- Fetch the official image and check it against the publisher’s checksum. It’s cached on the node and reused next time.
- Hand the guest its first-boot settings on a small ISO the server builds itself: cloud-init’s
cidatafor Linux,autounattend.xmlfor Windows. - Create and start the VM on the bridge and VLAN you name.
- Wait for the guest agent and read the address it reports.
- Delete the seed ISO, because it held the credentials.
You get back the address, the user and either your SSH key or a generated password, which is returned once and not kept. Each OS has its quirks: Datacenter Manager is installed on Debian 13 from the no-subscription repository, and Windows 11 gets UEFI, Secure Boot keys, TPM 2.0 and the VirtIO drivers during Setup. The server even presses the key at Windows’ “Press any key to boot” prompt.
One honest label: the four deploy tools are documented, not tested end to end. They pass their unit tests against a fake Proxmox, all 206 tests in the new feature files, but this study didn’t build a live VM with them. The two hardest pieces were run for real, though.
Kali, without uploading 25 GiB
Kali publishes its cloud image as a .tar.xz. Proxmox can decompress gzip, lzo, zstd and bzip2, but not xz, so it can’t take the file as-is. And inside the archive is a 25 GiB raw disk, mostly empty.
So the server repacks it. It reads the disk, skips the empty parts, and writes a qcow2 with only the clusters that hold data. Against Kali 2026.3’s real image:
- 252 MB downloaded in 5 seconds, SHA-256 matching Kali’s published list.
- Repacked in 12 seconds into 17,329 data clusters of 64 KiB.
- A 1.06 GiB file for a 25 GiB disk, with the boot sector and GPT header where they belong.
The first-boot ISO was checked the same way: built by the server’s own ISO writer, mounted by macOS, and read back as ISO Joliet with the volume name cidata. Neither piece needed a new dependency.
Datacenter Manager, through one connection
Proxmox Datacenter Manager watches and manages many Proxmox VE clusters and Backup Servers from one place. I installed it in my lab this week, as a container, and then went looking for whether proxmox-mcp-server supported it. It didn’t. Now it does.
An illustration from the project's README. My lab has one remote, so the three remotes and the cross-cluster move are examples.
- 327 endpoints mapped, 89 tools. PDM publishes its API schema, so the tools are generated from it, and every input is checked against PDM’s own patterns and limits before a request goes out. Regenerating from PDM’s live schema changes no committed file.
- Actions, not just reads. Start, stop, shut down, resume, snapshots (create, edit, roll back, delete) and refreshes all came back
task OKon throwaway guests in my lab, through PDM. - Protected guests stay protected.
PDM_PROTECTED_GUESTStakespve01:104or*:9000-9010. A stop on a protected guest, and a migration onto one, were both refused. - A token, kept in the Keychain. PDM’s docs are clear that tokens get nothing for free: “API tokens require their own ACL entries.” Mine has roles on
/resourceand/system.
There’s one wall a token can’t climb. Seven PDM endpoints, including the list of Proxmox VE remotes and the metrics trigger, declare no access rule at all, which in Proxmox’s API framework means superuser only: root@pam signed in with a password. Every API token gets 403 Forbidden, whatever its roles. I kept those seven tools, and when PDM refuses one, it now says why and what to use instead:
pdm_pve_list_remotes needs elevated permissions … Changing the token’s permissions can’t fix this. Instead, pdm_list_remotes lists every remote with its type.
Migrating a guest to another cluster is in the toolset (pdm_pve_remote_migrate_guest) and its guard was tested, but a real move wasn’t. My lab has one cluster, so that one is documented, not tested.
Two holes, closed
2.10 started with a shakedown of the repo, and two findings were worth a release on their own:
- Tool inputs could steer a call onto a protected guest. With guest 100 protected, a
vmidof"999/../100"sent a stop to guest 100, and a replication job ID of"../../nodes/pve/qemu/100/config"changed that guest’s config. The HTTP client resolved the.., and nothing checked the inputs against their types. In 2.14 both calls are refused before any request is sent. - A private key went into the audit log.
upload_node_custom_certwrote the certificate’s key to the log in plain text, because the field’s name,key, didn’t look secret to the redactor. Now it’s written as***, as are ACME plugin credentials, webhook headers and guest-agent stdin.
Both were run against 2.9.0 and 2.14.0 side by side, against a fake Proxmox, and the receipts show the requests each version sent.
Restores that restore
restore_container_backup never told Proxmox it was doing a restore. So Proxmox treated the backup as a template: it dropped the network, mount points and features, made the container unprivileged, and refused unique. 2.12 fixes that, and adds rootfs and mp0–mp255, so you can resize disks during a restore. That’s the only way to shrink a container’s disk.
This one was reported by Will Furphy (@wfurphy) in #89. Thank you, Will. Restoring my PDM container’s backup as a test container brought back its network, nesting and tags, and a second restore with a smaller disk worked too.
Certificates you can verify
Proxmox ships with its own self-signed certificates, and most setups just turn verification off. 2.11 adds PROXMOX_CA_BUNDLE, so you can point the server at your cluster’s /etc/pve/pve-root-ca.pem and verify it properly. PDM_CA_BUNDLE does the same for Datacenter Manager, with PDM_TLS_NAME because PDM’s certificate doesn’t name its IP address. When nothing is verified, the server now warns at startup. Its tests pass in the suite; this study didn’t run them separately, so it’s labeled documented.
What it still can’t do
- Call PDM’s superuser-only endpoints with a token. That’s PDM’s rule, not the server’s. Seven tools explain it instead.
- Prove a cross-cluster migration. It’s in the toolset, and its guard was tested. My lab has one cluster.
- Prove the deploy tools end to end. They’re unit-tested against a fake Proxmox. The Kali repack and the seed ISO were run for real; a full live build wasn’t part of this study.
Get it
- Release: v2.14.0, with 1,234 tests passing
- Datacenter Manager: set
PDM_HOSTand aPDM_TOKEN_ID/PDM_TOKEN_SECRET; thepdmtoolset loads on its own - Source and docs: github.com/ry-ops/proxmox-mcp-server
And if you want to check my work, the receipts are a click away.