# The study behind "proxmox-mcp-server 2.14: Datacenter Manager, and an OS by asking" # https://ry-ops.dev/posts/2026-11-12-proxmox-mcp-server-2-14-datacenter-manager-and-an-os-by-asking/ # # Evidence labeled kind: run was captured live on 2026-11-12, by Claude Code on the # author's Mac: against each release checked out at its tag, against the author's # Proxmox Datacenter Manager (read-only calls), and against Kali's published image. # Evidence labeled kind: transcript was copied from the 2026-11-09/10 Claude Code # session in which the features were built and tried on the author's lab; it was # not re-run. Lab addresses are replaced with placeholders inside the commands. [study] title = "proxmox-mcp-server 2.14: Datacenter Manager, and an OS by asking" date = "2026-11-12" tester = "Claude Code, on the author's Mac, against the two releases, the author's Proxmox lab and Datacenter Manager" platform = "macOS on a Mac mini; Python 3.13/3.14 with uv; Proxmox VE 9 (one node) and Proxmox Datacenter Manager 1.1.9 in the author's lab" setup = "Both releases were checked out from their git tags into a scratch folder and run with uv from their own lock files. Nothing was installed on the Mac or the lab for the captures. The Datacenter Manager calls use an API token kept in the macOS Keychain; it is never printed." not_tested = "The deploy_* tools end to end against a live node (unit-tested against a fake Proxmox only); a cross-cluster migration (the lab has one cluster); v2.9.0's behaviour against a live node (its column comes from its code, run against a fake Proxmox, and its source)." url = "https://ry-ops.dev/posts/2026-11-12-proxmox-mcp-server-2-14-datacenter-manager-and-an-os-by-asking/" [redact] "/private/tmp/claude-501/-Users-ryandahlberg-Projects/c3a39857-c41b-45c3-922e-07eb6676c51a/scratchpad" = "~/ry-ops/scratch" "~/Projects" = "~/ry-ops/projects" "~" = "~/ry-ops" [[subject]] id = "v290" name = "proxmox-mcp-server 2.9.0" version = "2.9.0" repo = "https://github.com/ry-ops/proxmox-mcp-server/tree/v2.9.0" site = "https://github.com/ry-ops/proxmox-mcp-server/releases/tag/v2.9.0" color = "#94a3b8" [[subject]] id = "v2140" name = "proxmox-mcp-server 2.14.0" version = "2.14.0" repo = "https://github.com/ry-ops/proxmox-mcp-server/tree/v2.14.0" site = "https://github.com/ry-ops/proxmox-mcp-server/releases/tag/v2.14.0" color = "#4ade80" # ---------------------------------------------------------------- capabilities # v2.9.0's column comes from its code at the v2.9.0 tag: run against a fake Proxmox where a # behaviour is shown, otherwise its tool list or source. Nothing in v2.9.0 was run on the lab. [[capability]] id = "traversal" label = "Tool inputs can't steer a call onto a protected guest" [capability.cells] v290 = { status = "not-found", note = "With guest 100 protected, a vmid of 999/../100 sent a stop to guest 100, and a replication id with ../ sent a config change to it.", looked = "the traversal probe run against v2.9.0", evidence = ["003", "019"] } v2140 = { status = "tested", note = "Both calls are refused before any request is sent.", evidence = ["004", "019"], excerpt = " requests sent to Proxmox: none" } [[capability]] id = "audit-secrets" label = "Private keys stay out of the audit log" [capability.cells] v290 = { status = "not-found", note = "The key from upload_node_custom_cert is written to the log as given.", looked = "the audit probe run against v2.9.0", evidence = ["005", "019"] } v2140 = { status = "tested", note = "The key is written as ***.", evidence = ["006", "019"], excerpt = "\"key\":\"***\"" } [[capability]] id = "pdm" label = "Works with Proxmox Datacenter Manager" [capability.cells] v290 = { status = "not-found", note = "No pdm toolset and no pdm_* tools.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "tested", note = "89 pdm_* tools; read-only calls to the author's PDM 1.1.9 answered.", evidence = ["009", "002"], excerpt = "pdm toolset loaded: 89 tools" } [[capability]] id = "pdm-schema" label = "Every PDM endpoint mapped, tools generated from PDM's own schema" [capability.cells] v290 = { status = "not-found", note = "No PDM support.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "tested", note = "Regenerating from PDM's live API schema maps 327 endpoints to 89 tools and changes no committed file.", evidence = ["008"], excerpt = "327 endpoints, 89 tools -> proxmox_mcp/tools/pdm_spec.json" } [[capability]] id = "pdm-actions" label = "Guest actions through PDM, with wait" [capability.cells] v290 = { status = "not-found", note = "No PDM support.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "tested", note = "Start, snapshot create/edit/rollback/delete, shutdown, stop and resume returned task OK on throwaway guests, before release (session transcript, not re-run).", evidence = ["017"], excerpt = "PASS pdm_pve_rollback_snapshot {\"type\": \"lxc\", \"vmid\": 113, \"snapname\": \"pdmtest\", \"wait\": true} task=OK" } [[capability]] id = "pdm-guard" label = "Protected guests are refused through PDM too" [capability.cells] v290 = { status = "not-found", note = "No PDM support.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "tested", note = "PDM_PROTECTED_GUESTS refused a stop on pve01:104 and a migration onto pve01:105 (session transcript, not re-run).", evidence = ["017"], excerpt = "Refusing pdm_pve_stop_guest: guest pve01:104 is protected (PDM_PROTECTED_GUESTS)" } [[capability]] id = "root-only" label = "Root-only PDM calls say what they need" [capability.cells] v290 = { status = "not-found", note = "No PDM support.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "tested", note = "pdm_pve_list_remotes explains the elevated permission and suggests pdm_list_remotes.", evidence = ["009"], excerpt = "pdm_pve_list_remotes needs elevated permissions" } [[capability]] id = "cross-cluster" label = "Migrate a guest to another cluster" [capability.cells] v290 = { status = "not-found", note = "No PDM support.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "documented", note = "pdm_pve_remote_migrate_guest is in the toolset, and its guard was tested. A real migration wasn't run: the lab has one cluster.", source = "https://github.com/ry-ops/proxmox-mcp-server/blob/v2.14.0/proxmox_mcp/tools/pdm_spec.json", evidence = ["002", "017"] } [[capability]] id = "deploy" label = "Deploy Ubuntu, Kali, Windows 11 or a PDM by asking" [capability.cells] v290 = { status = "not-found", note = "Only deploy_cloud_vms (needs the image on storage) and deploy_fortigate_vm.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "documented", note = "The four deploy tools and list_os_images are in 2.14.0 and pass their unit tests against a fake Proxmox. They have not been run end to end against a live node.", source = "https://github.com/ry-ops/proxmox-mcp-server/blob/v2.14.0/proxmox_mcp/tools/os_deploy.py", evidence = ["002", "012"] } [[capability]] id = "kali-repack" label = "Kali's official image without uploading 25 GiB" [capability.cells] v290 = { status = "not-found", note = "No Kali support; Proxmox itself can't decompress Kali's .tar.xz.", looked = "v2.9.0's tool list; Proxmox VE's decompressor list", evidence = ["001", "014"] } v2140 = { status = "tested", note = "Kali 2026.3's image, checksum matched, repacked to a 1.06 GiB qcow2 for its 25 GiB disk, boot sector and GPT intact.", evidence = ["015"], excerpt = "qcow2: magic b'QFI\\xfb' version 2, virtual size 25.0 GiB, file 1.06 GiB" } [[capability]] id = "seed-iso" label = "Builds the first-boot ISO itself" [capability.cells] v290 = { status = "not-found", note = "No ISO builder; deploy_cloud_vms uses Proxmox's own cloud-init drive.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "tested", note = "A cidata ISO from seediso.py mounts on macOS as ISO Joliet with user-data, meta-data and network-config.", evidence = ["011"], excerpt = " File System Personality: ISO Joliet" } [[capability]] id = "restore" label = "Container restores keep the backup's configuration" [capability.cells] v290 = { status = "not-found", note = "restore_container_backup never sends restore=1, so Proxmox treats the backup as a template.", looked = "proxmox_mcp at the v2.9.0 tag", evidence = ["007"] } v2140 = { status = "tested", note = "Network, nesting, tags and the rest came back; force with smaller disks worked (condensed from the session, not re-run).", evidence = ["018", "007"], excerpt = " rootfs: local-lvm:vm-113-disk-1,size=8G" } [[capability]] id = "ca-bundle" label = "Verify Proxmox's own self-signed certificates" [capability.cells] v290 = { status = "not-found", note = "Only PROXMOX_VERIFY_SSL against the system's CAs.", looked = "proxmox_mcp at the v2.9.0 tag", evidence = ["007"] } v2140 = { status = "documented", note = "PROXMOX_CA_BUNDLE (and PDM_CA_BUNDLE with PDM_TLS_NAME). Its own tests pass in the suite, but this study didn't run them separately.", source = "https://github.com/ry-ops/proxmox-mcp-server/blob/v2.14.0/proxmox_mcp/client.py", evidence = ["007", "012"] } # The gap: what no version does. [[capability]] id = "root-only-with-token" label = "Call PDM's superuser-only endpoints with an API token" gap = true [capability.cells] v290 = { status = "not-found", note = "No PDM support.", looked = "v2.9.0's tool list", evidence = ["001"] } v2140 = { status = "not-found", note = "Seven tools reach endpoints PDM 1.1 declares with no access rule; every token gets 403, so the tools explain instead.", looked = "PDM's source (list_remotes in server/src/api/pve/mod.rs); a live call", evidence = ["016", "009"] } # ---------------------------------------------------------------------- quotes [[quote]] text = "The API token is passed from the client to the server by setting the Authorization HTTP header with method PDMAPIToken to the value TOKENID:TOKENSECRET" url = "https://pdm.proxmox.com/docs/access-control.html" [[quote]] text = "API tokens require their own ACL entries" url = "https://pdm.proxmox.com/docs/access-control.html" # ---------------------------------------------------------------- replay steps # Kali, from Kali's mirror to something Proxmox can import. [[step]] title = "Kali publishes its cloud image as .tar.xz" sub = "Proxmox can decompress gz, lzo, zst and bz2, not xz" evidence = ["014"] excerpt = " bz2 => ['bzcat', '-q', '--']," [[step]] title = "Download it and check the checksum" sub = "252 MB in 5 s, SHA-256 matches Kali's list" evidence = ["015"] excerpt = "sha256 measured 087a9c43b6082b0a6aae666debe26c9edf6e3960a90952fc94720e755d628e58 match: True" [[step]] title = "Repack the sparse disk as qcow2" sub = "25 GiB disk, 1.06 GiB file, in 12 s" evidence = ["015"] excerpt = "repacked in 12 s: 17329 data clusters of 64 KiB" [[step]] title = "The disk still boots the same way" sub = "boot sector and GPT header where they belong" evidence = ["015"] excerpt = "disk starts with a boot sector (55 AA): True, GPT header: True" [[step]] title = "Hand it a seed ISO for first boot" sub = "cidata, built by the server, read as ISO Joliet" evidence = ["011"] excerpt = " Volume Name: cidata"