XCP-ng AIops MCP server
Governed XCP-ng ops via Xen Orchestra — 29 MCP tools with audit, budget, undo guards.
not scanned yet
0 stars600 downloads/wk
Reviews
Write oneNobody has reviewed XCP-ng AIops yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
XCP-ng AIops tools
No tool declarations could be read from the package source. They show once the server is installed.
How XCP-ng AIops compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 48,255 servers
- Downloads a week
- 600
- more than 90% of 12,191 servers with a package
Release history: 3 versions in the registry since 2026-09-16, latest 2026-10-30, typically one every 29 days.
Install XCP-ng AIops in Claude Code, Cursor or VS Code
claude mcp add xcpng-aiops -- uvx xcpng-aiops
What the publisher says
From the XCP-ng AIops repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.AIops-tools/xcpng-aiops -->
XCP-ng AIops
Disclaimer: Community-maintained open-source project. Not affiliated with, endorsed by, or sponsored by Vates, the XCP-ng project, or the Xen Orchestra project. "XCP-ng", "Xen Orchestra", and "Xen" are trademarks of their owners. MIT licensed.
AI-powered XCP-ng operations via Xen Orchestra's REST API with a built-in governance harness — unified audit log, policy engine, token/runaway budget guard, undo-token recording, and descriptive risk tiers. Built for homelabs and small/self-hosted XCP-ng fleets that want an AI agent to triage VM health, storage pressure, backup failures, and patch posture — with every write audited, previewable, and (where honest) reversible. Self-contained: no dependencies beyond httpx and the MCP SDK.
Requires a Xen Orchestra instance (XO from sources or the Xen Orchestra
Appliance, 5.x with /rest/v0). XO is the management plane this tool talks
to — direct per-host XAPI access is out of scope for v0.1. Do NOT use
for Proxmox VE — use proxmox-aiops.
What works
- CLI (xcpng-aiops ...): init, overview, vm list/get/stats/health-rca/start/stop/reboot/migrate, host list/get/missing-patches, pool list/get/posture, sr list/get/vdis/usage-rca/rescan, snapshot list/create/delete/revert, backup jobs/logs/failure-rca, task list, secret set/list/rm/migrate/rotate-password, doctor, mcp.
- MCP server (xcpng-aiops mcp or xcpng-aiops-mcp): 29 tools (19 read, 8 write, 2 undo), every one wrapped with the bundled @governed_tool harness.
- Four flagship RCA analyses (cause + action structured output): VM health, SR usage, backup-job failures, pool patch & HA posture.
- Encrypted credentials: the XO authentication token lives in an encrypted store ~/.xcpng-aiops/secrets.enc (Fernet + scrypt) — never plaintext on disk. Unlock with a master password from XCPNGAIOPSMASTER_PASSWORD (MCP/CI) or an interactive prompt (CLI).
- Reversibility: vmstart ↔ vmstop record each other as inverses; vmmigrate captures the REAL source host before moving and records "migrate back"; snapshotcreate captures the created snapshot's REAL id from the XO response and records "delete THAT snapshot". Irreversible ops (snapshotdelete, snapshotrevert, vmreboot) capture prior state for the audit record and honestly declare no undo**.
- Safety: destructive CLI ops require double confirmation and support --dry-run; every write MCP tool takes a dry_run preview (no write call, no undo recorded).
- Self-lockout guard (partial — read this): Xen Orchestra is commonly a VM on a pool it manages, and stopping that VM kills the API this tool talks to — vmstart can then no longer be sent, so recovery needs hypervisor console access (xe vm-start). Set xoselfvmuuid on the target (xcpng-aiops init asks) and vmstop refuses exactly that uuid — on --dry-run as well, since a preview that green-lights a call the tool will then refuse is reporting the wrong outcome. If you do not set it there is no protection at all: XO's REST API exposes no self endpoint and its token carries no claims, so the tool cannot discover which VM it runs on, and it fails open rather than guess. The dryrun preview adds a weaker selfVmHint when a VM's reported IP matches the configured XO host — that is a coincidence worth checking, not a finding, and it never blocks (it sees nothing without the guest agent and fires on every VM behind a shared proxy).
Capability matrix (29 MCP tools)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
XCP-ng AIops: common questions
- Is XCP-ng AIops MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the XCP-ng AIops safety report
- How do I install XCP-ng AIops?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does XCP-ng AIops need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is XCP-ng AIops maintained?
- The last commit was 49 days ago (2026-09-16). The latest release is v0.11.0.
- How does XCP-ng AIops compare with other MCP servers?
- safety score 91/100 (higher than 85% of 48,255 servers); downloads a week 600 (more than 90% of 12,191 servers with a package). Full comparison.