Skip to content

Integrations Guide

RekklesNA edited this page Sep 4, 2026 · 2 revisions

Integrations Guide

This guide covers the main ways to connect clients and platforms to ProxmoxMCP-Plus.

For client-specific install snippets for Claude Desktop, Cursor, VS Code, Codex, OpenCode, Open WebUI, and generic MCP clients, start with Client Setup. This page focuses on transport patterns and HTTP integration details.

Integration Patterns

  • Direct MCP: a client launches the server locally and talks over stdio
  • Native MCP HTTP: a client connects to the Streamable HTTP MCP endpoint at /mcp
  • HTTP/OpenAPI: a client talks to the FastAPI proxy over HTTP

Use direct MCP when the client launches local stdio servers. Use native MCP HTTP when the client supports Streamable HTTP and the server runs elsewhere, such as Docker on another host. Use OpenAPI when the client only understands HTTP or Swagger-style APIs.

Claude Desktop

An example Claude Desktop config is included at proxmox-config/claude_desktop_config.example.json.

Key fields:

  • command: points to your Python interpreter
  • args: launches -m proxmox_mcp.server
  • PYTHONPATH: points to the local src directory
  • PROXMOX_MCP_CONFIG: points to your config file

Typical workflow:

  1. Create and populate proxmox-config/config.json
  2. Update the example paths to your local machine
  3. Add the server entry to Claude Desktop's MCP config
  4. Restart Claude Desktop and confirm the tools appear

OpenCode

Examples for OpenCode live under proxmox-config/opencode/.

Files included:

  • opencode.jsonc.example
  • proxmox-mcp.env.example

The example command sources environment variables and then launches the package. This is useful when you want to avoid hard-coding credentials into the JSON client config.

Generic MCP Clients

Any client that supports launching a stdio MCP server can use this project.

Typical requirements:

  • Python environment with project dependencies installed
  • PYTHONPATH pointing to src when running from source
  • PROXMOX_MCP_CONFIG or equivalent environment variables

Streamable HTTP MCP Clients

For remote MCP clients, run the native MCP HTTP Docker mode:

export MCP_API_KEY="${MCP_API_KEY:-$(openssl rand -hex 32)}"
docker compose --profile mcp-http up -d proxmox-mcp-http

Then connect the client to:

http://<docker-host>:8000/mcp

The default OpenAPI service on port 8811 is not an MCP Streamable HTTP endpoint; MCP HTTP clients should use /mcp on the native MCP service. Configure the client to send Authorization: Bearer <MCP_API_KEY>. The native token is separate from PROXMOX_API_KEY, which applies only to the OpenAPI service.

If the MCP HTTP service is reached through a reverse proxy or gateway, configure the expected external Host header:

MCP_DNS_REBINDING_PROTECTION=true
MCP_ALLOWED_HOSTS=mcp.example.com:*,localhost:*
MCP_ALLOWED_ORIGINS=https://mcp.example.com

OpenAPI Clients

For HTTP-native clients, run the OpenAPI wrapper and connect to:

  • root: http://<host>:8811/
  • docs: http://<host>:8811/docs
  • schema: http://<host>:8811/openapi.json
  • liveness: http://<host>:8811/livez
  • readiness: http://<host>:8811/readyz
  • health readiness alias: http://<host>:8811/health

This path works well for:

  • internal portals
  • small automation scripts
  • tools that only speak REST/OpenAPI
  • Open WebUI-style integrations

OpenAPI Auth and CORS

The proxy supports:

  • API key middleware, required by default
  • automatic strict auth when PROXMOX_API_KEY is configured
  • configurable CORS allow origins
  • configurable path prefix and root path

OpenAPI mode refuses to start without PROXMOX_API_KEY unless PROXMOX_ALLOW_NO_AUTH=true is set for local unauthenticated development. Send authenticated requests with Authorization: Bearer <PROXMOX_API_KEY>. If you expose the API outside a dev machine, also restrict origin and network access.

Integration Checks

After connecting a client, verify:

  • the server starts without config validation errors
  • read-only tools such as get_nodes and get_vms are listed
  • OpenAPI mode returns unauthenticated /livez, plus authenticated /docs and /health
  • container SSH tools appear only when the ssh config exists

Common Integration Mistakes

  • PYTHONPATH not set when running from source
  • PROXMOX_MCP_CONFIG points to the wrong file
  • OpenAPI proxy runs, but authenticated /health stays degraded because the MCP subprocess did not start
  • TLS verification disabled in config while dev_mode is false
  • assuming execute_container_command should exist without an ssh section

Community Deployment Guides

Community guides are hosted separately and may describe version-specific behavior that changes over time. Review this project's Operator Guide and Security Guide before exposing MCP, OpenAPI, or client endpoints.

  • Jetson Orin Nano with Ollama and Open WebUI — a version-pinned walkthrough for running ProxmoxMCP-Plus with a local 7B-class model on an 8GB NVIDIA Jetson Orin Nano. Based on the original community guide by nroam, reviewed and maintained by the ProxmoxMCP-Plus maintainer. The original author attribution and MIT License are preserved in the linked repository.

Related Pages

Clone this wiki locally