proxmox-mcp
This server provides 38 tools for managing a Proxmox VE cluster across nodes, QEMU VMs, LXC containers, storage, and cluster resources. Operations are gated by the PROXMOX_RISK_LEVEL environment variable: read (default, read-only), lifecycle (start/stop/clone/snapshot), all (destructive: delete/rollback).
Node Management
List nodes with status, CPU, memory, uptime; get detailed metrics (disk, load, kernel)
View network interfaces and physical disks
List recent tasks; get task status or log output by UPID
QEMU VM Management
List, get status/config/snapshots of VMs
Start, stop (force), shutdown, reboot, suspend, resume, clone (lifecycle)
Create snapshots (lifecycle); delete or rollback snapshots (all)
LXC Container Management
List, get status/config/snapshots of containers
Start, stop (force), shutdown, reboot (lifecycle)
Create snapshots (lifecycle); delete or rollback snapshots (all)
Storage Management
List storage pools with usage info
Browse contents filtered by type (ISOs, disk images, backups, templates)
Cluster Management
Get cluster health, quorum state, and node membership
List all resources (VMs, containers, storage, nodes) with optional type filtering
View configured backup jobs (vzdump schedules)
Get the next available VM/container ID
Provides tools for managing Proxmox VE environments, including nodes, QEMU VMs, LXC containers, storage, cluster resources, and backups with configurable risk levels for destructive operations.
Allows management of QEMU virtual machines, including start, stop, shutdown, reboot, suspend, resume, clone, and snapshot operations.
Proxmox MCP server
Simple Proxmox MCP
MCP server for managing Proxmox VE
50 tools — nodes, QEMU VMs, LXC containers, storage, cluster, snapshots.
Why this one?
One image, multi-arch —
docker run ghcr.io/akmalovaa/proxmox-mcp:latestand you're doneJust env vars — no config files, no database, no state
Read-only by default — destructive ops are gated behind an explicit
PROXMOX_RISK_LEVELstdio or Streamable HTTP — one env var apart; stdio by default, HTTP binds loopback
Tiny codebase — a thin layer over Proxmoxer, no config files, no database, no state
Raw JSON out — no formatting, no emoji; LLM gets clean data
Readable failures — a 403, a dead host or a blocked tier come back as a sentence, not a stack trace
Related MCP server: nandi-proxmox-mcp
Quick start
Image: ghcr.io/akmalovaa/proxmox-mcp:latest (multi-arch: amd64 + arm64).
1. Export credentials in your shell profile (~/.zprofile, ~/.zshrc or ~/.bashrc):
# token auth (recommended — see "Least privilege" for the user and role to give it):
export PROXMOX_HOST=192.168.1.100
export PROXMOX_USER=mcp@pve
export PROXMOX_TOKEN_NAME=mcp
export PROXMOX_TOKEN_VALUE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
# or password auth:
# export PROXMOX_USER=root@pam
# export PROXMOX_PASSWORD=your-password
# optional:
export PROXMOX_RISK_LEVEL=readReload: source ~/.zprofile (or restart the shell).
2. Add to ~/.claude/settings.json (Claude Code) or claude_desktop_config.json (Claude Desktop):
{
"mcpServers": {
"proxmox": {
"command": "docker",
"args": ["run", "-i", "--rm",
"-e", "PROXMOX_HOST",
"-e", "PROXMOX_USER",
"-e", "PROXMOX_PASSWORD",
"ghcr.io/akmalovaa/proxmox-mcp:latest"]
}
}
}or token auth:
{
"mcpServers": {
"proxmox": {
"command": "docker",
"args": ["run", "-i", "--rm",
"-e", "PROXMOX_HOST",
"-e", "PROXMOX_USER",
"-e", "PROXMOX_TOKEN_NAME",
"-e", "PROXMOX_TOKEN_VALUE",
"ghcr.io/akmalovaa/proxmox-mcp:latest"]
}
}
}docker run -e VAR without a value passes the host variable through — no secrets in the config file. Restart the client — 32 read-only Proxmox tools become available (more if you raise PROXMOX_RISK_LEVEL).
For password auth, swap the token vars for PROXMOX_PASSWORD.
Note: Claude Desktop on macOS is launched via launchd and does not inherit
~/.zprofile/~/.zshrc. Either put the exports in~/.zshenv, or fall back to an inline"env": { ... }block in the config.
Configuration
All settings are environment variables — set them in your shell profile, pass them inline to docker run -e, or declare them in your MCP client's env block.
Variable | Default | Description |
| — | Proxmox host (IP or hostname) |
|
| API user |
Auth | — | token or password — see below |
|
| API port |
|
| Verify TLS certificate |
|
| Seconds to wait for each API request |
|
|
|
| — | Comma-separated tool names to register, on top of the risk level |
|
| Mask |
Transport settings live under a PROXMOX_MCP_ prefix — see Streamable HTTP.
Authentication: token or password
Pick one. If both are set, the token wins.
Token (recommended):
export PROXMOX_USER=mcp@pve
export PROXMOX_TOKEN_NAME=mcp
export PROXMOX_TOKEN_VALUE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxSetting only one half of the pair is a startup error rather than a silent fallback to
the password — a typo in PROXMOX_TOKEN_NAME used to mean quietly running as whoever
PROXMOX_USER is.
Password (fallback):
export PROXMOX_PASSWORD=your-passwordLeast privilege
An MCP server is reachable by a model acting on text it did not write, so give it its
own user and its own token rather than root@pam. On the Proxmox host:
# a user that is not root, with a role that matches the risk level you plan to run
pveum user add mcp@pve
pveum acl modify / --users mcp@pve --roles PVEAuditor # read
# pveum acl modify / --users mcp@pve --roles PVEVMAdmin # lifecycle / all
# a token for that user. Privilege Separation ON (the default) means the token starts
# with no rights at all, so grant it the same role explicitly:
pveum user token add mcp@pve mcp --privsep 1
pveum acl modify / --tokens 'mcp@pve!mcp' --roles PVEAuditorCheck what the token actually ended up with:
pveum user permissions mcp@pve --token mcpPVEAuditor covers all 32 read tools. PVEVMAdmin on /vms adds guest lifecycle and
snapshots; migrate_vm additionally needs VM.Migrate on the target node, and
clone_vm needs Datastore.AllocateSpace on the target storage. Narrow the ACL path
(/vms/101, /pool/homelab) if the server should only see part of the cluster.
root@pam still works and is the quickest thing for a local look around — it is just
not what should be left running.
Risk levels
PROXMOX_RISK_LEVEL controls which tools exist. Tools above the active level are not registered, so they never appear in the MCP client's tool list:
Level | Tools | Adds |
| 32 | read-only tools |
| 46 | + start / stop / reboot / suspend / clone / migrate / create-snapshot |
| 50 | + delete-snapshot / rollback-snapshot |
Each elevated call is also re-checked at call time and logged to stderr (ALLOW / DENY + tool + tier).
The active level is not otherwise observable from the client side — a tool that is
missing looks the same as a tool that was never written — so get_server_info reports
it, along with the versions and the tool count.
PROXMOX_TOOLS_ALLOW narrows further within the tier, for a deployment that serves
one specific agent:
export PROXMOX_TOOLS_ALLOW=list_nodes,list_containers,get_container_status,get_cluster_resourcesNames that do not exist are a startup error, so a typo cannot silently amputate the
tool list. Keep get_server_info on the list unless you have a reason not to — it is
how a client learns what the rest of the list means.
Response shape
Inventory listings (list_nodes, list_vms, list_containers, get_cluster_resources)
return a compact subset of each row: identity, status, uptime, CPU and memory. What is
dropped is per-second IO counters and PSI pressure gauges — real data, but nothing a
triage decision turns on, and several times the volume of what is kept. Pass
verbose=true for the untouched rows.
Write tools answer with the task Proxmox accepted, not with a finished result:
{"state":"accepted","operation":"start_vm","node":"pve","vmid":101,
"upid":"UPID:pve:...","poll_with":"get_task_status"}cipassword and sshkeys are replaced with ***redacted*** everywhere, keeping the key
so the model can still tell that cloud-init is configured. Set
PROXMOX_REDACT_SECRETS=false to get the raw values.
Streamable HTTP
stdio stays the default and is what an MCP client on your own machine should use. For a shared deployment — a container in a cluster, several clients on one URL — set the transport and nothing else changes:
docker run --rm -p 8000:8000 \
-e PROXMOX_HOST -e PROXMOX_TOKEN_NAME -e PROXMOX_TOKEN_VALUE \
-e PROXMOX_MCP_TRANSPORT=streamable-http \
-e PROXMOX_MCP_HOST=0.0.0.0 \
-e PROXMOX_MCP_ALLOWED_HOSTS=proxmox-mcp.example.com \
ghcr.io/akmalovaa/proxmox-mcp:latestVariable | Default | Description |
|
|
|
|
| Bind address — |
|
| Port |
|
| Endpoint path |
|
| JSON responses instead of an SSE stream |
| — |
|
| — | Browser origins allowed; empty = same-origin only |
The prefix is PROXMOX_MCP_, not PROXMOX_, because Kubernetes injects <SERVICE>_PORT
for every linked Service — a Service named proxmox would otherwise redefine
PROXMOX_PORT.
Sessions are not used (stateless_http): they were removed from the protocol in
revision 2026-07-28, and without them several clients can share one URL and a rolling
update does not cut anyone off.
Host and Origin validation. Binding anything other than loopback requires
PROXMOX_MCP_ALLOWED_HOSTS; the server refuses to start otherwise. A foreign Origin
gets 403 and an unexpected Host gets 421 — this is what stops a page in a browser on
the same LAN from driving the server through DNS rebinding. A request with no Origin
header (curl, MCP clients) always passes. Set PROXMOX_MCP_ALLOWED_HOSTS=* only when
something in front already validates it.
There is no authentication. Anyone who can reach the endpoint gets whatever
PROXMOX_RISK_LEVEL allows. Put it behind a gateway, an authenticating proxy or a
network boundary you trust, and keep PROXMOX_RISK_LEVEL=read unless the path to it is
authenticated.
Health endpoints are served alongside /mcp and need no auth:
Path | Meaning |
| The process is up. Never touches Proxmox — a liveness probe that fails when Proxmox is down would restart the server in a loop and fix nothing. |
| Proxmox answered |
livenessProbe:
httpGet: { path: /healthz, port: 8000 }
readinessProbe:
httpGet: { path: /readyz, port: 8000 }Flags mirror the variables for interactive use: uvx proxmox-ve-mcp --transport streamable-http --port 8080.
Sentry (optional)
Tool calls and failures can be shipped to Sentry — every tools/call
becomes a span, every failing tool an issue. Nothing is sent, and the SDK is never even
imported, while SENTRY_DSN is unset.
The ghcr.io image already contains the SDK. From PyPI, install the extra:
uvx --from 'proxmox-ve-mcp[sentry]' proxmox-ve-mcpVariable | Default | Description |
| — | Set it to enable reporting |
|
| Free-form environment label |
|
| Share of tool calls traced |
|
| Send tool arguments and results as span data |
Leave SENTRY_SEND_DEFAULT_PII off unless you mean it: with it on, tool arguments and
results are attached to spans, and get_vm_config returns ssh keys and cipassword
hashes. A DSN set without the extra installed logs a warning and the server runs on.
Tools
Nodes (10)
Tool | Description |
| List all cluster nodes with status, CPU, memory, uptime |
| Detailed node metrics (CPU, memory, disk, load, kernel) |
| Network interfaces on a node |
| Physical disks on a node |
| Proxmox system services and their state |
| Pending APT package updates |
| Historical CPU/memory/disk/network metrics (RRD) |
| Recent tasks on a node, optionally errors only |
| Status of a specific task by UPID |
| Log output from a task |
QEMU VMs (17)
Tool | Tier | Description |
| read | List all VMs, optionally filter by node |
| read | Current VM status (running/stopped, CPU, memory) |
| read | VM configuration (hardware, disks, network) |
| read | IP addresses of a running VM (via QEMU guest agent) |
| read | Historical CPU/memory/disk/network metrics (RRD) |
| read | List all snapshots of a VM |
| lifecycle | Start a VM |
| lifecycle | Force-stop a VM — annotated destructive, unsaved guest state is lost |
| lifecycle | Graceful ACPI shutdown with timeout |
| lifecycle | Reboot via ACPI |
| lifecycle | Suspend a VM |
| lifecycle | Resume a suspended VM |
| lifecycle | Full or linked clone |
| lifecycle | Move a VM to another node, online or offline |
| lifecycle | Create a snapshot |
| all | Delete a snapshot |
| all | Rollback to a snapshot |
LXC Containers (13)
Tool | Tier | Description |
| read | List all LXC containers, optionally filter by node |
| read | Current container status |
| read | Container configuration |
| read | IP addresses of a running container |
| read | Historical CPU/memory/disk/network metrics (RRD) |
| read | List all snapshots |
| lifecycle | Start a container |
| lifecycle | Force-stop a container — annotated destructive |
| lifecycle | Graceful shutdown with timeout |
| lifecycle | Reboot a container |
| lifecycle | Create a snapshot |
| all | Delete a snapshot |
| all | Rollback to a snapshot |
Storage (2)
Tool | Description |
| Storage pools with usage, optionally filter by node |
| Contents of a storage pool (ISOs, backups, images, templates) |
Cluster (7)
Tool | Description |
| Cluster health, quorum, node membership |
| All resources (VMs, containers, storage, nodes) |
| Configured backup jobs |
| High-availability resources and their state |
| Resource pools |
| Cluster-wide event log, newest first |
| Next available VM/container ID |
Server (1)
Tool | Description |
| This server's own risk level, tool count, versions and Proxmox reachability |
Architecture
src/proxmox_mcp/
├── server.py # MCPServer instance, health routes, transport selection, entry point
├── config.py # Pydantic Settings (PROXMOX_) + transport config (PROXMOX_MCP_)
├── client.py # Proxmoxer connection, built once per process
└── tools/ # nodes, vms, containers, storage, cluster, server_infoRead-only by default — elevated tools gated by
PROXMOX_RISK_LEVELGated at registration — a tool above the tier is absent from
tools/list, not refused at call time: what the model cannot see, it cannot retryAdmission and annotations are separate —
tier=is the operator's policy,annotations=is what the client is told a call does, so a force-stop can bedestructiveHint: trueand still live at thelifecycletierLazy connection — the Proxmoxer client is built on first use, once, and shared; the server therefore starts cleanly even when Proxmox is unreachable
Raw JSON output — compact, no formatting; LLM consumes data directly
Normalized errors — Proxmox and network failures are translated into one actionable sentence instead of a
requeststraceback
Development
Run standalone (testing)
export PROXMOX_HOST=192.168.1.100
export PROXMOX_USER=root@pam
export PROXMOX_TOKEN_NAME=mcp
export PROXMOX_TOKEN_VALUE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
docker run -i --rm \
-e PROXMOX_HOST -e PROXMOX_USER \
-e PROXMOX_TOKEN_NAME -e PROXMOX_TOKEN_VALUE \
ghcr.io/akmalovaa/proxmox-mcp:latestWithout Docker (UV)
git clone https://github.com/akmalovaa/proxmox-mcp.git && cd proxmox-mcp && uv syncMCP client config:
{
"mcpServers": {
"proxmox": {
"command": "uv",
"args": ["run", "--directory", "/path/to/proxmox-mcp", "python", "-m", "proxmox_mcp"],
"env": {
"PROXMOX_HOST": "192.168.1.100",
"PROXMOX_TOKEN_NAME": "mcp",
"PROXMOX_TOKEN_VALUE": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}
}Build from source
git clone https://github.com/akmalovaa/proxmox-mcp.git
cd proxmox-mcp
docker build -t proxmox-mcp .The image is multi-stage: uv builds the virtualenv in a throwaway layer, and the
runtime stage carries only Python plus the venv and runs as the unprivileged mcp
user (uid 10001).
Lint, type-check, test
uv sync --locked --group dev
uv run ruff check .
uv run mypy src/
uv run pytest -vLicense
MIT
Available Tools
38 toolsclone_vmA
Clone a VM into a new VM. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required), newid (required), name, +1 more. Returns: result
create_container_snapshotA
Create a snapshot of an LXC container. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required), snapname (required), description. Returns: result
create_vm_snapshotA
Create a snapshot of a VM. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required), snapname (required), description. Returns: result
delete_container_snapshotADestructive
Delete an LXC container snapshot. Irreversible. Requires PROXMOX_RISK_LEVEL=all.
Inputs: node (required), vmid (required), snapname (required). Returns: result
delete_vm_snapshotADestructive
Delete a VM snapshot. Irreversible. Requires PROXMOX_RISK_LEVEL=all.
Inputs: node (required), vmid (required), snapname (required). Returns: result
get_cluster_backupsARead-onlyIdempotent
List all backup jobs configured in the cluster (vzdump schedules).
Inputs: no named parameters. Returns: result
get_cluster_resourcesARead-onlyIdempotent
List all resources in the cluster (VMs, containers, storage, nodes).
Inputs: type. Returns: result
get_cluster_statusARead-onlyIdempotent
Get overall cluster status: quorum state and node membership.
Inputs: no named parameters. Returns: result
get_container_configARead-onlyIdempotent
Get LXC container configuration: rootfs, network, resources, hostname.
Inputs: node (required), vmid (required). Returns: result
get_container_statusARead-onlyIdempotent
Get current runtime status of an LXC container (running/stopped, CPU, memory).
Inputs: node (required), vmid (required). Returns: result
get_next_vmidARead-onlyIdempotent
Get the next available VM/container ID in the cluster.
Inputs: no named parameters. Returns: result
get_node_disksARead-onlyIdempotent
List physical disks on a node.
Inputs: node (required). Returns: result
get_node_networksARead-onlyIdempotent
List network interfaces on a node.
Inputs: node (required). Returns: result
get_node_statusBRead-onlyIdempotent
Get detailed status of a node: CPU, memory, disk, load average, kernel version.
Inputs: node (required). Returns: result
get_node_tasksARead-onlyIdempotent
List recent tasks on a node.
Inputs: node (required), limit. Returns: result
get_storage_contentARead-onlyIdempotent
List contents of a storage pool: ISOs, disk images, backups, container templates.
Inputs: node (required), storage (required), content. Returns: result
get_task_logBRead-onlyIdempotent
Get log output from a specific task.
Inputs: node (required), upid (required), limit. Returns: result
get_task_statusARead-onlyIdempotent
Get status of a specific task by its UPID.
Inputs: node (required), upid (required). Returns: result
get_vm_configARead-onlyIdempotent
Get VM configuration: hardware, boot order, disks, network, cloud-init, etc.
Inputs: node (required), vmid (required). Returns: result
get_vm_statusARead-onlyIdempotent
Get current runtime status of a VM (running/stopped, CPU, memory, uptime).
Inputs: node (required), vmid (required). Returns: result
list_containersARead-onlyIdempotent
List all LXC containers in the cluster, optionally filtered by node.
Inputs: node. Returns: result
list_container_snapshotsARead-onlyIdempotent
List all snapshots of an LXC container.
Inputs: node (required), vmid (required). Returns: result
list_nodesARead-onlyIdempotent
List all nodes in the Proxmox cluster with status, CPU, memory, and uptime.
Inputs: no named parameters. Returns: result
list_storageARead-onlyIdempotent
List storage pools with usage info, optionally filtered by node.
Inputs: node. Returns: result
list_vmsARead-onlyIdempotent
List all QEMU VMs in the cluster, optionally filtered by node.
Inputs: node. Returns: result
list_vm_snapshotsARead-onlyIdempotent
List all snapshots of a VM.
Inputs: node (required), vmid (required). Returns: result
reboot_containerA
Reboot an LXC container. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required). Returns: result
reboot_vmA
Reboot a VM via ACPI. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required). Returns: result
resume_vmA
Resume a suspended VM. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required). Returns: result
rollback_container_snapshotADestructive
Roll back an LXC container to a snapshot. Discards changes since then.
Requires PROXMOX_RISK_LEVEL=all.
Inputs: node (required), vmid (required), snapname (required). Returns: result
rollback_vm_snapshotADestructive
Roll back a VM to a snapshot. Discards changes made since the snapshot.
Requires PROXMOX_RISK_LEVEL=all.
Inputs: node (required), vmid (required), snapname (required). Returns: result
shutdown_containerA
Gracefully shutdown an LXC container. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required), timeout. Returns: result
shutdown_vmA
Gracefully shutdown a VM via ACPI. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required), timeout. Returns: result
start_containerA
Start an LXC container. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required). Returns: result
start_vmA
Start a VM. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required). Returns: result
stop_containerA
Force-stop an LXC container. Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required). Returns: result
stop_vmB
Force-stop a VM (like pulling the power). Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required). Returns: result
suspend_vmA
Suspend a VM (pause execution, keep memory). Requires PROXMOX_RISK_LEVEL=lifecycle.
Inputs: node (required), vmid (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 38 tools
Each tool targets a distinct resource type (VM, container, node, storage, cluster) and action, with no overlap. For example, VM operations are separate from container operations, and snapshot operations are distinct from lifecycle operations.
All tools follow a consistent verb_noun pattern using snake_case, e.g., list_vms, get_vm_config, start_container. The naming is predictable and mirrors each other for VMs and containers.
38 tools is on the higher end but justified for a comprehensive Proxmox management server covering VMs, containers, snapshots, cluster, nodes, storage, and tasks. Minor redundancy exists (e.g., separate get and list for VMs and containers) but overall scope is appropriate.
The tool set lacks essential CRUD operations: there is no create VM or container (only clone_vm exists), no delete VM or container, and no update/configure tools. This leaves significant gaps in managing the full lifecycle of resources.
Maintenance
Related MCP Connectors
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
Self-hosted MCP server: 26 deterministic dev, security, and EVM tools.
MCP server for Superserve sandboxes: create, exec, and manage Firecracker microVMs
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA powerful and flexible Kubernetes MCP server implementation with support for OpenShift.2,277GoApache 2.0
- AlicenseNot gradedqualityBmaintenanceAn open-source MCP server for managing Proxmox environments, including nodes, virtual machines, and containers. It enables users to perform inventory checks, status monitoring, and control operations directly through MCP-compatible tools.109 npm2MIT
- AlicenseBqualityCmaintenanceA comprehensive MCP server providing 92 tools for managing Proxmox Virtual Environment, including QEMU VMs and LXC containers.93183 npm6MIT
- FlicenseAqualityDmaintenanceProvides tools to manage Proxmox VE clusters via Claude Code, enabling listing nodes, VMs, templates, power actions, and creation of LXC containers and VMs through the Proxmox REST API.10-