Proxmox MCP Server
MCP server for Proxmox VE and Proxmox Datacenter Manager, covering every API endpoint via six consolidated tools for list, describe, and call operations with a read-only safety gate.
README
Proxmox MCP Server
MCP server for Proxmox VE and Proxmox Datacenter Manager (PDM), covering every API endpoint: 993 operations total behind 6 consolidated catalog-backed tools rather than one tool per endpoint.
| Surface | Endpoints | Read (GET) | Write (POST/PUT/DELETE) | Tools |
|---|---|---|---|---|
PVE (pve_*) |
675 | 340 | 335 | pve_list_endpoints / pve_describe_endpoint / pve_call_endpoint |
PDM (pdm_*) |
318 | 199 | 119 | pdm_list_endpoints / pdm_describe_endpoint / pdm_call_endpoint |
Every endpoint is mapped, documented, and available via the catalog. Reads execute by default; writes are blocked unless explicitly enabled via an environment variable (read-only safety gate). Destructive operations require an additional per-call confirm:true.
Each surface has its own catalog (src/catalog-pve/, src/catalog-pdm/) and its own credentials. Configure one or both.
How it works
The catalog is the single source of truth, generated deterministically from Proxmox's own published API schema (apidoc.js): no field loss, no hand-maintenance.
scripts/extract.mjs <pve|pdm>flattensapidoc.js'sapiSchematree into one faithful raw spec per(method, path)endpoint.scripts/assemble-catalog.mjs <pve|pdm>derivesresource,category,destructiveflag, required-param flags, param routing (query vs body), and a request sample; writes the shippablesrc/catalog-<surface>/endpoints/<operationId>.json+index.json.
The six tools follow discover, describe, call:
| Tool | Purpose |
|---|---|
<surface>_list_endpoints(category?, resource?, method?, reads_only?, writes_only?, search?, limit?) |
Discover endpoints (operationId, method, path, category, read/write, destructive). |
<surface>_describe_endpoint(operation_id) |
Full spec: path params, query/body params (types, formats, enums, constraints), response schema, required permissions, request sample, and any enrichment. |
<surface>_call_endpoint(operation_id, path_params?, params?, confirm?) |
Validates operationId + required path params, enforces the write gate, then executes. |
operationId = <method>_<path> lowercased with {placeholders}/punctuation collapsed to _ (e.g. get_nodes, post_nodes_node_qemu, delete_nodes_node_qemu_vmid_snapshot_snapname). Unique across each surface (zero collisions).
Setup
Quick start (npx)
Add to your MCP client config (.mcp.json for Claude Code, claude_desktop_config.json for Claude Desktop):
{
"mcpServers": {
"proxmox": {
"command": "npx",
"args": ["-y", "@nightsquawktech/proxmox-mcp-server"],
"env": {
"PVE_HOST": "pve.example.com",
"PVE_TOKEN_ID": "root@pam!mcp",
"PVE_TOKEN_SECRET": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"PVE_TLS_REJECT_UNAUTHORIZED": "false"
}
}
}
}
Add the PDM_* equivalents to also configure a Proxmox Datacenter Manager instance. See .mcp.example.json for a full example.
From source
npm install
npm run build
Then configure credentials (see .env.example) and point your MCP client at dist/index.js.
Authentication
Create a Proxmox API token (Datacenter > Permissions > API Tokens). The PVE auth header is PVEAPIToken=USER@REALM!TOKENID=SECRET.
| Variable | Surface | Notes |
|---|---|---|
PVE_HOST / PVE_BASE_URL |
PVE | PVE_HOST expands to https://<host>:8006/api2/json; or set the full PVE_BASE_URL. |
PVE_TOKEN_ID |
PVE | e.g. root@pam!mcp |
PVE_TOKEN_SECRET |
PVE | The token UUID |
PVE_TLS_REJECT_UNAUTHORIZED |
PVE | false to accept Proxmox's self-signed cert (default true) |
PVE_AUTH_SCHEME / PVE_AUTH_SEP |
PVE | Override the PVEAPIToken scheme / = separator if needed |
PDM_* |
PDM | Same keys with PDM_ prefix; default port 8443, scheme PDMAPIToken |
PDM note: PDM is newer and its token scheme/separator may differ from PVE. If PDM auth fails, adjust
PDM_AUTH_SCHEME/PDM_AUTH_SEP(or set the fullPDM_BASE_URL), no code change required.
Write gate (read-only by default)
Writes (POST/PUT/DELETE) are blocked unless enabled:
PROXMOX_ALLOW_WRITES=trueenables writes for all surfaces, orPVE_ALLOW_WRITES=true/PDM_ALLOW_WRITES=trueper surface.
Even with writes enabled, endpoints flagged destructive (delete, stop, reset, reboot, suspend, rollback, destroy, wipe, migrate) require confirm:true on the call to execute.
Regenerating the catalog
The shipped catalog lives committed under src/catalog-pve/ and src/catalog-pdm/. The raw Proxmox API dumps under _source/ are gitignored: they are re-downloadable inputs, regenerated via npm run regen. To refresh from a new Proxmox release:
# 1. Download the schema (or copy /usr/share/pve-docs/api-viewer/apidoc.js off a host)
# PVE: https://pve.proxmox.com/pve-docs/api-viewer/apidoc.js -> _source/pve-apidoc.js
# PDM: https://pdm.proxmox.com/docs/api-viewer/apidoc.js -> _source/pdm-apidoc.js
# 2. Regenerate
npm run regen # = extract + assemble for both surfaces
npm run build
Optional enrichment layer
src/catalog-<surface>/enrichment/<operationId>.json may add additive-only documentation (usageNotes, examples, destructiveReason, tips, relatedOperations) merged into describe_endpoint output. It never alters the authoritative structural fields (params/types/returns), which come straight from Proxmox.
Architecture
Built on NightSquawk's catalog-backed meta-tool pattern (same as @nightsquawktech/appfolio-mcp-server): consolidated list/describe/call tools over a generated JSON catalog keep tool count tiny while indexing the entire API. TypeScript + @modelcontextprotocol/sdk, stdio transport, undici for TLS-configurable fetch.
License
Licensed under the GNU AGPL v3.0. Free for personal and open-source use.
Organizations that cannot comply with the AGPL can purchase a commercial license. See COMMERCIAL.md or contact hello@nightsquawk.tech.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。