ProxmoxMCP
Enables AI assistants to manage Proxmox VE infrastructure via the Proxmox API, covering QEMU VMs, LXC containers, cluster and access management, nodes, storage, backups and snapshots, networking and firewall rules, tasks, disk management, PCI passthrough, and SSH-based guest operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ProxmoxMCP
MCP (Model Context Protocol) server for managing Proxmox VE infrastructure through AI assistants like Claude. Exposes 103 tools, 10 resources, and 6 prompt templates via FastMCP.
Features
103 tools across 11 domains: VMs, containers, storage, networking, PCI passthrough, backups, cluster, nodes, tasks, disk management, and SSH guest access
Safety guards: protected VMIDs, node allowlists, dry-run mode, confirmation prompts for destructive operations
Async-first: all Proxmox API calls run via
asyncio.to_thread()for non-blocking operationSSH disk management: partition, format, mount, and unmount physical disks via SSH
Structured JSON responses: consistent
{"status": "success"}/{"status": "error"}format
Related MCP server: MCP PVE
Quick Start
1. Install
uv sync # this repo is uv-managed; uv.lock pins all versionsOr with development dependencies:
uv sync --devpip fallback (no lockfile):
pip install -e .Or with development dependencies:
pip install -e ".[dev]"2. Configure
Copy .env.example to .env and set your Proxmox connection details:
cp .env.example .envRequired settings:
PROXMOX_HOST=192.168.1.100
PROXMOX_TOKEN_NAME=root@pam!mcp-token
PROXMOX_TOKEN_VALUE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx3. Run
# CLI entry point (stdio transport, default)
proxmox-mcp
# Or as a module
python -m proxmox_mcp
# HTTP transport: MCP_TRANSPORT=streamable-http proxmox-mcp
# then point the client at http://<host>:3001/mcp
# (MCP_HTTP_AUTH_TOKEN is required for the HTTP transport)4. Docker
docker build -t proxmox-mcp .
# The image defaults to MCP_TRANSPORT=streamable-http, so an auth token is
# mandatory (the container refuses to start without one):
docker run -d --name proxmox-mcp \
-p 3001:3001 \
-e PROXMOX_HOST=192.168.1.100 \
-e PROXMOX_TOKEN_NAME=root@pam!mcp-token \
-e PROXMOX_TOKEN_VALUE=<token-value> \
-e MCP_HTTP_AUTH_TOKEN=<strong-random-secret> \
proxmox-mcp
# then point the client at http://<host>:3001/mcp with an
# "Authorization: Bearer <strong-random-secret>" header5. Connect to Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"proxmox": {
"command": "proxmox-mcp",
"env": {
"PROXMOX_HOST": "192.168.1.100",
"PROXMOX_TOKEN_NAME": "root@pam!mcp-token",
"PROXMOX_TOKEN_VALUE": "your-token-value"
}
}
}
}Tool Inventory
VM Management (20 tools)
Tool | Description |
| List all QEMU VMs across the cluster |
| Get detailed VM status |
| Get full VM configuration |
| Get VM performance metrics over time |
| Start a stopped VM |
| Hard stop a VM |
| Graceful ACPI shutdown |
| Reboot a VM via ACPI |
| Suspend/pause a running VM |
| Resume a suspended VM |
| Hard reset a VM |
| Clone a VM (full or linked) |
| Live-migrate a VM to another node |
| Create a new QEMU VM |
| Permanently delete a VM |
| Resize a VM disk |
| Convert a VM to a template |
| Modify VM configuration |
| Configure cloud-init settings |
| Regenerate cloud-init drive |
Container Management (12 tools)
Tool | Description |
| List all LXC containers |
| Get container status |
| Get container configuration |
| Start a container |
| Stop a container |
| Graceful container shutdown |
| Reboot a container |
| Clone a container |
| Migrate a container |
| Create a new container |
| Delete a container |
| Modify container config |
Cluster & Access Management (17 tools)
Tool | Description |
| Cluster status and quorum |
| All resources across the cluster |
| Recent cluster log entries |
| Next available VMID |
| List resource pools |
| Create a resource pool |
| Modify pool membership |
| Delete a resource pool |
| List all users |
| Create a new user |
| Delete a user |
| List available roles |
| Set ACL permissions |
| List HA-managed resources |
| Add VM/CT to HA management |
| Modify HA resource settings |
| Remove from HA management |
Node Management (8 tools)
Tool | Description |
| List all cluster nodes |
| Detailed node status |
| Node system services |
| Node network interfaces |
| Node storage backends |
| Node syslog entries |
| Reboot a node |
| Shut down a node |
Storage Management (8 tools)
Tool | Description |
| List all storage backends |
| Storage usage details |
| List storage contents |
| List available ISOs |
| List container templates |
| Register a new storage backend |
| Unregister a storage backend |
| Download ISO/template from URL |
Backup & Snapshot Management (10 tools)
Tool | Description |
| Create a VM/CT snapshot |
| List all snapshots |
| Rollback to a snapshot |
| Delete a snapshot |
| Start a vzdump backup |
| List available backups |
| Restore from backup |
| List scheduled backup jobs |
| Create a backup schedule |
| Delete a backup schedule |
Network & Firewall (7 tools)
Tool | Description |
| List node firewall rules |
| List VM/CT firewall rules |
| Get VM/CT network interfaces |
| Create a node firewall rule |
| Delete a node firewall rule |
| Create a VM/CT firewall rule |
| Delete a VM/CT firewall rule |
Task Tracking (4 tools)
Tool | Description |
| List recent tasks |
| Get task status by UPID |
| Get task log output |
| Wait for task completion |
Disk Management (5 tools, SSH-based)
Tool | Description |
| List physical disks on a node |
| Create partitions on a disk |
| Format a partition |
| Mount a filesystem with fstab |
| Unmount and clean up fstab |
PCI Passthrough (7 tools)
Tool | Description |
| List PCI devices on a node (with IOMMU group) |
| List cluster-wide PCI hardware mappings |
| Create a PCI hardware mapping from a node's device |
| Add another node's device to an existing mapping |
| Delete a PCI hardware mapping |
| Attach a PCI mapping to a VM's hostpci slot |
| Detach a PCI device from a VM's hostpci slot |
SSH Guest Tools (5 tools)
Tool | Description |
| Install a package inside a guest VM/container over SSH |
| Start/stop/enable/disable a systemd service in a guest |
| Copy a file to/from a guest over SSH |
| Run an arbitrary script inside a guest over SSH |
| Report guest OS, uptime, and resource info over SSH |
Configuration Reference
Variable | Default | Description |
| required | Proxmox host IP or hostname |
|
| API port |
|
| Verify SSL certificates |
| API token name (e.g. | |
| API token value | |
| Username (fallback auth) | |
| Password (fallback auth) | |
|
| Simulate write operations |
| Comma-separated VMIDs to protect from modification | |
| Comma-separated node allowlist (empty = all) | |
|
| SSH user for disk tools |
|
| SSH port |
| Path to SSH private key | |
| SSH password (falls back to | |
|
| Path to SSH known_hosts file |
|
| Verify SSH host keys |
|
| Transport: |
|
| HTTP port (when using streamable-http) |
| Bearer token, required when | |
|
| Logging level |
Safety Features
Protected VMIDs: VMs in
PROXMOX_PROTECTED_VMIDScannot be modified, stopped, or deletedNode allowlist: When
PROXMOX_ALLOWED_NODESis set, operations are restricted to listed nodesDry-run mode: Set
PROXMOX_DRY_RUN=trueto simulate all write operationsConfirmation prompts: Most destructive tools gate on
confirm=True; disk tools useconfirm_destructive. Aconfirmation_requiredresponse is returned until the flag is set.Input validation: VMIDs, node names, snapshot names, and storage IDs are validated against injection
Config key allowlists:
modify_vm_configblocks dangerous keys likehookscriptandhostpciSSH host key verification: Enabled by default for disk management operations
Development
uv sync --dev # install the project + dev group (uv-managed repo)
# Run tests (may need PROXMOX_* env vars; conftest sets dummy defaults)
# export PROXMOX_HOST=dummy PROXMOX_TOKEN_NAME=dummy PROXMOX_TOKEN_VALUE=dummy
uv run pytest tests/
# Run a single test file
uv run pytest tests/test_vm_tools.py
# Run with coverage
uv run pytest tests/ --cov=src/proxmox_mcp --cov-report=html
# Lint
uv run ruff check src/ tests/
# Format
uv run ruff format src/ tests/
# Type check
uv run mypy src/proxmox_mcpArchitecture
FastMCP server
-> @mcp.tool() async function (tools/)
-> ProxmoxClient.api_call()
-> asyncio.to_thread(proxmoxer)
-> Proxmox REST API11 tool modules:
vm,container,cluster,node,storage,backup,network,task,disk,pci,ssh_toolsProxmoxClient (
client.py): wraps proxmoxer with safety guards and async supportConfig (
config.py): pydantic-settings loading from.envResources: 10 read-only
proxmox://URI resources returning cluster state as JSONPrompts: 6 workflow templates for common operations
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Self-hosted AI prompt library: prompts, collections, tags, teams, chains. 29 MCP tools for agents.
Manage Vozora VPS servers, SSH keys, firewalls, DNS and usage from an AI agent.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables management of Proxmox VE infrastructure through natural language, providing 120+ tools to control virtual machines, containers, storage, cluster resources, users, and network configurations via the Proxmox API.100MIT
- AlicenseNot gradedqualityBmaintenanceEnables management of Proxmox Virtual Environment clusters, virtual machines, and containers through natural language interfaces. It provides 105 tools for tasks like power management, configuration, and resource monitoring with granular access control tiers.281 npm27MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Proxmox VE infrastructure, including VMs, containers, storage, and cluster operations via natural language.MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to manage Proxmox VE infrastructure, including VMs, containers, storage, network, high availability, replication, SDN, and node administration.10015 npmMIT