proxmox-guard-mcp
Runs named read-only security and configuration checks on Debian hosts via a restricted SSH audit user, covering listening ports, firewall rules, nginx/sshd settings, pending updates, failed services, login users, and fail2ban.
Audits nginx configuration and exposure, including nginx -T output, and is planned to support reviewed, user-approved nginx changes as part of edge security reviews.
Provides schema-driven read access to the Proxmox VE API through pve_search and pve_get, with planned guarded pve_write and task_wait tools for VM management and security auditing.
Runs named read-only security and configuration checks on Ubuntu hosts via a restricted SSH audit user, covering listening ports, firewall rules, nginx/sshd settings, pending updates, failed services, login users, and fail2ban.
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.
proxmox-guard-mcp
A small, security-first MCP server and skill set for running a Proxmox VE homelab or small production cluster: VM management, security auditing, and the network edge (nginx, firewalls) in front of it.
Status: early.
pve_search,pve_getandhost_check(all read-only) exist. They pass their tests but have not yet been run against a live cluster or host. Writes are not built.
Try it
Create an API token for a user with the PVEAuditor role, copy /etc/pve/pve-root-ca.pem
from a node, then add the server to your MCP client:
{
"mcpServers": {
"proxmox-guard": {
"command": "uv",
"args": ["run", "--directory", "/path/to/proxmox-guard-mcp", "proxmox-guard-mcp"],
"env": {
"PVE_HOST": "pve1.example.lan",
"PVE_TOKEN_ID": "audit@pve!mcp",
"PVE_TOKEN_SECRET_CMD": "security find-generic-password -w -s proxmox-guard-mcp",
"PVE_CA_FILE": "/path/to/pve-root-ca.pem"
}
}
}
}PVE_TOKEN_SECRET_CMD reads the secret from a keychain or password manager so it never sits
in a config file; PVE_TOKEN_SECRET is accepted too. TLS verification can't be turned off.
Related MCP server: proxmox-safe-mcp
Goals
Light. A handful of tools instead of one tool per API endpoint. The Proxmox API is reached through search + call tools driven by the official API schema; procedures live in skills, which cost no context until used.
Safe by construction. No free-form shell tool. Host and guest checks are named, predefined, read-only commands, enforced on the target host as well as in this server.
Changes need a human. Reads are free. Every write (Proxmox API, nginx, firewall) is shown as a proposal and applied only after the user approves that specific change.
Beyond Proxmox. Audits what is actually exposed: port forwards, reverse proxy config, TLS, firewall rules, SSH settings, pending updates.
Host checks
host_check looks inside the Proxmox host, VMs and containers: listening ports, firewall
rules, nginx -T, sshd -T, pending updates, failed services, login users, fail2ban.
It is not a shell. On each target (Debian, Ubuntu, Proxmox), as root:
ssh-keygen -t ed25519 -f ~/.ssh/mcp-audit -C mcp-audit # once, on your machine
cd host && ./install.sh "$(cat mcp-audit.pub)" 192.0.2.10 # on the target; the IP is optionalThat creates user mcp-audit. Its key can run one program, /usr/local/sbin/mcp-check, which
accepts only the exact check names and runs fixed commands; sudoers allows exactly the
root command lines those checks need. sshd and sudo enforce this on the target, so a
compromised MCP server or a stolen key can run those read-only checks and nothing else.
On your machine, list the hosts and record their host keys:
mkdir -p ~/.config/proxmox-guard-mcp && cd ~/.config/proxmox-guard-mcp
echo '{"edge": {"address": "10.0.0.5"}, "pve1": {"address": "10.0.0.2"}}' > hosts.json
ssh-keyscan 10.0.0.5 10.0.0.2 >> known_hosts # compare fingerprints before trustingand add "GUARD_SSH_KEY": "/Users/you/.ssh/mcp-audit" to the server's env. Callers choose
a host by name from hosts.json; no other address can be reached.
Note that nginx_config output goes to the model. Keep secrets out of nginx config comments
and inline values, or don't run that check on hosts where they are.
Planned tools
Tool | Purpose |
| Find an endpoint in the Proxmox VE API schema |
| Read call, with field selection to keep results small |
| Write call: guarded, user-approved, audit-logged |
| Run a named read-only check on a host or guest |
| Wait for a long-running task |
Planned skills
infra-audit, exposure-map, nginx-review, vm-safe-change
Security model
stdio only; the server opens no network listener.
Separate Proxmox API tokens for reading (
PVEAuditor) and writing (narrow ACL). Proxmox's own permissions are the real boundary; server-side guards are a second layer.TLS verification on by default; fails closed.
Tool output is untrusted input (logs, VM names and config comments can carry text written by an attacker), so no write runs on the model's decision alone.
Secrets come from the OS keychain or environment, never from the repository.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
Audit active CISA KEV ransomware CVEs, SSL/TLS CT log subdomains, SPF/DMARC security & ICANN RDAP.
Infrastructure context for any AI: VMware, Nutanix, Kubernetes and cloud. Read-only, off production.
Read-only discovery for AgentCheck, a visitor-side security review of AI chatbots and agents.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables management of Proxmox VE infrastructure via its REST API and execution of commands inside LXC containers via SSH, with built-in trust layers for planning, audit, undo, and diagnosis.6727 PyPI97AGPL 3.0
- AlicenseDqualityDmaintenanceEnables safe, confirmable Proxmox operations: read-only cluster/guest status and bounded power actions and snapshot creation, with explicit byte-for-byte approval for each mutation.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables read-only interaction with Proxmox VE API, providing tools to query nodes, guests, storage, firewall, backups, and recent tasks.5MIT
- AlicenseBqualityBmaintenanceEnables schema-validated access to all 680 Proxmox VE API endpoints plus curated guest, snapshot, backup, storage, and task tools, with read-only behavior by default and controlled writes when explicitly enabled.20AGPL 3.0