proxmox-mcp
proxmox-mcp
通过 MCP 和 OpenAPI 控制 Proxmox VE 虚拟机
目录
Related MCP server: ProxmoxEmCP
安装
pip install proxmox-mcp使用
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
方法 | 描述 | 参数 |
| 获取所有节点上的所有虚拟机 | 无 |
| 获取当前虚拟机状态 |
|
| 启动虚拟机 |
|
| 停止虚拟机 |
|
| 重启虚拟机 |
|
| 优雅关机 |
|
| 创建虚拟机快照 |
|
| 删除虚拟机快照 |
|
| 克隆虚拟机 |
|
| 获取虚拟机配置 |
|
| 更新虚拟机设置 |
|
MCP 集成
该库通过模型上下文协议 (Model Context Protocol) 公开 Proxmox 操作,允许 AI 助手直接管理虚拟机。
# 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 规范
在服务器模式下运行时,可通过 /openapi.json 获取 OpenAPI 3.0 规范。可将其导入 Postman 等工具或生成其他语言的客户端。
贡献
欢迎提交 PR。重大更改请先开启 issue。
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables AI assistants and MCP clients to manage Proxmox VE infrastructure, including virtual machines, containers, storage, networking, and high availability through a standardized interface.100150Apache 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 gradedqualityBmaintenanceEnables AI assistants to monitor and analyze Proxmox VE virtualization environments via the MCP protocol.MIT
Related MCP Connectors
Provision and manage a VPS for AI agents over MCP: register, order, get root, control the server.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jmerelnyc/proxmox-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server