ProxmoxEmCP
Provides tools for managing Proxmox VE infrastructure, including node management, VM and container operations, storage and backup, monitoring, and access control.
Click on "Install 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., "@ProxmoxEmCPshow VMs on node pve1"
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.
Proxmox MCP Server
A Model Context Protocol (MCP) server for managing Proxmox VE infrastructure through AI assistants. Available as an npm package, Docker container, or standalone Python application.
Project Background
In May 2025, we launched the original ProxmoxMCP server with FastMCP, FastAPI, and virtual environments. Based on community feedback and operational experience, we rebuilt the project as ProxmoxEmCP - a cleaner, simpler implementation that eliminates setup complexity while maintaining full functionality. This version uses the official MCP SDK directly and runs without virtual environment dependencies, making deployment and maintenance significantly easier.
Related MCP server: proxmox-mcp
Table of Contents
Quick Start
npm/npx
# Install globally
npm install -g @puregrain/proxmox-emcp-node
# Or run directly with npx
npx @puregrain/proxmox-emcp-nodeDocker Hub
docker run -d \
--name proxmox-emcp \
-e PROXMOX_HOST="192.168.1.100" \
-e PROXMOX_TOKEN_ID="your-token-id" \
-e PROXMOX_TOKEN_SECRET="your-token-secret" \
puregrain/proxmox-emcp:latestPrerequisites
Proxmox VE: Version 7.0 or higher with API access enabled
For npm package: Node.js 18+
For Docker: Docker Engine installed
For local Python: Python 3.9+
API Token: Created in Proxmox with appropriate permissions
Installation Methods
npm Package
The npm package provides a native Node.js implementation without Docker requirements.
# Install globally
npm install -g @puregrain/proxmox-emcp-node
# Set environment variables
export PROXMOX_HOST="192.168.1.100"
export PROXMOX_TOKEN_ID="your-token-id"
export PROXMOX_TOKEN_SECRET="your-token-secret"
# Run the server
proxmox-emcp-nodeUsing with npx (no installation required):
PROXMOX_HOST=192.168.1.100 \
PROXMOX_TOKEN_ID=your-token-id \
PROXMOX_TOKEN_SECRET=your-token-secret \
npx @puregrain/proxmox-emcp-nodeDocker Container
Using Docker Compose (Recommended)
Clone the repository:
git clone https://github.com/PureGrain/ProxmoxEmCP.git
cd ProxmoxEmCPConfigure environment:
cp .env.example .env
# Edit .env with your Proxmox credentialsStart the container:
docker-compose up -dUsing Docker CLI
docker run -d \
--name proxmox-emcp \
-e PROXMOX_HOST="192.168.1.100" \
-e PROXMOX_TOKEN_ID="your-token-id" \
-e PROXMOX_TOKEN_SECRET="your-token-secret" \
puregrain/proxmox-emcp:latestUsing GitHub Container Registry
docker run -d \
--name proxmox-emcp \
-e PROXMOX_HOST="192.168.1.100" \
-e PROXMOX_TOKEN_ID="your-token-id" \
-e PROXMOX_TOKEN_SECRET="your-token-secret" \
ghcr.io/puregrain/proxmox-emcp:latestLocal Python
# Clone the repository
git clone https://github.com/PureGrain/ProxmoxEmCP.git
cd ProxmoxEmCP
# Install dependencies
pip install -r requirements.txt
# Set environment variables
export PROXMOX_HOST="192.168.1.100"
export PROXMOX_TOKEN_ID="your-token-id"
export PROXMOX_TOKEN_SECRET="your-token-secret"
# Run the server
python mcp_server_stdio.pyOpen WebUI Integration
For Open WebUI users, we provide ProxmoxWeaver - a specialized tool that brings full Proxmox management capabilities directly into your Open WebUI interface.
ProxmoxWeaver is a native Open WebUI tool that provides the same comprehensive Proxmox VE management features as our MCP server, but specifically designed for the Open WebUI ecosystem.
Features:
Direct integration with Open WebUI's tool system
Same powerful Proxmox management capabilities
No additional containers or services required
Simple installation through Open WebUI's tool marketplace
Installation:
Visit the ProxmoxWeaver repository
Copy the tool configuration
In Open WebUI, navigate to Tools → Add Tool
Paste the ProxmoxWeaver configuration
Configure your Proxmox credentials in the tool settings
Usage:
Once installed, ProxmoxWeaver appears as a native tool in Open WebUI, allowing you to:
Query and manage VMs and containers
Monitor cluster health and resources
Execute commands and create snapshots
Manage storage, backups, and templates
All through natural language interactions in Open WebUI
This integration is perfect for teams already using Open WebUI who want to add Proxmox management capabilities without additional infrastructure.
Configuration
Environment Variables
Variable | Required | Default | Description |
| Yes | - | Proxmox server IP or hostname |
| Yes | - | API token ID |
| Yes | - | API token secret |
| No | root@pam | Proxmox user |
| No | false | Verify SSL certificates |
| No | INFO | Logging level (DEBUG, INFO, WARNING, ERROR) |
Creating API Token
Log into Proxmox Web UI
Navigate to Datacenter → Permissions → API Tokens
Click Add to create a new token
Configure the token:
User: Select your user (e.g., root@pam)
Token ID: Choose a descriptive name
Privilege Separation: Uncheck for full user permissions
Copy the token secret (shown only once!)
AI Agent Integration
Configure your AI assistant (Claude Desktop, Cline, or any MCP-compatible client) to connect to the server.
For npm Package
{
"mcpServers": {
"proxmox": {
"command": "npx",
"args": ["@puregrain/proxmox-emcp-node"],
"env": {
"PROXMOX_HOST": "192.168.1.100",
"PROXMOX_TOKEN_ID": "your-token-id",
"PROXMOX_TOKEN_SECRET": "your-token-secret"
}
}
}
}For Docker Container
{
"mcpServers": {
"proxmox": {
"command": "docker",
"args": ["attach", "proxmox-emcp"],
"env": {
"PROXMOX_HOST": "192.168.1.100",
"PROXMOX_TOKEN_ID": "your-token-id",
"PROXMOX_TOKEN_SECRET": "your-token-secret"
}
}
}
}Available MCP Tools
Node Management
get_nodes- List all nodes in the clusterget_node_status- Get detailed status for a specific node
VM Operations
get_vms- List all VMs across the clusterget_vm_status- Get VM status and configurationstart_vm- Start a virtual machinestop_vm- Stop a virtual machine gracefullyreboot_vm- Reboot a virtual machineexecute_vm_command- Execute commands via QEMU guest agentcreate_vm_snapshot- Create a VM snapshotlist_vm_snapshots- List all snapshots for a VMget_vm_network- Get VM network configuration
Container Operations (LXC)
get_containers- List all LXC containersget_container_status- Get container status and configurationstart_container- Start a containerstop_container- Stop a container gracefullyreboot_container- Reboot a containerexecute_container_command- Execute commands in containercreate_container_snapshot- Create a container snapshotlist_container_snapshots- List container snapshots
Storage & Backup
get_storage- List storage poolsget_storage_details- Get detailed storage pool informationget_backups- List backup files with filteringlist_templates- List VM and container templates
Monitoring & Logs
get_cluster_status- Get comprehensive cluster health and resourcesget_task_status- Check Proxmox task statusget_recent_tasks- List recent tasks with filteringget_cluster_log- Get cluster-wide log entries
Access Control
get_users- List all users with groups and tokensget_groups- List all groups with membersget_roles- List all roles and privileges
Network & Security
get_firewall_status- Get firewall status and rules
Architecture
┌─────────────────┐
│ AI Assistant │
│ (Claude, etc) │
└────────┬────────┘
│ MCP Protocol
▼
┌─────────────────┐
│ MCP Server │
│ (Node/Python) │
└────────┬────────┘
│ REST API
▼
┌─────────────────┐
│ Proxmox VE │
│ Cluster │
└─────────────────┘Development
Contributing
Fork the repository
Create a feature branch
Make your changes
Run tests:
npm testorpython -m pytestSubmit a pull request
Pre-commit Hooks
This project uses pre-commit for code quality:
pip install pre-commit
pre-commit install
pre-commit run --all-filesHooks include:
black- Python code formatterflake8- Python linterdetect-secrets- Secret scanningYAML and whitespace validation
Building Docker Image
docker build -t proxmox-emcp .Modifying the Server
Node.js version: Edit files in
npm-app/Python version: Edit
mcp_server_stdio.pyDocker config: Edit
Dockerfileanddocker-compose.yml
Troubleshooting
Connection Issues
Verify Proxmox is reachable:
ping <PROXMOX_HOST>Check API port: Ensure port 8006 is accessible
SSL certificates: Set
PROXMOX_VERIFY_SSL=falsefor self-signed certs
Authentication Failures
Token permissions: Ensure token has required permissions
Token format: Verify
TOKEN_IDandTOKEN_SECRETare correctUser privileges: Check user has appropriate Proxmox permissions
Viewing Logs
# Docker logs
docker logs proxmox-emcp
# npm/Node.js - set LOG_LEVEL
LOG_LEVEL=DEBUG npx @puregrain/proxmox-emcp-nodeCommon Issues
"Connection refused": Check firewall and Proxmox API service
"Unauthorized": Verify token credentials
"SSL verification failed": Set
PROXMOX_VERIFY_SSL=false
License
This project is dual-licensed under the following terms:
MIT License: For open-source use. See the LICENSE file for details.
Commercial License: For proprietary use. See the COMMERCIAL-LICENSE.txt file for details.
For commercial licensing inquiries, please contact: [Your Email or Website]
Support
Issues: GitHub Issues
Documentation: MCP Configuration Guide
Sponsor: GitHub Sponsors
Author: PureGrain at SLA Ops, LLC Repository: github.com/PureGrain/ProxmoxEmCP
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PureGrain/ProxmoxEmCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server