Proxmox MCP Server Extended
Provides tools for managing Proxmox cluster nodes, VMs/containers, storage, status, and VM/CT lifecycle operations such as start, stop, shutdown, and reboot via the Proxmox API.
Click on "Deploy 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., "@Proxmox MCP Server Extended list all VMs and containers on my Proxmox cluster"
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 Extended (Node.js Edition with VM Control)
A Node.js-based Model Context Protocol (MCP) server for interacting with Proxmox hypervisors, providing a clean interface for managing nodes, VMs, and containers with configurable permission levels.
š Credits
This project extends gilby125/mcp-proxmox with VM/CT control operations (start, stop, shutdown, reboot).
Project Evolution:
Original: canvrno/ProxmoxMCP - Python implementation
Node.js Port: gilby125/mcp-proxmox - Complete rewrite to Node.js with permission management
Extended (This Project): Added VM/CT lifecycle control operations for infrastructure automation
Related MCP server: ChatGPT Gateway MCP Nyan
š Changes from Original
Architecture Changes:
ā Complete rewrite from Python to Node.js
ā Uses
@modelcontextprotocol/sdkinstead of Python MCP SDKā Environment variable configuration instead of JSON config files
ā Simplified dependency management with npm
New Features:
š Configurable Permission Levels:
PROXMOX_ALLOW_ELEVATEDsetting for securityš”ļø Basic Mode: Safe operations (node listing, VM status) with minimal permissions
š Elevated Mode: Advanced features (detailed metrics, command execution) requiring full permissions
š Better Error Handling: Clear permission warnings and graceful degradation
š§ Auto Environment Loading: Automatically loads
.envfiles from parent directories
š Extensions in This Fork
New VM/CT Control Operations:
š proxmox_start_vm: Start virtual machines and containers
ā proxmox_stop_vm: Force stop (immediate termination)
š proxmox_shutdown_vm: Graceful shutdown with service cleanup
š proxmox_reboot_vm: Reboot VMs and containers
Why This Matters:
Enables agentic infrastructure automation (n8n, Claude workflows)
Full VM/CT lifecycle management through MCP protocol
Critical for self-managing homelab systems
Total Tools: 11 (7 monitoring + 4 control operations)
šļø Built With
Node.js - JavaScript runtime
@modelcontextprotocol/sdk - Model Context Protocol SDK for Node.js
node-fetch - HTTP client for API requests
⨠Features
š Configurable Security: Two permission levels for safe operation
š ļø Built with the official MCP SDK for Node.js
š Secure token-based authentication with Proxmox
š„ļø Comprehensive node and VM management
š® VM/CT Lifecycle Control: Start, stop, shutdown, and reboot operations
š» VM console command execution (elevated mode)
š Real-time resource monitoring
šØ Rich markdown-formatted output
ā” Fast Node.js performance
š§ Easy environment-based configuration
https://github.com/user-attachments/assets/1b5f42f7-85d5-4918-aca4-d38413b0e82b
š¦ Installation
Prerequisites
Node.js 16+ and npm
Git
Access to a Proxmox server with API token credentials
Before starting, ensure you have:
Node.js and npm installed
Proxmox server hostname or IP
Proxmox API token (see API Token Setup)
Quick Install
Clone and set up:
git clone https://github.com/kspr9/mcp-proxmox-extended.git cd mcp-proxmox-extended npm installCreate
.envfile with your Proxmox configuration:# Proxmox Configuration PROXMOX_HOST=192.168.1.100 PROXMOX_USER=root@pam PROXMOX_TOKEN_NAME=mcp-server PROXMOX_TOKEN_VALUE=your-token-value-here PROXMOX_ALLOW_ELEVATED=false # Set to 'true' for advanced featuresNote:
PROXMOX_PORTdefaults to 8006 and can be omitted unless using a custom port.
Permission Levels
Basic Mode (PROXMOX_ALLOW_ELEVATED=false):
List cluster nodes and their status
List VMs and containers
Basic cluster health overview
Requires minimal API token permissions
Elevated Mode (PROXMOX_ALLOW_ELEVATED=true):
All basic features plus:
Detailed node resource metrics
VM command execution
Advanced cluster statistics
Requires API token with
Sys.Audit,VM.Monitor,VM.Consolepermissions
Verifying Installation
Test the MCP server:
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | node index.jsTest a basic API call:
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "proxmox_get_nodes", "arguments": {}}}' | node index.jsYou should see either:
A successful list of your Proxmox nodes
Or a connection/permission error with helpful guidance
āļø Configuration
Proxmox API Token Setup
Log into your Proxmox web interface
Navigate to Datacenter ā Permissions ā API Tokens
Click Add to create a new API token:
User: Select existing user (e.g.,
root@pam)Token ID: Enter a name (e.g.,
mcp-server)Privilege Separation: Uncheck for full access or leave checked for limited permissions
Click Add
Important: Copy both the Token ID and Secret immediately (secret is only shown once)
Use Token ID as
PROXMOX_TOKEN_NAMEUse Secret as
PROXMOX_TOKEN_VALUE
Permission Requirements:
Basic Mode: Minimal permissions (usually default user permissions work)
Elevated Mode: Add permissions for
Sys.Audit,VM.Monitor,VM.Consoleto the user/token
š Running the Server
Direct Execution
node index.jsMCP Client Integration
For Claude Code or other MCP clients, add this to your MCP configuration:
{
"mcpServers": {
"mcp-proxmox": {
"command": "node",
"args": ["index.js"],
"cwd": "/absolute/path/to/mcp-proxmox"
}
}
}Important:
Replace
/absolute/path/to/mcp-proxmoxwith the actual path to your installationThe server automatically loads environment variables from
.envfilesEnsure the
.envfile is in the same directory asindex.jsor a parent directory
š§ Available Tools
The server provides the following MCP tools for interacting with Proxmox:
proxmox_get_nodes
Lists all nodes in the Proxmox cluster with their status and resources.
Parameters: None
Example Response:
š„ļø **Proxmox Cluster Nodes** š¢ **pve1** ⢠Status: online ⢠Uptime: 3d 2h 53m ⢠CPU: 1.8% ⢠Memory: 5.89 GB / 62.21 GB (9.5%) ⢠Load: N/A
proxmox_get_node_status
Get detailed status of a specific node (requires elevated permissions).
Parameters:
node(string, required): Name of the node
Example Response (Basic Mode):
ā ļø **Node Status Requires Elevated Permissions** To view detailed node status, set `PROXMOX_ALLOW_ELEVATED=true` in your .env file and ensure your API token has Sys.Audit permissions. **Current permissions**: Basic (node listing only)
proxmox_get_vms
List all virtual machines across the cluster with their status.
Parameters:
node(string, optional): Filter by specific nodetype(string, optional): VM type filter ('qemu', 'lxc', 'all'), default: 'all'
Example Response:
š» **Virtual Machines** š¢ š¦ **docker** (ID: 100) ⢠Node: pve1 ⢠Status: running ⢠Type: LXC ⢠Uptime: 5h 40m ⢠CPU: 0.8% ⢠Memory: 7.46 GB / 46.88 GB š“ š¦ **ubuntu1** (ID: 115) ⢠Node: pve1 ⢠Status: stopped ⢠Type: LXC
proxmox_get_vm_status
Get detailed status information for a specific VM.
Parameters:
node(string, required): Node name where VM is locatedvmid(string, required): VM ID numbertype(string, optional): VM type ('qemu', 'lxc'), default: 'qemu'
Example Response:
š¢ š¦ **docker** (ID: 100) ⢠**Node**: pve1 ⢠**Status**: running ⢠**Type**: LXC ⢠**Uptime**: 5h 42m ⢠**CPU Usage**: 0.8% ⢠**Memory**: 7.47 GB / 46.88 GB (15.9%) ⢠**Disk Read**: 19.74 GB ⢠**Disk Write**: 21.71 GB ⢠**Network In**: 1.32 GB ⢠**Network Out**: 216.56 MB
proxmox_get_storage
List all storage pools and their usage across the cluster.
Parameters:
node(string, optional): Filter by specific node
Example Response:
š¾ **Storage Pools** š¢ **local** ⢠Node: pve1 ⢠Type: dir ⢠Content: vztmpl,iso,backup ⢠Usage: 19.58 GB / 93.93 GB (20.8%) ⢠Status: Enabled š¢ **zfs** ⢠Node: pve1 ⢠Type: zfspool ⢠Content: rootdir,images ⢠Usage: 87.33 MB / 899.25 GB (0.0%) ⢠Status: Enabled
proxmox_get_cluster_status
Get overall cluster status including nodes and resource usage.
Parameters: None
Example Response (Basic Mode):
šļø **Proxmox Cluster Status** **Cluster Health**: š¢ Healthy **Nodes**: 1/1 online ā ļø **Limited Information**: Resource usage requires elevated permissions **Node Details**: š¢ pve1 - online
proxmox_execute_vm_command
Execute a shell command on a virtual machine via Proxmox API (requires elevated permissions).
Parameters:
node(string, required): Node name where VM is locatedvmid(string, required): VM ID numbercommand(string, required): Shell command to executetype(string, optional): VM type ('qemu', 'lxc'), default: 'qemu'
Example Response (Basic Mode):
ā ļø **VM Command Execution Requires Elevated Permissions** To execute commands on VMs, set `PROXMOX_ALLOW_ELEVATED=true` in your .env file and ensure your API token has appropriate VM permissions. **Current permissions**: Basic (VM listing only) **Requested command**: `uptime`Requirements (Elevated Mode):
VM must be running
For QEMU: QEMU Guest Agent must be installed and running
For LXC: Direct execution via Proxmox API
Appropriate API token permissions
proxmox_start_vm
Start a virtual machine or container.
Parameters:
node(string, required): Node name where VM is locatedvmid(string, required): VM ID numbertype(string, optional): VM type ('qemu', 'lxc'), default: 'qemu'
Example Response:
ā š„ļø **VM 116 Start Requested** ⢠**Node**: proxmox ⢠**VM ID**: 116 ⢠**Type**: LXC ⢠**Action**: Start command sent successfully *Note: VM startup may take a few moments. Use proxmox_get_vm_status to check current status.*
proxmox_stop_vm
Force stop a virtual machine or container (immediate termination, like pulling power cord).
Parameters:
node(string, required): Node name where VM is locatedvmid(string, required): VM ID numbertype(string, optional): VM type ('qemu', 'lxc'), default: 'qemu'
Example Response:
ā ļø š¦ **VM 116 Force Stop Requested** ⢠**Node**: proxmox ⢠**VM ID**: 116 ⢠**Type**: LXC ⢠**Action**: Force stop command sent (immediate termination) *Warning: This is a hard stop, equivalent to pulling the power cord.*
proxmox_shutdown_vm
Gracefully shutdown a virtual machine or container with proper service cleanup.
Parameters:
node(string, required): Node name where VM is locatedvmid(string, required): VM ID numbertype(string, optional): VM type ('qemu', 'lxc'), default: 'qemu'
Example Response:
ā š¦ **VM 116 Shutdown Requested** ⢠**Node**: proxmox ⢠**VM ID**: 116 ⢠**Type**: LXC ⢠**Action**: Graceful shutdown command sent *Note: VM will shutdown gracefully. This may take time as services stop cleanly.*
proxmox_reboot_vm
Reboot a virtual machine or container.
Parameters:
node(string, required): Node name where VM is locatedvmid(string, required): VM ID numbertype(string, optional): VM type ('qemu', 'lxc'), default: 'qemu'
Example Response:
š š¦ **VM 116 Reboot Requested** ⢠**Node**: proxmox ⢠**VM ID**: 116 ⢠**Type**: LXC ⢠**Action**: Reboot command sent *Note: VM will reboot gracefully. Monitor status to see when it comes back online.*
šØāš» Development
Development Commands
# Install dependencies
npm install
# Run server (production)
npm start
# or
node index.js
# Run server with auto-reload (development)
npm run dev
# Test MCP server functionality
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | node index.js
# Test specific API call
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "proxmox_get_nodes", "arguments": {}}}' | node index.jsDevelopment Notes
The server loads environment variables from
.envfiles automaticallyUse
npm run devfor development with auto-reload on file changesAll API calls require a proper
.envconfigurationCheck the server logs for connection and permission issues
š Project Structure
mcp-proxmox-extended/
āāā index.js # Main MCP server implementation (11 tools)
āāā package.json # Node.js dependencies and scripts
āāā package-lock.json # Dependency lock file
āāā .env # Environment configuration (not in git)
āāā node_modules/ # Dependencies (not in git)
āāā README.md # This documentationš License
MIT License
Available Tools
11 toolsproxmox_execute_vm_commandC
Execute a shell command on a virtual machine via Proxmox API
Inputs: node (required), vmid (required), command (required), type.
proxmox_get_cluster_statusB
Get overall cluster status including nodes and resource usage
Inputs: no named parameters.
proxmox_get_nodesA
List all Proxmox cluster nodes with their status and resources
Inputs: no named parameters.
proxmox_get_node_statusB
Get detailed status information for a specific Proxmox node
Inputs: node (required).
proxmox_get_storageA
List all storage pools and their usage across the cluster
Inputs: node.
proxmox_get_vmsB
List all virtual machines across the cluster with their status
Inputs: node, type.
proxmox_get_vm_statusC
Get detailed status information for a specific VM
Inputs: node (required), vmid (required), type.
proxmox_reboot_vmC
Reboot a virtual machine or container
Inputs: node (required), vmid (required), type.
proxmox_shutdown_vmB
Gracefully shutdown a virtual machine or container
Inputs: node (required), vmid (required), type.
proxmox_start_vmC
Start a virtual machine or container
Inputs: node (required), vmid (required), type.
proxmox_stop_vmB
Force stop a virtual machine or container
Inputs: node (required), vmid (required), type.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 11 tools
Each tool has a fairly distinct purpose: node vs VM listing, node vs VM detail status, storage, and four separate power operations (start/stop/shutdown/reboot) with clear force-vs-graceful semantics. The only mild overlap is between proxmox_get_nodes and proxmox_get_cluster_status, since cluster status also reports node and resource information, which could cause occasional misselection.
All 11 tools use the same proxmox_ prefix followed by a consistent verb_noun snake_case pattern (get_nodes, get_vm_status, start_vm, execute_vm_command). There are no style deviations or mixed conventions.
Eleven tools is well within the ideal 3-15 range and each tool maps to a concrete, needed operation. The set is scoped tightly to Proxmox node/VM inspection and power control without bloat.
The surface covers read/inspect (nodes, VMs, storage, cluster) and VM power lifecycle plus command execution, but has notable gaps: no VM create/clone/delete, no snapshot or backup operations, no config get/update, and no migration. Agents can handle common read and power workflows but will hit dead ends for lifecycle management.
Maintenance
Related MCP Connectors
MCP-first control plane for ProAgentStore agents and private instances.
Hosted MCP memory and agent control plane for durable conversations, jobs, and operations.
Public MCP for agent verification, work discovery and governed interoperability.
MCP federation gateway: route, govern and observe agent tools across clouds and MCP servers.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to list hosts, run commands, and orchestrate fleet automation over SSH, with per-host opt-in and approval-gated actions while keeping credentials secure.4MIT
- AlicenseNot gradedqualityCmaintenanceEnables agent clients to safely connect to tools and execution resources through MCP with authorization, approvals, audit, chat-context isolation, SSH/Docker access, and long-running command session tracking.MIT

meshive-mcpofficial
AlicenseAqualityBmaintenanceEnables MCP-capable agents to manage Meshive GPU Cloud resources, including account, workspaces, pods, storage, GPUs, templates, serverless deployments, tasks, assets, machines, and billing history.71Apache 2.0- AlicenseNot gradedqualityCmaintenanceEnables infrastructure health overviews, detailed host metrics, active alert retrieval, and optimization recommendations through MCP tools.MIT