proxmox-mcp
proxmox-mcp
Steuern Sie Proxmox VE VMs über MCP und OpenAPI
Inhaltsverzeichnis
Related MCP server: ProxmoxEmCP
Installation
pip install proxmox-mcpVerwendung
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
Methode | Beschreibung | Parameter |
| Alle VMs über alle Knoten hinweg abrufen | keine |
| Aktuellen VM-Status abrufen |
|
| Eine VM starten |
|
| Eine VM stoppen |
|
| Eine VM neu starten |
|
| Kontrolliertes Herunterfahren |
|
| VM-Snapshot erstellen |
|
| VM-Snapshot löschen |
|
| Eine VM klonen |
|
| VM-Konfiguration abrufen |
|
| VM-Einstellungen aktualisieren |
|
MCP-Integration
Die Bibliothek stellt Proxmox-Vorgänge über das Model Context Protocol bereit, wodurch KI-Assistenten VMs direkt verwalten können.
# 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
Die OpenAPI 3.0-Spezifikation ist unter /openapi.json verfügbar, wenn sie im Servermodus ausgeführt wird. Importieren Sie diese in Tools wie Postman oder generieren Sie Clients in anderen Sprachen.
Mitwirken
Pull Requests sind willkommen. Eröffnen Sie bei größeren Änderungen bitte zuerst ein Issue.
Lizenz
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- AlicenseCqualityAmaintenanceEnables AI assistants and MCP clients to manage Proxmox VE infrastructure, including virtual machines, containers, storage, networking, and high availability through a standardized interface.286333 PyPI205Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Proxmox VE infrastructure, including VMs, containers, storage, and cluster operations via natural language.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to monitor and manage Proxmox VE infrastructure, including nodes, VMs, containers, storage, backups, and networking, via natural language.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to monitor and analyze Proxmox VE virtualization environments via the MCP protocol.MIT