Repository navigation
Home
RekklesNA edited this page Sep 4, 2026
·
3 revisions
This wiki is the task-oriented documentation hub for ProxmoxMCP-Plus.
ProxmoxMCP-Plus exposes Proxmox VE operations through:
- native MCP stdio for local agents and IDEs
- native MCP Streamable HTTP at
/mcpfor remote MCP clients - an OpenAPI bridge for HTTP automation, dashboards, and no-code workflows
Use the root README.md for the fast project overview. Use this wiki when you need to install a client, choose the right runtime, operate safely, debug a deployment, or inspect the tool surface.
| If you want to... | Open this page |
|---|---|
| Install the server in Claude Desktop, Cursor, VS Code, Codex, OpenCode, Open WebUI, or a generic MCP client | Client Setup |
| Decide between stdio, Streamable HTTP, and OpenAPI | Operator Guide |
| Choose the right tool for VM, LXC, snapshot, backup, ISO, command, or job workflows | Tool Selection Guide |
| Understand auth, TLS, command policy, approval tokens, and MCP HTTP Host/Origin controls | Security Guide |
| Enable SSH-backed LXC command execution | Container Command Execution |
| Browse exact tool names, inputs, prerequisites, and failure modes | API & Tool Reference |
Debug startup, auth, SSH, /livez, /readyz, or /health issues |
Troubleshooting |
| Work on code, run checks, or publish a release | Developer Guide |
| Review release history and upgrade notes | Release & Upgrade Notes |
| Improve README, media, docs site, wiki, and docs automation | Documentation Quality Plan |
- Create
proxmox-config/config.jsonfromproxmox-config/config.example.json. - Add Proxmox API host, user, token name, and token value.
- Pick one runtime:
| Runtime | Command | Target |
|---|---|---|
| MCP stdio | uvx proxmox-mcp-plus |
launched by local MCP clients |
| MCP Streamable HTTP | docker compose --profile mcp-http up -d proxmox-mcp-http |
http://<host>:8000/mcp |
| OpenAPI | docker compose up -d |
http://<host>:8811/docs |
- Verify read-only tools first:
get_nodes,get_vms,get_containers, andget_storage. - Use mutating tools only after checking permissions, target IDs, storage, and safety policy.
- VM and LXC lifecycle operations
- snapshots, rollback, backup, and restore
- ISO and template workflows
- cluster, node, and storage inspection
- SSH-backed container command execution
- persistent job tracking with retry, cancel, polling, and audit history
- OpenAPI bridging for the MCP tool surface
- named Proxmox targets with isolated connections, jobs, and safety policies
- opt-in MCP tool allowlists and denylists to reduce client schema exposure
ProxmoxMCP-Plus is not a replacement for Proxmox RBAC or network isolation. It adds an operator-facing control layer:
- Proxmox API token permissions remain the backend source of authority.
- OpenAPI mode requires
PROXMOX_API_KEYby default. - Native MCP HTTP mode can require a separate
MCP_API_KEYBearer token. - TLS validation is enforced unless
security.dev_mode=trueis explicitly enabled. -
command_policyandapproval_tokencan gate command execution and high-risk operations. - MCP HTTP deployments can configure DNS rebinding protection plus Host and Origin allowlists.
- Logs are designed to avoid leaking command and credential material.
-
main.pystarts the MCP server entrypoint. -
src/proxmox_mcp/server.pyinitializes the MCP server. -
src/proxmox_mcp/services/builtin_tool_plugins.pyregisters the built-in tool groups. -
src/proxmox_mcp/openapi_proxy.pyexposes/,/docs,/openapi.json,/livez,/readyz,/health,/metrics, and/jobs. -
src/proxmox_mcp/config/validates configuration and runtime settings. -
src/proxmox_mcp/security/command_policy.pyapplies allow and deny rules for execution requests. -
src/proxmox_mcp/services/jobs.pypersists long-running job state in SQLite.
Primary validation entry points:
pytest -q --cov=proxmox_mcp --cov-report=term-missing --cov-fail-under=75ruff check .mypy src --ignore-missing-importspip-audit -r requirements.txttests/integration/test_real_contract.pytests/scripts/run_real_e2e.py
Live-environment validation covers VM, LXC, snapshot, backup, ISO, container command, OpenAPI, and Docker paths when a real Proxmox lab config is available.