MCP Hub
Back to servers

proxmox-mcp

Enables AI assistants to manage Proxmox VE virtual machines via MCP and OpenAPI, supporting operations like start, stop, clone, and snapshot.

glama
Stars
6
Updated
May 1, 2026
Validated
May 3, 2026

proxmox-mcp

license status python proxmox mcp openapi

Control Proxmox VE VMs via MCP and OpenAPI

table of contents

install

pip install proxmox-mcp

usage

from proxmox_mcp import ProxmoxMCP

# initialize client
client = ProxmoxMCP(
    host="proxmox.example.com",
    user="root@pam",
    password="your_password"
)

# list all vms
vms = client.list_vms()
for vm in vms:
    print(f"{vm.vmid}: {vm.name} - {vm.status}")

# start a vm
client.start_vm(vmid=100)

# get vm status
status = client.get_vm_status(vmid=100)
print(f"VM 100 is {status}")

# create snapshot
client.create_snapshot(vmid=100, snapname="backup-2024")

# clone vm
client.clone_vm(vmid=100, newid=101, name="clone-vm")

api

MethodDescriptionParameters
list_vms()Get all VMs across all nodesnone
get_vm_status(vmid)Get current VM statusvmid: int
start_vm(vmid)Start a VMvmid: int
stop_vm(vmid)Stop a VMvmid: int
restart_vm(vmid)Restart a VMvmid: int
shutdown_vm(vmid)Graceful shutdownvmid: int
create_snapshot(vmid, snapname)Create VM snapshotvmid: int, snapname: str
delete_snapshot(vmid, snapname)Delete VM snapshotvmid: int, snapname: str
clone_vm(vmid, newid, name)Clone a VMvmid: int, newid: int, name: str
get_vm_config(vmid)Get VM configurationvmid: int
update_vm_config(vmid, config)Update VM settingsvmid: int, config: dict

MCP integration

The library exposes Proxmox operations through the Model Context Protocol, allowing AI assistants to manage VMs directly.

# mcp server mode
from proxmox_mcp.server import run_mcp_server

run_mcp_server(
    host="proxmox.example.com",
    user="root@pam",
    password="your_password",
    port=8080
)

OpenAPI schema

OpenAPI 3.0 spec available at /openapi.json when running in server mode. Import into tools like Postman or generate clients in other languages.

contributing

prs welcome. open an issue first for big changes.

license

MIT

Reviews

No reviews yet

Sign in to write a review