
antonio-mello-ai/mcp-proxmox
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP server for managing Proxmox VE clusters through AI assistants
概要
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. Set these environment variables (or create a .env file): 1. Log into your Proxmox web UI 2. Go to > > 3. Click and create a token for your user 4. "Privilege Separation" for full access, or assign specific permissions: - VM.Audit — read VM/CT status and config - VM.PowerMgmt — start/stop/shutdown/reboot - VM.Snapshot — create/rollback/delete snapshots - VM.Allocate — create/delete/clone VMs and containers - VM.Clone — clone operations - Datastore.Audit — list storages and browse content - Datastore.AllocateSpace — allocate disk space for new VMs/CTs - Sys.Audit — read node status and tasks - VM.Config.Disk — resize disks - VM.Config.CPU — change CPU allocation - VM.Config.Memory — change memory allocation - VM.
README
以下は原文 README の抜粋です。原文を見る。
mcp-proxmox
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.Console— console interaction tools (screenshots, keyboard input)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.
インストール
uvx mcp-proxmox設定
{
"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"
}
}
}
}