proxmox-mcp (MCP server for Proxmox VE API)


What It Does

Running pct list and qm list in SSH tabs is slow. Natural-language over MCP:

“Which VMs are running on pve? How much CPU is node pve using? Restart the mediaserver LXC.”

Server translates to Proxmox REST API calls, returns typed results, Claude explains.

Tools

ToolScopeWhat it does
list_vmsreadAll VMs across all nodes with status + resources
node_resourcesreadPer-node CPU, RAM, storage
vm_statusreadSingle-VM detail including config
recent_tasksreadLast N Proxmox task log entries
vm_startwriteStart a stopped VM
vm_stopwriteGraceful shutdown
vm_restartwriteStop + start
healthreadAPI reachability check

Snapshot and migrate are planned (vm_snapshot, vm_migrate).

Design Decisions

  • Read / write split — read tools are safe to call liberally; write tools render a confirmation summary in the Claude Desktop UI before executing (via MCP tool-use semantics).
  • Token auth, not password — Proxmox API tokens with narrowly-scoped privileges, not the admin user.
  • SSL verify configurable — homelab self-signed certs; PROXMOX_SSL_VERIFY=false for development.
  • No cluster-wide ops yet — single-node scope keeps the auth model simple.

Stack

Python 3.11+ · FastMCP · httpx (async) · Proxmox VE REST API · Pydantic schemas · token auth.

← back