BM

bsahane/mcp-proxmox

Analytics & monitoring

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

21 stars 12 forks 품질 58 트렌드 0

MCP Proxmox 서버

개요

Advanced Proxmox Model Context Protocol (MCP) 서버는 파이썬의 풍부한 Proxmox 유틸리티를 발견, 수명주기, 네트워킹, 스냅 샷 / 백업, 미터, 풀 / 권한 및 오케스트라를 탐험합니다. - 가이드 참조 : MCP Quickstart (Python) - 구조 거울 : bsahane / mcp-ansible - .env.example를 .env로 복사하고 값을 편집합니다. 노트: - 적절한 ACL을 가진 API 토큰을 사용하십시오; 발견을 위해, PVEAuditor at /는 충분합니다; 수명주기를 위해, 더 좁은 역할 (예를들면, PVEVMAdmin) 풀에. - .env를 사용하여 zsh 역사 확장 문제를 피합니다! 토큰 ID. 편집 ~/.cursor/mcp.json (portable example): ~/Library/Application Support/Claude/claude desktop config.json에 추가하십시오: 모든 도구는 MCP를 통해 제공됩니다. 파괴적인 도구는 확인하고, 대부분의 쓰기 작업 지원 Dry run, 대기, timeout, poll interval. 도구 당 아래 형식 : - 설명 - 예제 질문 → 가능한 대답 (shape)

개요(AI 번역)

Advanced Proxmox Model Context Protocol (MCP) 서버는 파이썬의 풍부한 Proxmox 유틸리티를 발견, 수명주기, 네트워킹, 스냅 샷 / 백업, 미터, 풀 / 권한 및 오케스트라를 탐험합니다.

  • 가이드 참조 : MCP Quickstart (Python)
  • 구조 거울: bsahane/mcp-ansible

빠른 시작

.env 구성

  • 복사 .env.example 에 .env 과 편집 값:

.env 키:

참고 :

  • 적절한 ACLs를 가진 API 토큰을 사용하십시오; 발견을 위해, PVEAuditor]]에서 /는 충분합니다; 수명주기를 위해, 더 좁은 역할 (예를들면, PVEVMAdmin)을 풀에 부여하십시오.
  • .env]를 사용하여 zsh 역사 확장 문제를 토큰 ID로 피합니다.

MCP 서버 실행 (stdio)

선호하는 (module 모양):

또는 콘솔 스크립트를 설치:

커서에서 구성

~/.cursor/mcp.json] (portable example) 편집:

데스크톱 용 Claude에서 구성

~/Library/Application Support/Claude/claude_desktop_config.json에 추가:

도구 참조

모든 도구는 MCP를 통해 제공됩니다. 파기 도구는 confirm]을 수락하고, 대부분의 쓰기 작업 지원 dry_run, wait], timeout], poll_interval.

공구 당의 밑에 체재:

  • 묘사
  • 예문 → 답답(shape)

핵심 발견

  • [T16]]

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP Proxmox Server

Advanced Proxmox Model Context Protocol (MCP) server in Python exposing rich Proxmox utilities for discovery, lifecycle, networking, snapshots/backups, metrics, pools/permissions, and orchestration.

Quick start

git clone https://github.com/bsahane/mcp-proxmox.git
cd mcp-proxmox

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
pip install -r requirements.txt

# (Optional) install the package locally
pip install -e .

.env configuration

  • Copy .env.example to .env and edit values:
cp .env.example .env

.env keys:

PROXMOX_API_URL="https://proxmox.example.com:8006"
PROXMOX_TOKEN_ID="root@pam!mcp-proxmox"
PROXMOX_TOKEN_SECRET=""
PROXMOX_VERIFY="true"
PROXMOX_DEFAULT_NODE="pve"
PROXMOX_DEFAULT_STORAGE="local-lvm"
PROXMOX_DEFAULT_BRIDGE="vmbr0"

Notes:

  • Use an API token with appropriate ACLs; for discovery, PVEAuditor at / is sufficient; for lifecycle, grant narrower roles (e.g., PVEVMAdmin) on a pool.
  • Using .env avoids zsh history expansion issues with ! in token IDs.

Run the MCP server (stdio)

Preferred (module form):

source .venv/bin/activate
python -m proxmox_mcp.server

Or installed console script:

source .venv/bin/activate
proxmox-mcp

Configure in Cursor

Edit ~/.cursor/mcp.json (portable example):

{
  "mcpServers": {
    "proxmox-mcp": {
      "command": "python",
      "args": ["-m", "proxmox_mcp.server"]
    }
  }
}

Configure in Claude for Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "proxmox-mcp": {
      "command": "python",
      "args": ["-m", "proxmox_mcp.server"]
    }
  }
}

Tools reference

All tools are available via MCP. Destructive tools accept confirm, and most write operations support dry_run, wait, timeout, poll_interval.

Format below per tool:

  • Description
  • Example question → Possible answer (shape)

Core discovery

  • proxmox-list-nodes
    • List cluster nodes (name, status, CPU/RAM/disk summary)
    • Example: “List cluster nodes”
    • Answer: [ { "node": "pve", "status": "online", ... } ]
  • proxmox-node-status
    • Detailed node health (load, uptime, versions)
    • Example: { "node": "pve" }
    • Answer: { "kversion": "...", "uptime": 123456, ... }
  • proxmox-list-vms
    • List VMs (filter by node, status, name substring)
    • Example: { "node": "pve", "status": "running" }
    • Answer: [ { "vmid": 100, "name": "web01", ... } ]
  • proxmox-vm-info
    • Get VM details by vmid or name (+optional node), includes config
    • Example: { "name": "web01" }
    • Answer: { "selector": {...}, "config": {...} }
  • proxmox-list-lxc
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "proxmox-mcp": { "command": "python", "args": ["-m", "proxmox_mcp.server"] } } }