AM

antonio-mello-ai/mcp-proxmox

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

17 stars 6 forks 品質 84 トレンド 29MIT

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

  1. Log into your Proxmox web UI
  2. Go to Datacenter > Permissions > API Tokens
  3. Click Add and create a token for your user
  4. Uncheck “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.Monitor — access QEMU monitor (for metrics)
    • VM.Console — console interaction tools (screenshots, keyboard input)
    • VM.Migrate — migrate VMs/CTs between nodes
    • Sys.Modify — manage firewall rules
    • VM.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.

GitHub で README 全文を見る

インストール

uvx mcp-proxmox
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "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" } } } }