Proxmox MCP Server
Provides read-only access to Proxmox homelab infrastructure, enabling monitoring and querying of VMs, containers, nodes, cluster status, performance metrics, and snapshots across a Proxmox cluster.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Proxmox MCP Server list all my VMs and their current status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Proxmox MCP Server
A read-only MCP (Model Context Protocol) server that allows LLM agents to interact with your Proxmox homelab VMs.
Features
📋 List all VMs and containers across your Proxmox cluster
🔍 Get detailed VM information including hardware specs, network config, and disks
📊 Monitor VM status with real-time CPU, memory, and I/O metrics
📈 Historical metrics with hourly, daily, weekly, monthly, or yearly data
📸 List VM snapshots to see backup points
🖥️ Cluster overview with node status and aggregate resources
All operations are read-only - your VMs are safe!
Related MCP server: Proxmox MCP Server
Quick Start
1. Install UV (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh2. Configure Proxmox credentials
cp .env.example .env
# Edit .env with your Proxmox details3. Create a read-only API token in Proxmox
Go to Datacenter → Permissions → API Tokens
Click Add
Select a user (or create a new one with
PVEAuditorrole)Set Token ID (e.g.,
homelab-mcp)Uncheck "Privilege Separation" if using an auditor user
Copy the token secret (shown only once!)
Recommended: Create a dedicated auditor user
# SSH to your Proxmox server
pveum user add mcp-reader@pve
pveum acl modify / -user mcp-reader@pve -role PVEAuditor
pveum user token add mcp-reader@pve proxmox-mcp4. Run the server
cd proxmox-mcp
# SSE mode (recommended for remote access)
uv run proxmox-mcp --transport sse
# Or stdio mode (for local VS Code/CLI usage)
uv run proxmox-mcp --transport stdioAlternative: Install globally with pip
pip install -e .
proxmox-mcp --transport sseAvailable Tools
Tool | Description |
| List all VMs and containers with basic info |
| Get detailed VM configuration and specs |
| Get current runtime status and metrics |
| Get historical performance data |
| Get disk space from inside a VM (requires guest agent) |
| List all Proxmox nodes |
| List snapshots for a VM |
| Get cluster health and totals |
Configuration
All settings can be configured via environment variables or a .env file:
Variable | Description | Default |
| Proxmox server hostname/IP |
|
| Proxmox API port |
|
| Verify SSL certificates |
|
| API token ID (user@realm!tokenid) | - |
| API token secret | - |
| SSE server bind address |
|
| SSE server port |
|
Using with LLM Clients
VS Code with GitHub Copilot
Add to your VS Code settings.json or user mcp.json:
{
"servers": {
"proxmox": {
"url": "http://your-server:8080/sse"
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"proxmox": {
"url": "http://your-server:8080/sse"
}
}
}Local stdio mode
For local usage, you can run with stdio transport:
{
"mcpServers": {
"proxmox": {
"command": "uv",
"args": [
"run",
"--directory", "/path/to/proxmox-mcp",
"proxmox-mcp",
"--transport", "stdio"
]
}
}
}Example Queries
Once connected, you can ask your LLM:
"List all my VMs"
"What's the status of VM 100?"
"Show me the CPU usage history for my plex server"
"Which VMs are currently stopped?"
"How much memory is my cluster using?"
Security Notes
Use API tokens instead of username/password
Use the PVEAuditor role for true read-only access
Run behind a reverse proxy with HTTPS in production
Firewall the MCP port to trusted networks only
Development
cd proxmox-mcp
# Install dev dependencies
uv sync --extra dev
# Run tests
uv run pytest
# Lint
uv run ruff check src/License
MIT
Available Tools
8 toolsget_cluster_statusA
Get overall Proxmox cluster status and health.
Returns:
Cluster name and quorum status
List of all nodes with their status
Total resources (CPU, memory, storage)
Inputs: no named parameters. Returns: object
get_vm_filesystem_infoA
Get filesystem/disk space information from inside a VM using the QEMU guest agent.
This requires the qemu-guest-agent to be installed and running inside the VM. Install it with: apt install qemu-guest-agent (Debian/Ubuntu) or yum install qemu-guest-agent (RHEL/CentOS)
Args: vmid: The VM ID node: The Proxmox node name (optional, will auto-detect)
Returns filesystem information including:
Mount points
Total size
Used space
Free space
Filesystem type
Inputs: vmid (required), node. Returns: object
get_vm_infoA
Get detailed information about a specific VM or container.
Args: vmid: The VM or container ID (e.g., 100, 101) node: The Proxmox node name. If not provided, will search all nodes.
Returns detailed configuration including:
Hardware: CPU, memory, disks, network interfaces
Settings: Boot order, OS type, description
Status: Current state, uptime, resource usage
Inputs: vmid (required), node. Returns: object
get_vm_metricsA
Get historical metrics/performance data for a VM.
Args: vmid: The VM or container ID node: The Proxmox node name (optional) timeframe: Time range for metrics - one of: - 'hour': Last hour (default) - 'day': Last 24 hours - 'week': Last 7 days - 'month': Last 30 days - 'year': Last year
Returns time-series data including:
CPU usage over time
Memory usage over time
Network I/O over time
Disk I/O over time
Inputs: vmid (required), node, timeframe. Returns: object
get_vm_statusB
Get the current runtime status of a VM or container.
Args: vmid: The VM or container ID node: The Proxmox node name (optional, will auto-detect)
Returns:
status: running, stopped, paused, etc.
uptime: How long the VM has been running
cpu: Current CPU usage percentage
memory: Current memory usage
network I/O stats
disk I/O stats
Inputs: vmid (required), node. Returns: object
list_nodesA
List all Proxmox nodes in the cluster.
Returns information about each node including:
Node name and status
CPU and memory resources
Running VMs count
Uptime
Inputs: no named parameters. Returns: result
list_vmsA
List all VMs and containers across all Proxmox nodes.
Returns a list of all virtual machines and LXC containers with their basic information including:
vmid: The VM/container ID
name: The VM/container name
status: Current status (running, stopped, etc.)
node: The Proxmox node hosting this VM
type: 'qemu' for VMs or 'lxc' for containers
cpu: Number of CPUs
maxmem: Maximum memory in bytes
maxdisk: Maximum disk size in bytes
Inputs: no named parameters. Returns: result
list_vm_snapshotsA
List all snapshots for a VM.
Args: vmid: The VM ID node: The Proxmox node name (optional, will auto-detect)
Returns list of snapshots with:
Snapshot name and description
Creation time
Whether it includes RAM state
Inputs: vmid (required), node. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have distinct purposes, but there is notable overlap between get_vm_info and get_vm_status, which both provide VM status details, potentially causing confusion. The other tools are clearly differentiated, such as list_vms for listing all VMs and get_vm_metrics for historical performance data.
All tools follow a consistent verb_noun pattern with underscores, such as get_cluster_status, list_vms, and get_vm_info. This predictable naming scheme makes it easy for agents to understand and use the tools without confusion.
With 8 tools, the count is reasonable for a Proxmox server, covering core monitoring and listing functions. However, it lacks management tools like start/stop VMs or create snapshots, which slightly reduces appropriateness for a full-featured server.
The toolset covers read-only operations well, including status, info, metrics, and listings for clusters, nodes, VMs, and snapshots. However, there are significant gaps in management actions, such as creating, updating, or deleting VMs or snapshots, which limits agent workflows in this domain.
Related MCP Connectors
Read-only Linux server and Docker monitoring for AI assistants: CPU, memory, disk, network.
Infrastructure context for any AI: VMware, Nutanix, Kubernetes and cloud. Read-only, off production.
Read-only server insight: why a Linux server or K8s cluster is slow, failing or changed.
Read-only production context for AI agents: Docker/K8s health, deploys, logs, traffic, code graph
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables management of Proxmox VE environments, including VMs, containers, storage, and cluster operations through natural language.7653 npmMIT
- AlicenseAqualityCmaintenanceEnables natural language interaction with Proxmox VE clusters for managing VMs, containers, storage, and snapshots.2715 npm3MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants and automation agents to inspect Proxmox clusters, nodes, storage, containers, VMs, and recent events through the Proxmox VE API, with optional backup actions.5Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables read-only interaction with Proxmox VE API, providing tools to query nodes, guests, storage, firewall, backups, and recent tasks.5MIT