Skip to main content
Glama

mcp-proxmox

Read-only MCP server for the Proxmox VE API.

No write tools in v0. Designed for local MCP clients against a Proxmox cluster reached over a private network (VPN / reverse proxy recommended).

Features

  • Token auth (PVEAPIToken=…)

  • HTTP client that only issues GET

  • Secret redaction (cipassword, sshkeys, …)

  • Tools: nodes, guests (QEMU/LXC), storage, firewall, backups, recent tasks

Related MCP server: proxmox-mcp

Requirements

  • Python 3.11+

  • Poetry

  • A Proxmox API token with PVEAuditor (or equivalent read-only role)

  • Network path to the API (VPN + private reverse proxy recommended)

Setup

cp .env.example .env   # set PROXMOX_URL, PROXMOX_TOKEN_ID, PROXMOX_TOKEN_SECRET
poetry install

See SETUP.md for creating mcp@pve!readonly in the Proxmox UI.

Run (stdio)

poetry run mcp-proxmox

MCP client config

Point your client at the in-project Poetry venv (after poetry install with virtualenvs.in-project = true):

{
  "mcpServers": {
    "proxmox": {
      "command": "/absolute/path/to/mcp-proxmox/.venv/bin/python",
      "args": ["-m", "mcp_proxmox"],
      "envFile": "/absolute/path/to/mcp-proxmox/.env"
    }
  }
}

On Windows, use .venv\\Scripts\\python.exe instead of .venv/bin/python.

Works the same way for Cursor, Claude Desktop, Codex, or any stdio MCP client.

Inspector

npx @modelcontextprotocol/inspector poetry run mcp-proxmox

Connectivity check

poetry run mcp-proxmox-check
poetry run mcp-proxmox-check --check-write-denied   # optional ACL probe

Tests

poetry run pytest
poetry run ruff check .
poetry run ruff format --check .

Env vars

Variable

Description

PROXMOX_URL

Base URL, no trailing slash (required)

PROXMOX_TOKEN_ID

user@realm!tokenid (required)

PROXMOX_TOKEN_SECRET

Token secret (required)

PROXMOX_VERIFY_TLS

true / false

PROXMOX_TIMEOUT

Seconds

Security model

  • The HTTP wrapper exposes only GET; non-GET methods are not available on the client.

  • Responses are recursively redacted for known secret keys (password, sshkeys, token, …).

  • Use a least-privilege token (PVEAuditor) with privilege separation enabled.

  • Do not expose Proxmox :8006 on the WAN; reach it over VPN or a private reverse proxy.

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables read-only interaction with Proxmox homelab VMs and containers, allowing LLM agents to list VMs, monitor status and performance metrics, view snapshots, and check cluster health through natural language queries.
    8
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A read-only MCP server for Proxmox VE that provides AI assistants with structured visibility into cluster nodes, guests, storage, and Docker workloads. It is designed to prevent any mutating operations by construction.
    12
    MIT
  • F
    license
    B
    quality
    C
    maintenance
    Read-only Proxmox VE MCP server providing 25 tools for VM, LXC, node, storage, and cluster inspection via stdio transport.
    25
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides read-only Proxmox cluster oversight and configuration compliance checks through MCP, covering health, inventory, storage, backups, snapshots, and updates.
    -