proxmox-mcp
Provides tools for monitoring and managing Ceph within Proxmox VE, including health, OSDs, pools, monitors, managers, metadata servers, CephFS, and flags.
Provides tools for monitoring and managing Proxmox VE clusters: nodes, VMs and containers, storage, backups, tasks, firewall, access control, HA, SDN, Ceph, pools, replication, notifications, hardware, and raw API access.
Provides tools for monitoring and managing QEMU virtual machines through Proxmox VE, including status, configuration, power, create, clone, disks, migration, templates, cloud-init, statistics, and guest agent operations.
proxmox-mcp
Talk to your Proxmox cluster.
An open-source Model Context Protocol server for Proxmox VE. It lets Claude and other AI assistants monitor and manage your nodes, VMs, containers, storage, backups, firewall and more, all from one Docker container.
Quick start ยท Documentation ยท Tool reference ยท Contributing
"Why is the database VM so slow today?" VM 101 (db) on pve2 has averaged 94% CPU since 09:00, and pve2's IO wait has been above 30% for the same period. Its disk lives on
local-lvm, which is 91% full, and last night's backup task to the same disk is still running. Want me to show the backup task's log, or plan a migration of the VM to pve1, which has 40 GiB of free memory?
Ask about your cluster in plain English. The assistant picks from 300+ tools to look things up and, if you allow it, make changes. Some examples:
๐ฉบ "Give me a health check of the cluster."
๐ "Which VMs use the most memory, and which node has the most headroom?"
๐พ "Which guests aren't backed up, and did last night's backups succeed?"
๐งน "Find snapshots older than a month."
๐ "Review users, API tokens and permissions for anything risky."
๐ "Clone the Debian template into a new VM called web-02 with 4 GB of RAM on VLAN 20."
Highlights
๐ณ Docker-first. There's one small, distroless image (
ghcr.io/mattoddie/proxmox-mcp) forlinux/amd64andlinux/arm64. It serves Streamable HTTP for a long-running service, or stdio fordocker run -i.๐ก๏ธ Safe by default. The server is read-only unless you turn on writes. Deleting needs a second switch, and running commands inside guests needs a third. Tools that aren't allowed aren't registered at all, destructive tools are labelled so your MCP client asks before running them, and passwords and keys are redacted from output.
๐งฐ Broad coverage. It covers 19 toolsets: cluster, nodes, VMs, containers, guest agent, snapshots, storage, backups, tasks, access control, firewall, HA, SDN, Ceph, pools, replication, notifications, hardware and a raw API tool.
โฑ๏ธ Task-aware. Long operations such as starts, clones, migrations and backups run as Proxmox tasks. Tools wait for them and report the result with the end of the task log, or hand back the task ID to follow up later.
๐ฏ Addressed by VMID. Ask about VM 100 and the server finds which node it's on. Single-node installs need no node names at all.
๐๏ธ Tunable. Expose only the toolsets you need, which keeps the model's context small and focused.
๐ Least privilege. Use a dedicated API token scoped with Proxmox's own roles and ACLs, so Proxmox enforces the limits too.
๐งช Tested. The test suite runs against a mock Proxmox API on every build.
Related MCP server: proxmox-mcp
Quick start
You need Docker, a Proxmox VE 8 or 9 server or cluster, and an MCP client such as Claude Code.
1. Create an API token. On any node, as root, create a read-only user and token:
pveum user add mcp@pve --comment "proxmox-mcp"
pveum acl modify / --users mcp@pve --roles PVEAuditor
pveum user token add mcp@pve mcp --privsep 0Copy the token secret from the output. You can't see it again later. Getting started explains the options, including a token that can make changes.
2. Start the server.
mkdir proxmox-mcp && cd proxmox-mcp
curl -fsSLO https://raw.githubusercontent.com/mattoddie/proxmox-mcp/main/compose.yaml
curl -fsSL https://raw.githubusercontent.com/mattoddie/proxmox-mcp/main/example.env -o .env
# Edit .env: set PROXMOX_URL, PROXMOX_TOKEN_ID (mcp@pve!mcp), PROXMOX_TOKEN_SECRET,
# a random MCP_AUTH_TOKEN (required; e.g. `openssl rand -hex 32`) and, recommended,
# PROXMOX_TLS_FINGERPRINT (the node certificate's SHA-256 fingerprint, from
# Node > System > Certificates) so the connection to Proxmox is verified
docker compose up -d3. Connect your assistant.
claude mcp add --transport http proxmox http://<docker-host>:8080/mcp \
--header "Authorization: Bearer <MCP_AUTH_TOKEN>"Now ask "How's my Proxmox cluster doing?" in Claude Code.
Using Claude Desktop, VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i.
Turning on changes
Out of the box the assistant can look but not touch. To let it make changes, add these to .env and run docker compose up -d:
PROXMOX_ALLOW_WRITES=true # start/stop guests, create, clone, migrate, reconfigure, snapshot, back upโฆ
PROXMOX_ALLOW_DELETES=true # also allow deleting guests, snapshots, backups and configuration (needs writes)
PROXMOX_ALLOW_EXEC=true # also allow commands and file access inside VMs via the guest agent (needs writes)
PROXMOX_TOOLSETS=cluster,nodes,vms,containers,snapshots,backup,tasks # optional: expose fewer toolsThe token needs matching Proxmox permissions too. Read Security before turning on writes for a production cluster.
What it can do
Toolset | What's covered |
| Cluster overview, nodes and guests at a glance, datacenter options, corosync config, metric servers, bulk guest actions |
| Node status and statistics, services, network interfaces, DNS, time, updates and repositories, subscriptions, certificates and ACME, logs, node power |
| QEMU VMs: status, configuration, power, create, clone, disks, migration, templates, cloud-init, statistics |
| LXC containers: status, configuration, power, create, clone, volumes, migration, templates, interfaces, statistics |
| QEMU guest agent: OS, network and filesystem information, freeze/trim, and (with exec) commands and file access |
| VM and container snapshots: list, create, roll back, delete, and a cluster-wide view of old snapshots |
| Storage definitions and usage, volumes, ISO and template downloads, physical disks, SMART, ZFS and LVM |
| vzdump backup jobs, ad-hoc backups, backup listing, restores, pruning, guests without backups |
| Proxmox tasks: list, inspect, read logs, wait for and stop them |
| Users, groups, roles, ACLs, API tokens, realms, effective permissions, two-factor authentication |
| Rules, options, aliases, IP sets and security groups at datacenter, node and guest level, firewall log |
| High availability status, resources, groups and rules |
| SDN zones, VNets, subnets, controllers, IPAM and DNS, applying pending changes |
| Ceph health, OSDs, pools, monitors, managers, metadata servers, CephFS, flags |
| Resource pools and their members |
| Storage replication jobs, status and logs |
| Notification targets and matchers |
| PCI and USB devices, mediated devices, resource mappings, CPU models |
| An escape hatch that calls any Proxmox API path |
See the tool reference for every tool and argument. Ready-made prompts like cluster_health_check, backup_audit and troubleshoot_guest chain the tools together for common jobs.
Documentation
The docs are also published at proxmox-mcp.mattoddie.dev/docs, with search.
๐ Getting started | Step-by-step setup, from API token to first question |
Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode | |
โ๏ธ Configuration | Every environment variable, Docker secrets, toolsets |
๐ณ Deployment | Compose, image tags, upgrades, TLS reverse proxy, hardening |
๐ฌ Using proxmox-mcp | Example conversations, prompts, tasks, how changes and secrets work |
๐งฐ Tool reference | Every tool and prompt, generated from the code |
๐ก๏ธ Security | Threat model, least-privilege tokens, safe write setups |
๐ก Compatibility | Supported Proxmox VE versions, Ceph, PBS, known gaps |
๐ฉน Troubleshooting | Common errors and how to fix them |
๐ ๏ธ Development | Architecture, adding a tool, testing |
Contributing
Contributions are very welcome, whether that's bug reports, compatibility reports from your cluster, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.
License
MIT ยฉ Matt Oddie
proxmox-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Proxmox Server Solutions GmbH. Proxmox is a registered trademark of Proxmox Server Solutions GmbH.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for Gainium โ manage trading bots, deals, and balances via AI assistants
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for managing Proxmox VE clusters โ provision VMs and containers, manage snapshots and backups, execute commands, browse storage, and monitor resources through natural language37158 PyPI16MIT
- AlicenseAqualityAmaintenanceMinimal MCP server for Proxmox VE โ 38 tools for nodes, VMs, LXC, storage, and snapshots. Read-only by default, single Docker image, multi-arch.3892 PyPI4MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for Proxmox VE that enables AI assistants to inspect and manage LXC containers, VMs, snapshots, and resource pools via the Proxmox API.-
- AlicenseAqualityDmaintenanceMCP server for managing Proxmox VE resources, VM/CT lifecycle, snapshots, backups, and clones via natural language.23MIT