
Cursor Proxmox MCP
io.github.hackmodsPublished by GitHub account hackmodsv1.9.0Updated Oct 25, 2026
Manage Proxmox VE via Cursor: QEMU, LXC, storage, HA, firewall, access.
Overview
A local MCP server that lets an assistant manage Proxmox VE clusters: QEMU VMs, LXC containers, storage, HA, firewall and access control.
- What you can do
- Inspect nodes, cluster status, tasks, networks, certificates and services, and reboot or shut down nodes with typed confirmation. Create, configure, start, stop, migrate and delete QEMU VMs and LXC containers, including one-shot provisioning and guest-agent file push/pull. Manage snapshots, backups and backup jobs, storage content and definitions, and PBS storage status. Administer HA groups and resources, firewall rules, aliases and IP sets, users, groups, roles, ACLs and tokens. Handle replication jobs, SDN zones and vnets with apply, ACME certificate order/renew, Ceph status and pools, and gated OSD create/destroy.
- When to use it
- Useful when you want an AI assistant to operate a Proxmox VE homelab or cluster directly from Cursor: provisioning guests, checking task and node status, taking snapshots before changes, or adjusting firewall and access settings.
- Requirements
- Runs locally over stdio via uvx (uv) or Python 3.10+, or as a container image. Needs a Proxmox API token and a config.json whose absolute path is set in PROXMOX_MCP_CONFIG; the token secret can be supplied through PROXMOX_TOKEN_VALUE. Network access to the Proxmox host is required. Optional host SSH is needed for LXC shell and runtime IP features.
Installation
In SourceWeft
- Open Cursor Proxmox MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
cursor-proxmox-mcp
[CI] [License: MIT] [PyPI] [GHCR]
Formal Cursor ↔ Proxmox VE MCP integration — 212 tools covering QEMU VMs (incl. guest-agent network/file/guest-info/fsfreeze + bootstrap_cloudinit_vm / provision_vm + qm_set_vm), LXC (incl. provision_lxc, bootstrap_docker_lxc, crun Path B, DNS/SSH helpers, deploy_node_app), unified guest power, storage admin (incl. PBS plugin + status), cluster/tasks (incl. join), snapshots, backups, migration, HA, firewall, access control, replication, SDN write + apply, ACME order/renew, Ceph status/pools + gated OSD create/destroy, node network CRUD, console tickets/get_console_connection, and host reboot/shutdown. v1.9.0 adds optional dual-credential elevated mode (auth_write, D31) + provision_vm + Cursor day-2 auto-approve docs.
Repo: hackmods/cursor-proxmox-mcp
Docs: Setup guide · Wiki (docs/wiki/) · Publishing · Security · Contributing · API coverage · Changelog
MCP tools
Registered via tools/register.py (called from ProxmoxMCPServer._setup_tools()) — inventory locked by tools/inventory.py / tests/expected_tools.py (CI fails on drift).
Suggested agent flow
get_next_vmid→list_os_templates/list_isos→list_node_networksprovision_lxc/provision_vm(preferred one-shot) orcreate_lxc/create_vm→wait_for_task→ startcreate_snapshotbefore risky changes →update_*_config→get_guest_pending→ reboot if neededmigrate_guest/ HA / firewall / access / replication as needed
Guest type unknown? Prefer unified tools (start_guest, stop_guest, shutdown_guest, reboot_guest, delete_guest, get_guest_status) with guest_type=qemu|lxc. Parallel *_vm / *_lxc names stay for existing prompts.
Installation
Prerequisites
- uv (recommended) or Python 3.10+
- Proxmox API token
Path 1 — uvx (recommended)
PyPI package name is cursor-proxmox-mcp (console scripts: cursor-proxmox-mcp, plus aliases proxmox-mcp-server / proxmox-mcp).
Note: The unrelated PyPI project
proxmox-mcp-serveris a different codebase. Always installcursor-proxmox-mcp.
Cursor MCP (published package — no checkout):
From a local checkout, use "args": ["--from", "C:/Users/YOU/Projects/cursor-proxmox-mcp", "cursor-proxmox-mcp"] instead.
Why uvx: it resolves dependencies into an isolated ephemeral env so Cursor does not depend on a hand-managed venv/PYTHONPATH.
Path 2 — uv from source
Path 3 — pip fallback
Cursor MCP (direct Python — use absolute paths):
Restart the proxmox MCP server in Cursor after pulling new tools. Manual launchers: start.bat (Windows) / start.sh (Unix) — prefer uvx cursor-proxmox-mcp in mcp.json.
Verify / local CI
Runs: editable install → entrypoint smoke → ruff → pytest → inventory floor (≥100 tools).
Troubleshooting
First-time cluster wiring (token, privsep, Cursor JSON, example prompts): SETUP.md. LXC shell / runtime IP needs opt-in host SSH (authorized_keys, optional host_overrides, reload MCP): SETUP.md — SSH for LXC exec.
Configuration
Example proxmox-config/config.json:
Tool invocations are audited to the log file as tool_call name=… ok=… duration_ms=… (secrets redacted). Set verbose: true or env PROXMOX_MCP_VERBOSE=1 for richer diagnostics without urllib3 spam. Details: proxmox-config/README.md — Logging.
Create the token in Proxmox UI: Datacenter → Permissions → API Tokens. See SETUP.md — API token & Privilege Separation for the full walkthrough.
Privilege Separation: leave Yes (default) and grant ACLs to the token (user@realm!tokenid). Setting it to No makes the token inherit the user’s full permissions (common lab shortcut; larger blast radius if leaked). Grant roles matching the tools you use (PVEAuditor, PVEVMAdmin, Datastore.*, Sys.Audit/Sys.Modify for HA/firewall/access).
Prefer "token_value": "${PROXMOX_TOKEN_VALUE}" in config and set the env var in Cursor MCP config so secrets stay out of the JSON file.
Security
This server can create/delete guests, change firewall/ACL, and run guest commands. Treat the API token like production infra credentials. Full policy: SECURITY.md.
Features
- Token auth via proxmoxer (JSON config + optional
${ENV}secret interpolation) - Structured
tool_callaudit logging (redacted) +verbose/ env log overrides - Full guest lifecycle, snapshots, vzdump backups
- Storage content + definition CRUD + URL download
- Cluster HA, firewall (rules/aliases/ipsets), access/ACL/tokens
- Replication jobs, SDN write + apply, ACME order/renew, Ceph status/pools, pools
- Console ticket mint +
get_console_connection(VNC/SPICE/termproxy) — no websocket proxy (D6) - PBS as PVE storage plugin (not full PBS product admin); node network CRUD + reload
- uvx / uv / pip / Docker (GHCR) install paths; optional
.[openapi]for mcpo - Local + GitHub CI (
ruff+pytest+ coverage + inventory + design invariants)
Closed non-goals (not missing — D30)
Do not treat these as planned gaps: long-lived VNC/SPICE websocket proxy (tickets only — D6), full PBS product admin, or ungated Ceph OSD/MON/MGR create/destroy. Gated OSD tools are shipped; MON/MGR lifecycle stays on Ceph/PVE tooling.
Development
After adding a tool: update definitions.py, README table, .cursor/research/proxmox-api-coverage.md, .cursor/research/next-expansion.md (if closing a planned row), and tests/expected_tools.py.
Status
- Formal multi-domain Proxmox API coverage (212 tools)
- Phase B + Phase D agent QOL tools
- Phase F LXC day-2 + Phase F.1 VM network/push + create wait opt-in
- Phase C light: node reboot/shutdown + cluster join (typed confirm)
- Phase C remainder: SDN write / ACME / Ceph pools / console helper / PBS storage / node net CRUD
- Gated Ceph OSD create/destroy (confirm + dry-run default)
- v1.0 security hardening, code-design audit, full test suite
- uvx
cursor-proxmox-mcp+ PyPI/GHCR release workflow - Local + GitHub CI with coverage + design invariants
License
MIT
Acknowledgments
Based on ProxmoxMCP / canvrno/ProxmoxMCP. Extended for Cursor IDE as a formal Proxmox VE integration.
Source: README.md at commit 67756d6
Tools
0Version history
1- v1.9.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts