
gilby125/mcp-proxmox
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
gilby125/mcp-proxmox는 MCP 서버 후보가 https://github.com/gilby125/mcp-proxmox.에서 수입되었습니다
개요
gilby125/mcp-proxmox는 MCP 서버 후보가 https://github.com/gilby125/mcp-proxmox.에서 수입되었습니다
개요(AI 번역)
Proxmox VE 하이퍼바이저 관리를위한 Node.js 기반 모델 Context Protocol (MCP) 서버 : 노드, QEMU VM 및 LXC 컨테이너, 구성 가능한 권한 레벨 및 Terraform/OpenTofu 수출.
크레딧
canvrno/ProxmoxMCP에 의해 원래 파이썬 구현을 기반으로합니다. 이 Node.js 버전은 구성 가능한 권한 관리 및 Terraform/OpenTofu 생성을 추가하면서 동일한 핵심 기능을 유지합니다.
특징
- 두 권한 레벨: 기본적으로 읽기 전용; 파괴적인 작업은 명시적 인 opt-in (
PROXMOX_ALLOW_ELEVATED=true)을 요구합니다. - 노드, VM 및 컨테이너 관리: 상태, 수명주기 (start/stop/reboot/shutdown/pause), create, clone, resize, delete, migrate, converter-to-template
- 작업 추적 : 읽기 (그리고 선택적으로 대기) UPID에 의해 모든 작업 그래서 mutating 작업은 실제로 완료 될 수 있습니다
- 게스트 에이전트 통합 : 명령을 실행하고 stdout/exit 코드를 읽고, 실행 VM의 실제 IP 주소를 발견
- Snapshots 및 백업 : 생성, 목록, 롤백, 삭제
- 디스크 및 네트워크 구성 : 추가, 크기, 이동 및 디스크, 마운트 포인트 및 네트워크 인터페이스 제거
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Proxmox MCP Server (Node.js Edition)
A Node.js-based Model Context Protocol (MCP) server for managing Proxmox VE hypervisors: nodes, QEMU VMs, and LXC containers, with configurable permission levels and Terraform/OpenTofu export.
Credits
Based on the original Python implementation by canvrno/ProxmoxMCP. This Node.js version keeps the same core functionality while adding configurable permission management and Terraform/OpenTofu generation.
Features
- Two permission levels: read-only by default; destructive operations require an explicit opt-in (
PROXMOX_ALLOW_ELEVATED=true) - Node, VM, and container management: status, lifecycle (start/stop/reboot/shutdown/pause), create, clone, resize, delete, migrate, convert-to-template
- Task tracking: read (and optionally wait on) any task by UPID so mutating operations can confirm they actually finished
- Guest agent integration: run commands and read their stdout/exit code, and discover a running VM’s real IP addresses
- Snapshots and backups: create, list, rollback, delete
- Disk and network configuration: add, resize, move, and remove disks, mount points, and network interfaces
- Cloud-init, historical metrics (RRD), and read-only observability of pools, HA resources, and firewall rules
- Terraform/OpenTofu export: generate HCL (with
importblocks) from existing VMs and containers to adopt them into IaC without recreation - Structured output: tools return machine-readable
structuredContentalongside the Markdown text, so agents can chain on the data - MCP Resources (
proxmox://nodes,proxmox://vms,proxmox://storage) and Prompts (provisioning, health check, permission diagnosis) - Safety rails: optional TLS verification, node/VMID allowlists, and a protection-flag check that blocks deleting protected guests
- Built on the official MCP SDK
Quick navigation
- Install or run the server
- Configure credentials and permissions
- Connect an MCP client
- Browse tools and Terraform export
- Resources, prompts, and structured output
- Testing and development
- Troubleshooting
Installation
Prerequisites
- Node.js 20+ and npm
- A Proxmox VE server and an API token (see Create a Proxmox API token)
Setup
Clone and install:
git clone https://github.com/gilby125/mcp-proxmox.git
cd mcp-proxmox
npm install
Or run without cloning via npx:
PROXMOX_HOST=your-proxmox-ip PROXMOX_TOKEN_VALUE=your-token-secret npx mcp-proxmox
Or with Docker (MCP speaks over stdio, so run attached with -i):
docker build -t mcp-proxmox .
docker run -i --rm \
-e PROXMOX_HOST=your-proxmox-ip \
-e PROXMOX_TOKEN_VALUE=your-token-secret \
mcp-proxmox
Configuration
The server is configured through environment variables. The only required
설치
docker run -i --rm \설정
{
"mcpServers": {
"proxmox": {
"command": "node",
"args": ["/absolute/path/to/mcp-proxmox/index.js"],
"env": {
"PROXMOX_HOST": "your-proxmox-ip",
"PROXMOX_USER": "root@pam",
"PROXMOX_TOKEN_NAME": "mcp-server",
"PROXMOX_TOKEN_VALUE": "your-token-secret",
"PROXMOX_ALLOW_ELEVATED": "false"
}
}
}
}