Add it to Claude Code
claude mcp add -e "PROXMOX_HOST=${PROXMOX_HOST}" -e "PROXMOX_TOKEN_ID=${PROXMOX_TOKEN_ID}" -e "PROXMOX_TOKEN_SECRET=${PROXMOX_TOKEN_SECRET}" mcp-proxmox -- uvx mcp-proxmoxPROXMOX_HOSTPROXMOX_TOKEN_IDPROXMOX_TOKEN_SECRET+ 2 optionalMake your agent remember this setup
mcp-proxmox's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Provision and manage VMs and LXC containers
- Full lifecycle management including start, stop, and reboot
- Integrated backup and restore functionality
- Browse storage pools and manage disk images
- Execute commands inside VMs via QEMU guest agent
Tools 21
list_nodesList all cluster nodes with CPU, memory, and uptimeget_node_statusDetailed node info: CPU model, memory, disk, versionslist_vmsList QEMU VMs (filter by node or status)list_containersList LXC containers (filter by node or status)get_guest_statusDetailed VM/CT status by VMIDstart_guestStart a stopped VM or containerstop_guestForce-stop a VM or containershutdown_guestGraceful ACPI/init shutdownreboot_guestReboot a VM or containerlist_storagesList storage pools with capacity and usagelist_storage_contentBrowse ISOs, templates, backups, and disk imagescreate_vmCreate a QEMU VM with configurable CPU, memory, disk, ISO, and networkcreate_containerCreate an LXC container from a templateclone_guestClone a VM or CTdelete_guestPermanently delete a stopped VM or CTlist_backupsList backup filescreate_backupCreate a vzdump backuprestore_backupRestore a VM or CT from a backup fileexec_commandRun a command inside a QEMU VM via guest agentlist_snapshotsList all snapshots for a VM/CTcreate_snapshotCreate a new snapshotEnvironment Variables
PROXMOX_HOSTrequiredYour Proxmox VE host IP or hostnamePROXMOX_TOKEN_IDrequiredAPI token IDPROXMOX_TOKEN_SECRETrequiredAPI token secretPROXMOX_PORTProxmox API port (default 8006)PROXMOX_VERIFY_SSLVerify SSL certificate (default false)Try it
Original README from antonio-mello-ai/mcp-proxmox
mcp-proxmox
<a href="https://glama.ai/mcp/servers/antonio-mello-ai/mcp-proxmox"> </a>MCP server for managing Proxmox VE clusters through AI assistants like Claude, Cursor, and Cline.
Provision, manage, and monitor your entire Proxmox infrastructure through natural language. Create VMs and containers, manage snapshots, browse storage, and more.
Quick Start
# Run directly with uvx (no install needed)
uvx mcp-proxmox
# Or install with pip
pip install mcp-proxmox
Configuration
Set these environment variables (or create a .env file):
PROXMOX_HOST=192.168.1.100 # Your Proxmox VE host
PROXMOX_TOKEN_ID=user@pam!mcp # API token ID
PROXMOX_TOKEN_SECRET=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # API token secret
Optional:
PROXMOX_PORT=8006 # Default: 8006
PROXMOX_VERIFY_SSL=false # Default: false
Creating a Proxmox API Token
- Log into your Proxmox web UI
- Go to Datacenter > Permissions > API Tokens
- Click Add and create a token for your user
- Uncheck "Privilege Separation" for full access, or assign specific permissions:
VM.Audit— read VM/CT status and configVM.PowerMgmt— start/stop/shutdown/rebootVM.Snapshot— create/rollback/delete snapshotsVM.Allocate— create/delete/clone VMs and containersVM.Clone— clone operationsDatastore.Audit— list storages and browse contentDatastore.AllocateSpace— allocate disk space for new VMs/CTsSys.Audit— read node status and tasksVM.Config.Disk— resize disksVM.Config.CPU— change CPU allocationVM.Config.Memory— change memory allocationVM.Monitor— access QEMU monitor (for metrics)VM.Migrate— migrate VMs/CTs between nodesSys.Modify— manage firewall rulesVM.Config.Cloudinit— configure cloud-init parameters
Integration
Claude Desktop
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"proxmox": {
"command": "uvx",
"args": ["mcp-proxmox"],
"env": {
"PROXMOX_HOST": "192.168.1.100",
"PROXMOX_TOKEN_ID": "user@pam!mcp",
"PROXMOX_TOKEN_SECRET": "your-token-secret"
}
}
}
}
Claude Code
Add to .claude/settings.json or ~/.claude/settings.json:
{
"mcpServers": {
"proxmox": {
"command": "uvx",
"args": ["mcp-proxmox"],
"env": {
"PROXMOX_HOST": "192.168.1.100",
"PROXMOX_TOKEN_ID": "user@pam!mcp",
"PROXMOX_TOKEN_SECRET": "your-token-secret"
}
}
}
}
Cursor
Add to Cursor Settings > MCP with the same configuration as above.
Available Tools
Discovery
| Tool | Description |
|---|---|
list_nodes |
List all cluster nodes with CPU, memory, and uptime |
get_node_status |
Detailed node info: CPU model, memory, disk, versions |
list_vms |
List QEMU VMs (filter by node or status) |
list_containers |
List LXC containers (filter by node or status) |
get_guest_status |
Detailed VM/CT status by VMID (auto-detects type and node) |
Lifecycle
| Tool | Description |
|---|---|
start_guest |
Start a stopped VM or container |
stop_guest |
Force-stop (requires confirmation) |
shutdown_guest |
Graceful ACPI/init shutdown |
reboot_guest |
Reboot (requires confirmation) |
Storage
| Tool | Description |
|---|---|
list_storages |
List storage pools with capacity and usage (filter by node) |
list_storage_content |
Browse ISOs, templates, backups, and disk images |
Provisioning
| Tool | Description |
|---|---|
create_vm |
Create a QEMU VM with configurable CPU, memory, disk, ISO, and network |
create_container |
Create an LXC container from a template |
clone_guest |
Clone a VM or CT (full or linked clone, cross-node support) |
delete_guest |
Permanently delete a stopped VM or CT (requires confirmation) |
Backup & Restore
| Tool | Description |
|---|---|
list_backups |
List backup files (filter by node, storage, or VMID) |
create_backup |
Create a vzdump backup (snapshot/suspend/stop modes, zstd/lzo/gzip) |
restore_backup |
Restore a VM or CT from a backup file (requires confirmation) |
Command Execution
| Tool | Description |
|---|---|
exec_command |
Run a command inside a QEMU VM via guest agent |
Note:
exec_commandrequiresqemu-guest-agentinstalled and running inside the VM. Not supported for LXC containers (Proxmox API limitation).
Snapshots
| Tool | Description |
|---|---|
list_snapshots |
List all snapshots for a VM/CT |
create_snapshot |
Create a new snapshot |
| `roll |