proxmox-mcp
proxmox-mcp
MCPおよびOpenAPI経由でProxmox VE VMを制御
目次
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
メソッド | 説明 | パラメータ |
| 全ノードの全VMを取得 | なし |
| 現在のVMステータスを取得 |
|
| VMを起動 |
|
| VMを停止 |
|
| VMを再起動 |
|
| VMを正常終了 |
|
| VMスナップショットを作成 |
|
| VMスナップショットを削除 |
|
| VMをクローン |
|
| VM設定を取得 |
|
| VM設定を更新 |
|
MCP統合
このライブラリはModel Context Protocolを通じてProxmoxの操作を公開しており、AIアシスタントが直接VMを管理できるようにします。
# 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などのツールにインポートしたり、他の言語でクライアントを生成したりできます。
貢献
プルリクエストを歓迎します。大きな変更を行う場合は、まずIssueを作成してください。
ライセンス
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