PVE
Provides tools for managing Caddy site configurations, including diff previews, validation, and reload with rollback on failure.
Provides tools for managing Proxmox VMs and LXC containers, including listing, creating, starting, stopping, and deleting them, along with host port forwarding and gateway dnsmasq internal DNS records and provisioning using existing node, IPv4 subnet, VMID/SSH port, and firewall group conventions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PVE列出目前的 VM 和 LXC,並查看 book-prod 的狀態"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
$ pve_add_dns { "host": "dnscheck.internal", "ip": "10.10.10.250", "yes": true }
{"host": "dnscheck.internal", "ip": "10.10.10.250", "action": "added", "verified": true}A single-node Proxmox lab with a gateway runs on many small chores: guests, port forwards, internal DNS records and reverse-proxy sites. This plugin gives Codex and Claude Code 16 tools for them over SSH. Each tool that changes something needs an explicit confirmation.
Features
Manages guests: lists, inspects, starts, stops, clones and destroys VMs and containers. A destroy also removes the guest's forwards, DNS records, Caddy sites and SSH alias.
Forwards ports: adds and removes iptables DNAT rules on the host and keeps them across reboots.
Edits internal DNS: adds and removes
*.internalrecords in the gateway's dnsmasq, then verifies each change with dnsmasq.Edits Caddy sites: previews the diff, runs
caddy validate, reloads Caddy and rolls back when the reload fails.
Related MCP server: Proxmox MCP Server
Quick start
claude plugin marketplace add zyx1121/marketplace
claude plugin install pve@zyx1121Codex: codex plugin marketplace add zyx1121/marketplace, then codex plugin add pve@zyx1121.
Copy examples/pve.config.example.json to ~/.config/pve/config.json (mode 600), and set your host aliases, gateway paths and template IDs. Start a new session and ask "List my VMs".
The plugin needs Bun 1.3.13 or later, uv, SSH, and Python 3.11 or later. The MCP server ships bundled.
Usage
Area | Tools |
Guests |
|
Port forwards |
|
Internal DNS |
|
Caddy |
|
Tools that change something need
yesorconfirm.pve_stop_guestcuts the power, andpve_destroy_guestcannot be undone.The DNS tools manage the internal dnsmasq only, not public DNS.
A call has a 120-second limit. A timeout does not mean a rollback, so look at the remote state before you retry.
Configuration
~/.config/pve/config.json holds the profile. PVE_CONFIG_PATH and XDG_CONFIG_HOME move it.
Key | Sets |
| SSH aliases of the Proxmox host and the gateway |
| gateway address on the guest bridge, which sets the subnet |
| the dnsmasq hosts file, the Caddyfile and the environment file on the gateway |
| the command that reloads Caddy |
| defaults for new guests |
Each key also reads PVE_<KEY>, which wins over the older UTILS_PVE_<KEY>, which wins over the file. SSH config keeps the users and keys. Secrets stay on the gateway. Without a profile, the tools return a setup error instead of guessing a network.
How it works
The Bun MCP server runs each call as a Python script under uv. The script works over SSH on the host or the gateway.
DNS edits fail before they write when dnsmasq does not read the configured hosts file. After a reload, the tools ask dnsmasq with
digand reportverified.The tools write the hosts file in place, so a symlinked file stays a symlink.
Port forwards persist to
/etc/iptables/rules.v4without the rules that the SDN adds by itself.
Limits
One Proxmox node with an IPv4 /24 guest network, and the VMID, SSH port and firewall group conventions of this lab. It is not a general cluster manager.
The template, bridge, firewall group and gateway services in the profile must exist first.
For AI agents
Facts for coding agents and LLM tools. The rules for changing the code are in AGENTS.md.
Summary: Plugin with 16 MCP tools for a single-node Proxmox host and its gateway: guests, forwards, dnsmasq records and Caddy sites.
Type: plugin
Interfaces: MCP
pve(stdio,dist/server.js).scripts/pve.pyalso runs as a CLI under uv.Install:
claude plugin install pve@zyx1121, afterclaude plugin marketplace add zyx1121/marketplaceRun: the host starts the MCP server
Verify: call
pve_list_guests, orpve_list_dnsand expectserved: trueConfig:
~/.config/pve/config.json,PVE_CONFIG_PATH, andPVE_<KEY>for each profile keySecrets: none in the plugin. SSH keys stay in SSH config, and gateway secrets stay on the gateway.
Limits: one node and one /24 guest network. Stop and destroy act at once after confirmation.
Development
bun install --frozen-lockfile
bun run checkThe tests use a fake SSH and temporary files, so they never touch a real host. plugin.json and mcp.json are the manifest sources. CI fails when the generated files are stale.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
- emisarOAuthdev.emisar
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Linux VMs for AI agents: create VMs, run commands, edit files and open preview URLs.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables management of Proxmox VE infrastructure through natural language, providing 120+ tools to control virtual machines, containers, storage, cluster resources, users, and network configurations via the Proxmox API.10024 npmMIT
- AlicenseCqualityDmaintenanceEnables management of Proxmox VE environments, including VMs, containers, storage, and cluster operations through natural language.7623 npmMIT
- AlicenseAqualityBmaintenanceEnables natural language interaction with Proxmox VE clusters for managing VMs, containers, storage, and snapshots.2710 npm3MIT
- FlicenseBqualityDmaintenanceEnables natural language management of Proxmox VE VMs and containers, including lifecycle, snapshots, cloud-init, and secure multi-step automation workflows.65-