proxmox-mcps
Enables AI assistants to manage Proxmox VE infrastructure, including VMs, containers, storage, network, high availability, replication, SDN, and node administration.
README
Proxmox MCP (TypeScript)
MCP server for Proxmox VE — lets AI assistants (Claude Code, etc.) manage QEMU VMs, LXC containers, storage, network, HA, replication, SDN, and node admin.
195 tools · 3 transports (stdio / HTTP-SSE / streamable) · user-confirmation-gated destructive ops
Supported tools (195)
Foundation (24) — get_cluster_status, get_nodes, get_node_status, get_storage, list_tasks, get_task, get_task_log, list_jobs, get_job, poll_job, cancel_job, retry_job · snapshot / backup / ISO + template CRUD
VM (45) — CRUD + lifecycle (get_vms, get_vm_config, create_vm, clone_vm, start/stop/shutdown/reset/reboot/delete_vm) · config (update_vm_config, resize_vm_disk, set_vm_cloudinit) · diagnostics (RRD, 10× QEMU guest agent, vm_monitor, vm_firewall_rules) · migration + console (VNC / SPICE / termproxy)
Container (35) — CRUD + lifecycle + config (update_container_resources, resize_container_disk) · diagnostics (RRD, firewall, execute_container_command via SSH + pct exec) · migration + console
Cluster (23) — Resource pools (5) · HA resources + groups (11) · Scheduled vzdump jobs (7)
Node admin (40) — apt / DNS / hosts / time (15) · bulk ops (4) · subscription (4) · systemd services (7) · network bonds/bridges/VLANs/OVS (5) · disks + ZFS (5) · certificates (2)
Storage (5) — list_storages, get_storage, create/update/delete_storage (lvm, zfs, nfs, cifs, pbs, dir, …)
Replication (7) + SDN (22) — ZFS replication jobs · SDN controllers / zones / vnets / subnets + apply_sdn
25 destructive tools and several high-risk tools prompt for a user yes/no before running (or honour
PROXMOX_DANGEROUSLY_ALLOW_DESTRUCTIVE=trueto skip the prompt). List them:proxmox-mcps-print-tools destructive.
Install
From npm (recommended)
npx proxmox-mcps
# or install globally
npm install -g proxmox-mcps
proxmox-mcps # CLI binary (installed by the package above)
From source
git clone https://github.com/your-username/proxmox-mcps.git
cd proxmox-mcps
npm install
cp .env.example .env # fill in Proxmox host + API token
npm run check-config # validate env
npm run build # tsc → dist/
npm start # node dist/index.js
Configure for Claude Code
Install at user scope so the same proxmox MCP server is available in every project without committing secrets to a repo:
claude mcp add proxmox --scope user \
-e PROXMOX_HOST=proxmox.example.com \
-e PROXMOX_PORT=8006 \
-e PROXMOX_USER=root@pam \
-e PROXMOX_TOKEN_NAME=mcp \
-e PROXMOX_TOKEN_VALUE=<uuid> \
-e PROXMOX_VERIFY_SSL=false \
-e PROXMOX_DEV_MODE=true \
-- npx -y proxmox-mcps
--scope userwrites the entry to~/.claude.json(or~/.config/claude/on Linux), so it follows you across every repo on the machine. Use--scope projectinstead if you want the entry stored in.mcp.jsonof a specific repo (and committed for the team), or--scope local(the default) for a one-off project-local entry.
Restart Claude Code, verify with /mcp (should show proxmox with 195 tools). To inspect or remove the user-scope entry later:
claude mcp list # show all configured servers
claude mcp get proxmox # show env vars + command for the proxmox entry
claude mcp remove proxmox # delete the user-scope entry
Get an API token
Proxmox UI → Datacenter → Permissions → API Tokens → Add → user root@pam, token ID mcp, uncheck Privilege Separation → copy the secret UUID into PROXMOX_TOKEN_VALUE.
Full env-var reference: .env.example.
Destructive & high-risk tools
Any tool classified as high or destructive (deletes, wipes, template conversions, SDN apply, network reconfig, subscription updates, etc.) does not run immediately. The server returns a confirmation prompt that the model must show to you:
⚠️ Confirmation required: 'delete_vm' is DESTRUCTIVE and cannot be undone.
Target: node=pve, vmid=100
Ask the user to reply 'yes' to proceed, or anything else to cancel.
If they confirm, re-invoke this tool with `confirm: true` added to the arguments.
After you reply "yes", the model calls the same tool again with confirm: true and the operation proceeds. This keeps every destructive action behind an explicit, visible human yes/no.
To skip the prompt for fully trusted automation, set:
PROXMOX_DANGEROUSLY_ALLOW_DESTRUCTIVE=true
Audit-only logging for medium-risk tools is independent: PROXMOX_MCP_AUDIT_ONLY=true logs each medium-risk call without changing whether it runs.
Inspect the risk registry at any time:
proxmox-mcps-print-tools # all 195 tools
proxmox-mcps-print-tools destructive # only high + destructive
Updating proxmox-mcps
Pick the install method you used — the upgrade steps differ.
Check what's published
npm view proxmox-mcps version # latest version on npm
npm view proxmox-mcps versions --json | tail -20 # last 20 versions
For source installs the version is in package.json. After restart, the server logs proxmox-mcps.starting on stderr with the build tag baked in.
a. npx proxmox-mcps (Claude Code, Cursor, MCP clients)
Nothing to do — npx re-fetches the package on every launch, so you always get the latest published version automatically.
# Pin to a specific version if you want to defer updates
npx -y proxmox-mcps@0.2.0
Restart Claude Code (or your MCP client) so it picks up the new tool list.
b. npm install -g proxmox-mcps
# See what's installed vs what's available
npm outdated -g proxmox-mcps
# Upgrade to the latest published version
npm update -g proxmox-mcps
# …or pin to a specific tag
npm install -g proxmox-mcps@latest
npm install -g proxmox-mcps@0.2.0
Then restart the MCP client (Claude Code, etc.) so it spawns the new binary.
c. Source install (git clone + npm run build)
git pull # fetch latest commits
git checkout v0.2.0 # optional — pin to a tag
npm install # pick up any new/changed deps
npm run build # tsc → dist/
npm test # 179 tests must still pass
Restart the running server (npm start or your process manager) so it loads the new build.
Verify after upgrading
PROXMOX_HOST=… npm run check-config # env still validates
proxmox-mcps-print-tools # tool list complete and registered
In Claude Code, run /mcp — the proxmox server should still appear with the same env vars and all 195 tools should respond. If a tool returns a schema-validation error, the client cached an old tool list; restart the client.
Read the release notes first for breaking changes
Minor bumps (0.1 → 0.2) may rename env vars or remove tool arguments. Always skim the release notes before upgrading a production install — each release calls out migration steps and any new env vars you need to add to your .env.
For maintainers — updating dependencies
1. Check what's outdated
npm outdated # see available updates (Current → Wanted → Latest)
npm audit # known security vulnerabilities
2. Apply updates — pick by risk level
# Safe: stay within current SemVer range (patch + minor)
npm update
# Targeted: bump one package to latest matching its range
npm install <pkg>@latest
# Security-only fix, no breaking changes
npm audit fix
# Security fix with possible breaking changes (vitest 2.x → 4.x etc.)
npm audit fix --force
3. Verify after every update
npm run build # tsc must pass
npm test # 179 tests must still pass
If anything breaks, check the package's changelog. For major bumps (e.g. vitest@2 → 4) you may need to update test config, imports, or API calls.
4. Native deps & allow-scripts
Some packages need install scripts at install time:
better-sqlite3(native)ssh2(native)cpu-features(transitive ofssh2)esbuild(transitive ofvitest/tsx)fsevents(macOS file watcher)
npm 11+ prints a warning unless the package is on the allowlist in .npmrc:
allow-scripts[]=better-sqlite3
allow-scripts[]=ssh2
allow-scripts[]=cpu-features
allow-scripts[]=esbuild
allow-scripts[]=fsevents
If you add a new native dep, append its name here or npm will warn on every install. The boolean form
allow-scripts=truedoes not silence the warning in npm 11.
5. Pitfalls
prebuild-install@7.xdeprecation — transitive ofbetter-sqlite3/ssh2. Already at latest upstream; no fix from our side until the native module drops it.- Major version bumps —
vitest@2 → 4,zod@3 → 4,@modelcontextprotocol/sdk@1 → 2all require code/test changes. Always runnpm testafter--force. uuidwas removed — the project usescrypto.randomUUID()fromnode:crypto. Don't re-add theuuidnpm package unless you actually import it.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。