Proxmox MCP Server
Enables comprehensive management of Proxmox Virtual Environment through 35 tools for VMs, containers, storage, backups, snapshots, and cluster operations via the Proxmox VE API.
README
Proxmox MCP Server
Model Context Protocol (MCP) server for Proxmox Virtual Environment management. Provides 35 comprehensive tools for managing VMs, containers, storage, backups, and cluster operations through the Proxmox VE API.
Features
Cluster & Node Management (4 tools)
pve_get_cluster_status- Get Proxmox cluster status and healthpve_list_nodes- List all nodes in the clusterpve_get_node_status- Get detailed status of a specific nodepve_get_node_resources- Get CPU, memory, and storage usage for a node
Virtual Machine Management (11 tools)
pve_list_vms- List all VMs across the cluster or on a specific nodepve_get_vm_status- Get detailed status of a specific VMpve_get_vm_config- Get configuration of a specific VMpve_start_vm- Start a VMpve_stop_vm- Stop a VM (graceful shutdown or forced)pve_reboot_vm- Reboot a VMpve_suspend_vm- Suspend a VMpve_resume_vm- Resume a suspended VMpve_clone_vm- Clone a VM (full or linked)pve_delete_vm- Delete a VM (use with caution!)pve_migrate_vm- Migrate VM to another node (live or offline)
Container (LXC) Management (4 tools)
pve_list_containers- List all LXC containerspve_get_container_status- Get status of a containerpve_start_container- Start a containerpve_stop_container- Stop a container
Storage Management (2 tools)
pve_list_storage- List all storage poolspve_get_storage_content- List content of a storage pool (images, ISOs, backups, etc.)
Backup Management (2 tools)
pve_list_backups- List backups for a VM or containerpve_create_backup- Create a backup of a VM or container
Snapshot Management (4 tools)
pve_list_snapshots- List snapshots of a VMpve_create_snapshot- Create a snapshot of a VMpve_rollback_snapshot- Rollback VM to a snapshotpve_delete_snapshot- Delete a snapshot
Task Management (2 tools)
pve_list_tasks- List recent tasks on a nodepve_get_task_status- Get status of a specific task
Network Management (1 tool)
pve_list_networks- List network interfaces on a node
Terraform Integration (2 tools)
pve_generate_terraform- Generate Terraform configuration for a VMpve_generate_terraform_provider- Generate Terraform provider configuration for the cluster
Installation
npm install
npm run build
Configuration
The server requires Proxmox VE API credentials configured via environment variables. Two authentication methods are supported:
API Token Authentication (Recommended)
export PROXMOX_URL="https://your-proxmox-host:8006"
export PROXMOX_USER="root@pam"
export PROXMOX_TOKEN_ID="your-token-id"
export PROXMOX_TOKEN_SECRET="your-token-secret"
To create an API token in Proxmox:
- Log into Proxmox web UI
- Go to Datacenter > Permissions > API Tokens
- Click "Add" to create a new token
- Uncheck "Privilege Separation" for full access
- Save the token ID and secret
Password Authentication (Alternative)
export PROXMOX_URL="https://your-proxmox-host:8006"
export PROXMOX_USER="root@pam"
export PROXMOX_PASSWORD="your-password"
Usage with Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"proxmox": {
"command": "node",
"args": ["/path/to/mcp-proxmox/dist/index.js"],
"env": {
"PROXMOX_URL": "https://your-proxmox-host:8006",
"PROXMOX_USER": "root@pam",
"PROXMOX_TOKEN_ID": "your-token-id",
"PROXMOX_TOKEN_SECRET": "your-token-secret"
}
}
}
}
Development
Run in development mode with hot reload:
npm run dev
Security Notes
- The server accepts self-signed SSL certificates by default (common for Proxmox installations)
- For production use, consider using properly signed certificates
- API tokens are more secure than password authentication
- Ensure proper access controls on the Proxmox user/token
Example Use Cases
- VM Lifecycle Management: Start, stop, reboot VMs across your cluster
- Resource Monitoring: Check CPU, memory, storage usage on nodes
- Backup Operations: Create and manage VM/container backups
- Snapshot Management: Create snapshots before changes, rollback if needed
- Live Migration: Move VMs between nodes for maintenance
- Infrastructure as Code: Export VM configurations as Terraform
API Reference
All tools return JSON responses from the Proxmox API. The server handles authentication, error handling, and response formatting automatically.
For detailed Proxmox API documentation, see: https://pve.proxmox.com/pve-docs/api-viewer/
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。