Proxmox MCP Bridge

Proxmox MCP Bridge

Policy-aware MCP server for Proxmox VE that maps the official API schema to MCP tools, enabling node health, disk, network, journal, updates, guest configuration, snapshots, backups, consoles, task lifecycle, service, command, and file-transfer operations with role-based access control.

Category
访问服务器

README

Proxmox MCP Bridge

A policy-aware Model Context Protocol server for Proxmox VE. It maps the API schema installed on the host, provides compact and expanded MCP tool modes, supports Streamable HTTP and stdio, and adds guarded host command and filesystem operations.

The first release targets Proxmox VE 9.x. Portability to other releases is experimental.

Capabilities

  • Complete API discovery, description, and invocation from the official local apidoc.js schema.
  • Automatic schema refresh after Proxmox updates with last-known-good fallback.
  • Curated node health, disk, network, journal, updates, guest configuration, snapshots, backups, consoles, task lifecycle, service, command, and file-transfer tools.
  • Optional endpoint-per-tool expansion via PMCP_TOOL_MODE=expanded.
  • Per-person read-only, operator, admin, root, or deterministic custom policies.
  • Conversational onboarding through the proxmox_onboarding MCP prompt.
  • Two-confirmation, one-operation, five-minute break-glass handling for the protected model repository.

Install on Proxmox

Prerequisites:

  • A Proxmox VE 9.x host and root shell.
  • Internet access during installation for Debian packages and npm dependencies.
  • Optional Tailscale installed, logged in, and active if Tailnet access is selected.
  • A private RFC1918 address if private-LAN access is selected.
git clone https://github.com/jebinjollyabraham/proxmox-mcp-bridge.git /root/tools/proxmox-mcp-bridge
cd /root/tools/proxmox-mcp-bridge
./scripts/install.sh

The interactive installer asks whether this installation should be reachable through localhost, Tailscale, a private LAN, or both Tailscale and LAN. It detects the current host's values and writes them only to /etc/proxmox-mcp-bridge/service.env; no installation-specific hostname or address belongs in this repository.

The installer creates a dedicated Proxmox service identity, system users, systemd units, a local TLS CA, and the first root-profile MCP key. Its one-time plaintext is written to /root/proxmox-mcp-initial-key.json with mode 0600; only the scrypt hash remains in bridge state. The MCP bearer key is separate from the internal Proxmox API token.

Endpoints:

  • Tailnet example: https://your-proxmox-host.your-tailnet.ts.net/mcp
  • Private-LAN example: https://192.168.1.100:9444/mcp
  • Loopback: http://127.0.0.1:8765/mcp

The installer prints the actual endpoints for that installation. It adds the Tailnet /mcp route without resetting other Tailscale Serve routes. LAN clients must trust /etc/proxmox-mcp-bridge/pki/ca.crt. The bridge never intentionally binds to a public address.

For unattended installation, set PMCP_SETUP_MODE to local, tailscale, lan, or both. PMCP_LAN_HOST is required for LAN modes unless a private address can be detected. PMCP_TAILSCALE_HOST can override Tailscale DNS-name detection.

Key management

proxmox-mcp key create --name alice --profile read-only
proxmox-mcp key create --name operator --profile operator --expires 2027-01-01T00:00:00Z
proxmox-mcp key list
proxmox-mcp key rotate alice
proxmox-mcp key revoke alice

Key secrets are returned once. Rotation atomically revokes the prior key. Use the onboarding and policy tools to create a custom policy, activate its digest, then bind a key with --profile custom --policy POLICY_ID.

Automatic API alignment

At startup the bridge extracts only the JSON array assigned to const apiSchema in /usr/share/pve-docs/api-viewer/apidoc.js; it never evaluates JavaScript. The normalized registry records method, template path, parameter and return schemas, permissions, token support, risk, and a deterministic expanded tool name.

proxmox-mcp-schema.path watches the official schema. A valid update replaces the cache and restarts the bridge. A malformed update leaves the last-known-good cache active and surfaces the error through proxmox_schema_status and /healthy.

Safety boundary

No installation or test command writes to or deletes /mnt/model-repo or its logical volume. Ordinary bridge processes see the model mount read-only and known model block-device paths hidden. Model mutation requires an exact structured operation, two separate confirmation phrases, and a signed one-shot root runner.

A root MCP key remains equivalent to a highly privileged automation credential. Read the security model before distributing one.

Development

npm ci
npm test

The tests cover schema extraction, deterministic expanded names, key hashing, rotation and revocation, policy precedence, and the model guard. The real model repository is never used as a destructive test target.

License

Apache-2.0

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选