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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
$ 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 Proxmox lab with a few standalone nodes and one 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.
The profile has version: 2, the shared gateway at the top level, and one entry per Proxmox node under nodes. default_node names the node that a call without node uses.
Key | Where | Sets |
| top level | SSH alias of the gateway |
| top level | the dnsmasq hosts file, the Caddyfile and the environment file on the gateway |
| top level | the command that reloads Caddy |
| node | SSH alias of the Proxmox node |
| node | gateway address on the node's guest network, which sets the /24 subnet |
| node | defaults for new guests |
| node | a multiple of 1000 added to every VMID (default |
| node |
|
Guest and forward tools take an optional node. DNS and Caddy tools act on the shared gateway. Each key also reads PVE_<KEY>, which wins over the older UTILS_PVE_<KEY>, which wins over the file. PVE_NODE picks the node when a call does not. 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
Standalone Proxmox nodes, each with one IPv4 /24 guest network, and the VMID, SSH port and firewall group conventions of this lab. It is not a cluster manager and does not move guests between nodes.
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 standalone Proxmox nodes and their shared 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(profile version 2),PVE_CONFIG_PATH,PVE_NODE, 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 /24 guest network per node, no cluster operations. 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.
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.10014 npmMIT
- AlicenseCqualityDmaintenanceEnables management of Proxmox VE environments, including VMs, containers, storage, and cluster operations through natural language.7674 npmMIT
- AlicenseAqualityBmaintenanceEnables natural language interaction with Proxmox VE clusters for managing VMs, containers, storage, and snapshots.2713 npm3MIT
- FlicenseBqualityDmaintenanceEnables natural language management of Proxmox VE VMs and containers, including lifecycle, snapshots, cloud-init, and secure multi-step automation workflows.65-