Proxmox VE

io.github.mattoddie由 GitHub 帳號 mattoddie 發布v0.5.1更新於 Oct 29, 2026

Monitor and manage Proxmox VE clusters: VMs, containers, storage and backups. Read-only by default.

概覽

AI 產生的概覽

針對 Proxmox VE 的 MCP 伺服器,讓助理檢視叢集節點、虛擬機、容器、儲存與備份,並在開啟後執行管理操作。

可以做什麼
  • 檢視叢集、節點與客體的狀態、統計、服務、日誌和任務
  • 檢查虛擬機與容器的設定、磁碟、快照、遷移和範本
  • 檢視儲存、實體磁碟、SMART、ZFS/LVM、備份任務與還原
  • 審查存取控制、防火牆、HA、SDN、Ceph、資源池、複寫和硬體
  • 開啟寫入後可執行開關機、建立、複製、遷移、快照和備份等變更
  • 開啟 exec 後可透過客體代理在虛擬機內執行命令和存取檔案
適用情境
適合執行 Proxmox VE 8 或 9 單節點或叢集的使用者,用自然語言詢問健康狀態、資源用量、備份涵蓋、過期快照或權限風險,並可選擇讓助理執行日常變更。
執行需求
以本機 Docker 映像或 Claude Desktop 安裝包(stdio)執行。需要可連線的 Proxmox VE 8 或 9 伺服器或叢集、PROXMOX_URL,以及 API 權杖(PROXMOX_API_TOKEN)或 PROXMOX_USERNAME 搭配 PROXMOX_PASSWORD。使用 https 時需設定 PROXMOX_TLS_FINGERPRINT 或 PROXMOX_VERIFY_SSL。選用:PROXMOX_DEFAULT_NODE、PROXMOX_TOOLSETS、PROXMOX_AUDIT_LOG。
安裝前請注意
預設唯讀;寫入、刪除和客體內執行命令各需獨立開關(PROXMOX_ALLOW_WRITES、PROXMOX_ALLOW_DELETES、PROXMOX_ALLOW_EXEC),並在 Proxmox 中授予對應權限。raw 工具集可呼叫任意 API 路徑。它會處理 PROXMOX_API_TOKEN 和 PROXMOX_PASSWORD 等密鑰,建議使用最小權限權杖。將 PROXMOX_VERIFY_SSL 設為 false 會略過憑證檢查。變更可用 dry_run 預覽,並可透過 PROXMOX_AUDIT_LOG 記錄。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Proxmox VE,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[proxmox-mcp logo]

proxmox-mcp

Talk to your Proxmox cluster.

An open-source Model Context Protocol server for Proxmox VE. It lets Claude and other AI assistants monitor and manage your nodes, VMs, containers, storage, backups, firewall and more, all from one Docker container.

[CI] [Release] [Container image] [License: MIT]

proxmox-mcp.mattoddie.dev

Quick start · Documentation · Tool reference · Contributing


"Why is the database VM so slow today?" VM 101 (db) on pve2 has averaged 94% CPU since 09:00, and pve2's IO wait has been above 30% for the same period. Its disk lives on local-lvm, which is 91% full, and last night's backup task to the same disk is still running. Want me to show the backup task's log, or plan a migration of the VM to pve1, which has 40 GiB of free memory?

Ask about your cluster in plain English. The assistant picks from 300+ tools to look things up and, if you allow it, make changes. Some examples:

  • 🩺 "Give me a health check of the cluster."
  • 📈 "Which VMs use the most memory, and which node has the most headroom?"
  • 💾 "Which guests aren't backed up, and did last night's backups succeed?"
  • 🧹 "Find snapshots older than a month."
  • 🔐 "Review users, API tokens and permissions for anything risky."
  • 🚀 "Clone the Debian template into a new VM called web-02 with 4 GB of RAM on VLAN 20."

Highlights

  • 🐳 Docker-first. There's one small, distroless image (ghcr.io/mattoddie/proxmox-mcp) for linux/amd64 and linux/arm64. It serves Streamable HTTP for a long-running service, or stdio for docker run -i.
  • 🖱️ One-click Claude Desktop install. Each release has an MCP Bundle (.mcpb) for macOS, Windows and Linux: open it and fill in a settings form. No Docker needed.
  • 🛡️ Safe by default. The server is read-only unless you turn on writes. Deleting needs a second switch, and running commands inside guests needs a third. Tools that aren't allowed aren't registered at all, destructive tools are labelled so your MCP client asks before running them, every change can be previewed with dry_run and recorded in an audit log, and passwords and keys are redacted from output.
  • 🧰 Broad coverage. It covers 19 toolsets: cluster, nodes, VMs, containers, guest agent, snapshots, storage, backups, tasks, access control, firewall, HA, SDN, Ceph, pools, replication, notifications, hardware and a raw API tool.
  • ⏱️ Task-aware. Long operations such as starts, clones, migrations and backups run as Proxmox tasks. Tools wait for them and report the result with the end of the task log, or hand back the task ID to follow up later.
  • 🎯 Addressed by VMID. Ask about VM 100 and the server finds which node it's on. Single-node installs need no node names at all.
  • 🎛️ Tunable. Expose only the toolsets you need, and list tools take search, fields and limit, which keeps the model's context small and focused.
  • 🔑 Least privilege. Use a dedicated API token scoped with Proxmox's own roles and ACLs, so Proxmox enforces the limits too.
  • 🧪 Tested. The test suite runs against a mock Proxmox API on every build.

Quick start

You need Docker, a Proxmox VE 8 or 9 server or cluster, and an MCP client such as Claude Code.

1. Create an API token. On any node, as root, create a read-only user and token:

sh
pveum user add mcp@pve --comment "proxmox-mcp"pveum acl modify / --users mcp@pve --roles PVEAuditorpveum user token add mcp@pve mcp --privsep 0

Copy the token secret from the output. You can't see it again later. Getting started explains the options, including a token that can make changes.

2. Start the server.

sh
mkdir proxmox-mcp && cd proxmox-mcpcurl -fsSLO https://raw.githubusercontent.com/mattoddie/proxmox-mcp/main/compose.yamlcurl -fsSL https://raw.githubusercontent.com/mattoddie/proxmox-mcp/main/example.env -o .env# Edit .env: set PROXMOX_URL, PROXMOX_TOKEN_ID (mcp@pve!mcp), PROXMOX_TOKEN_SECRET,# a random MCP_AUTH_TOKEN (required; e.g. `openssl rand -hex 32`) and how to check the# Proxmox certificate (required for https): PROXMOX_TLS_FINGERPRINT (recommended; the# SHA-256 fingerprint from Node > System > Certificates), or PROXMOX_VERIFY_SSL=falsedocker compose up -d

3. Connect your assistant.

sh
claude mcp add --transport http proxmox http://<docker-host>:8080/mcp \  --header "Authorization: Bearer <MCP_AUTH_TOKEN>"

Now ask "How's my Proxmox cluster doing?" in Claude Code.

On Claude Desktop? Skip Docker: download the .mcpb bundle for your computer from the latest release, open it, and fill in the settings form. See Claude Desktop.

Using VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i.

proxmox-mcp is listed in the MCP Registry as io.github.mattoddie/proxmox-mcp, so clients that browse the registry can install it (as the Docker image over stdio, or as a Claude Desktop bundle) and ask for the settings.

Turning on changes

Out of the box the assistant can look but not touch. To let it make changes, add these to .env and run docker compose up -d:

sh
PROXMOX_ALLOW_WRITES=true    # start/stop guests, create, clone, migrate, reconfigure, snapshot, back up…PROXMOX_ALLOW_DELETES=true   # also allow deleting guests, snapshots, backups and configuration (needs writes)PROXMOX_ALLOW_EXEC=true      # also allow commands and file access inside VMs via the guest agent (needs writes)PROXMOX_TOOLSETS=cluster,nodes,vms,containers,snapshots,backup,tasks   # optional: expose fewer toolsPROXMOX_AUDIT_LOG=/audit/audit.jsonl    # optional: log every change as JSON (mount ./audit; see compose.yaml)

Every tool that changes something takes dry_run, so you can ask the assistant to show you a change before it makes it. The token needs matching Proxmox permissions too. Read Security before turning on writes for a production cluster.

What it can do

ToolsetWhat's covered
clusterCluster overview, nodes and guests at a glance, datacenter options, corosync config, metric servers, bulk guest actions
nodesNode status and statistics, services, network interfaces, DNS, time, updates and repositories, subscriptions, certificates and ACME, logs, node power
vmsQEMU VMs: status, configuration, power, create, clone, disks, migration, templates, cloud-init, statistics
containersLXC containers: status, configuration, power, create, clone, volumes, migration, templates, interfaces, statistics
agentQEMU guest agent: OS, network and filesystem information, freeze/trim, and (with exec) commands and file access
snapshotsVM and container snapshots: list, create, roll back, delete, and a cluster-wide view of old snapshots
storageStorage definitions and usage, volumes, ISO and template downloads, physical disks, SMART, ZFS and LVM
backupvzdump backup jobs, ad-hoc backups, backup listing, restores, pruning, guests without backups
tasksProxmox tasks: list, inspect, read logs, wait for and stop them
accessUsers, groups, roles, ACLs, API tokens, realms, effective permissions, two-factor authentication
firewallRules, options, aliases, IP sets and security groups at datacenter, node and guest level, firewall log
haHigh availability status, resources, groups and rules
sdnSDN zones, VNets, subnets, controllers, IPAM and DNS, applying pending changes
cephCeph health, OSDs, pools, monitors, managers, metadata servers, CephFS, flags
poolsResource pools and their members
replicationStorage replication jobs, status and logs
notificationsNotification targets and matchers
hardwarePCI and USB devices, mediated devices, resource mappings, CPU models
rawAn escape hatch that calls any Proxmox API path. Off unless PROXMOX_TOOLSETS lists raw (e.g. all,raw)

See the tool reference for every tool and argument. Ready-made prompts like cluster_health_check, backup_audit and troubleshoot_guest chain the tools together for common jobs.

Documentation

The docs are also published at proxmox-mcp.mattoddie.dev/docs, with search.

🚀 Getting startedStep-by-step setup, from API token to first question
🔌 Connecting MCP clientsClaude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode
⚙️ ConfigurationEvery environment variable, Docker secrets, toolsets
🐳 DeploymentCompose, image tags, upgrades, TLS reverse proxy, hardening
💬 Using proxmox-mcpExample conversations, prompts, tasks, how changes and secrets work
🧰 Tool referenceEvery tool and prompt, generated from the code
🛡️ SecurityThreat model, least-privilege tokens, safe write setups
📡 CompatibilitySupported Proxmox VE versions, Ceph, PBS, known gaps
🩹 TroubleshootingCommon errors and how to fix them
🛠️ DevelopmentArchitecture, adding a tool, testing

On your phone? Proxly is a free Proxmox VE app for iPhone by the same author: monitor nodes, VMs and containers, start and stop guests, and take snapshots and backups without reaching for a laptop.

Contributing

Contributions are very welcome, whether that's bug reports, compatibility reports from your cluster, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.

License

MIT © Matt Oddie

proxmox-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Proxmox Server Solutions GmbH. Proxmox is a registered trademark of Proxmox Server Solutions GmbH.

來源:README.md,提交 45746db

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v0.5.1最新Oct 22, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分