pve-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PVE_HOST | Yes | Proxmox host or IP (e.g. pve.example.lan) | |
| PVE_PORT | No | Proxmox API port | 8006 |
| PVE_SSH_KEY | No | SSH private key for node SSH access | |
| PVE_TIMEOUT | No | Request timeout | |
| PVE_SSH_PORT | No | SSH port for node SSH access | |
| PVE_SSH_USER | No | SSH username for node SSH access | |
| PVE_TOKEN_ID | Yes | API token id in the form user@realm!name (e.g. root@pam!mcp) | |
| PVE_NODE_HOSTS | No | Comma-separated node:address mappings (node:addr,...) | |
| PVE_VERIFY_SSL | No | TLS verification: false, true, or a CA bundle path such as a copy of /etc/pve/pve-root-ca.pem | |
| PVE_SSH_ENABLED | No | Set to true to enable the pve_node_ssh tool (also requires writes to be allowed) | |
| PVE_ALLOW_WRITES | No | Set to true to allow POST/PUT writes; without it the server is read-only (only GET calls are sent) | |
| PVE_TOKEN_SECRET | Yes | API token secret |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
MCP server exposing the Proxmox VE API.
Two layers:
curated tools for everyday work (guests, power, snapshots, config, create/clone/migrate, backups, tasks);
pve_api_search / pve_api_describe / pve_api, which reach every endpoint in the bundled schema with validation.
Writes need PVE_ALLOW_WRITES=true. Destructive calls (DELETE, stop/reset, rollback, node power) also need confirm=true on each call.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pve_api_searchB | Search the PVE API schema by words in the path or description (e.g. "firewall rules", "sdn vnet"). |
| pve_api_describeA | Show parameters, return shape and permissions for an endpoint. path may be a template (/nodes/{node}/qemu) or concrete (/nodes/pve1/qemu). verbose=true includes property-string sub-keys. |
| pve_apiB | Call any PVE API endpoint, e.g. pve_api("GET", "/nodes/pve1/qemu/100/config"). Params are validated against the schema first. Task-returning calls are waited for unless wait=false. dry_run=true validates and shows the request without sending it. |
| pve_cluster_statusB | Cluster name, quorum, nodes (online, IP), PVE version, and whether writes are enabled here. |
| pve_resourcesB | Every guest, storage, node or SDN zone in the cluster, with usage figures (cluster/resources). |
| pve_guestB | Status of a VM or container (node and type are found automatically), plus its config and snapshots. |
| pve_guest_powerA | Change a guest's power state and wait for it to finish. stop and reset are hard (need confirm=true); shutdown is a clean ACPI/init shutdown. |
| pve_guest_configA | Read a guest's config, or change it: set={"memory": 4096, "net1": "virtio,bridge=vmbr0"}, delete=["ide2"]. pending=true shows changes waiting for a reboot. Pass the digest from a read to refuse the change if someone else edited the config meanwhile. |
| pve_snapshotA | List, create, roll back or delete snapshots. rollback and delete need confirm=true. vmstate=true also saves RAM (VMs only). |
| pve_next_vmidB | The next free VM/CT id in the cluster. |
| pve_create_guestA | Create a VM (type="qemu") or container (type="lxc") on a node. params follow the PVE create API, e.g. VM: {"name": "web", "memory": 2048, "cores": 2, "scsi0": "local-lvm:32", "net0": "virtio,bridge=vmbr0", "ostype": "l26", "scsihw": "virtio-scsi-single"}; CT: {"ostemplate": "local:vztmpl/debian-13...tar.zst", "hostname": "ct1", "rootfs": "local-lvm:8", "net0": "name=eth0,bridge=vmbr0,ip=dhcp"}. Use pve_api_describe("/nodes/{node}/qemu", "POST") for every option. vmid defaults to the next free id. |
| pve_cloneB | Clone a VM or container (templates give linked clones unless full=true). target is the destination node. |
| pve_migrateA | Migrate a guest to another node. Running VMs migrate live when online=true; containers restart. |
| pve_destroy_guestA | Delete a VM or container and its disks. It must be stopped. Needs confirm=true. |
| pve_agent_execA | Run a command inside a VM through the QEMU guest agent and return exit code and output. command is argv, e.g. ["systemctl", "is-active", "nginx"]. Requires the agent to be installed and enabled. |
| pve_storageB | Without storage: storage list with usage (per node, or cluster-wide). With storage: its contents, optionally filtered by content type (images, rootdir, iso, vztmpl, backup, snippets, import). |
| pve_backupC | Back up guests with vzdump to a storage. Runs one job per node that hosts the guests. |
| pve_tasksB | Recent tasks on one node, or across the cluster when node is omitted. |
| pve_taskB | Status and log tail of a task by UPID. wait=true blocks until it finishes (up to timeout). |
| pve_node_sshA | Run a shell command on a node over SSH, for what the API cannot do (pct exec, logs, files). Needs PVE_SSH_ENABLED=true and PVE_ALLOW_WRITES=true, since commands can change the system. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 20 tools
Most tools target a distinct action (create, clone, migrate, destroy, power, snapshot, backup). There is some overlap in the read paths: pve_guest aggregates status+config+snapshots, which overlaps pve_guest_config and pve_snapshot, and pve_resources overlaps pve_cluster_status and pve_storage. The descriptions do clarify each tool's primary focus, so misselection risk is moderate rather than high.
All names share the pve_ prefix and snake_case, which gives a predictable family. However, the second segment mixes noun-only forms (pve_storage, pve_tasks, pve_guest, pve_snapshot) with verb_noun forms (pve_create_guest, pve_destroy_guest, pve_guest_power), so the grammar is not uniform even though it reads clearly.
20 tools is at the high end of the comfortable range, but the domain (VMs, containers, storage, snapshots, migrations, tasks, schema introspection) legitimately requires this breadth. Each tool maps to a real workflow rather than a trivial variant, so the count is justified though slightly heavy.
Lifecycle coverage is strong: create, clone, migrate, destroy, power, config, snapshot, backup, task inspection, plus a generic pve_api escape hatch and schema search/describe for anything not wrapped. Minor gaps: no dedicated backup restore and no first-class network/SDN/firewall tools (only reachable via pve_api or ssh), which agents can work around but may not discover easily.