Xen Orchestra MCP Server
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., "@Xen Orchestra MCP ServerList all running VMs"
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.
# Xen Orchestra MCP Server 🛰️
![]()
A Model Context Protocol (MCP) server written in 🐍Python to manage 🛰️Xen Orchestra (XOA) via its REST API.
The project is currently under heavy development. Run the Server on your own risk.
🔭 Purpose
This MCP server provides tools to manage and retrieve information from Xen Orchestra using the REST API.
Related MCP server: proxmox-mcp-server
🔩 Features
get_docs - Get the swagger docs from the Xen Orchestra API.
list_vms - List VMs with their
fieldsbased onfiltersandlimit.create_vm (under construction 🏗️) - Create a VM by providing a JSON payload.
delete_vm (under construction 🏗️) - Delete a VM given its UUID or href.
modify_vm (under construction 🏗️) - Modify VM properties
name_labeland/orname_description.list_backup_jobs - List backup jobs with their
fieldsbased onfiltersandlimit.get_backup_job_details - List backup job details based on the
backup job id.list_backup_logs - List backup logs with their
fieldsbased onfiltersandlimit.get_backup_log_details - List backup logs details based on the
backup log id.list_backup_repositories - List backup repositories with their
fieldsbased onfiltersandlimit.get_backup_repository_details - List backup repository details based on the
backup repository id.
⛽️ Prerequisites
🐋 Docker Desktop with MCP Toolkit enabled (the
docker mcpCLI).🛰️ Xen Orchestra instance reachable from the host running the container.
🔑 Xen Orchestra authentication token (create it in the XOA UI under your user, check out the offical documentation if you need help).
Checkout the installation instructions for detailed information on how to setup the Docker MCP Server and your MCP client.
🗺️ Environment variables
XOA_URL: Base URL of your Xen Orchestra instance (e.g. https://xoa.example.lan) no trailing slash.XOA_TOKEN: The authentication token created in Xen Orchestra UI.CERT_VERIFY(optional, defaults to True): Whether the SSL certificate of your Xen Orchestra webserver should be checked or not. You can also provide a path to your certificate in the containers filesystem:/path/to/your/cert.pemAdd the cert as Volume for this to work
📝 Example Prompts
List all running vmsList all stopped VMs with their name and tagsTell me what backup jobs i have configuredList all of my metadata backupsProvide all details for my full backupsList the 5 last failed backupsList the logs for the 10 last full backupsList log details for the last failed backup-->List more detailed logs for this backupList all backup repositories-->List details for the <your-repository-name> backup repository
🗼 Architecture
Client → Docker MCP Gateway → Xen Orchestra MCP Server (this project) → Xen Orchestra REST API
Secrets: XOA_TOKEN should be provided through Docker Desktop secrets or an .env file.
🔬 Development / Local testing
Set environment variables locally for testing:
export XOA_URL="https://xoa.example.lan"
export XOA_TOKEN="your-token-here"
python main.pyThis server cannot be deployed
Maintenance
Related MCP Connectors
Create, configure and manage an AI phone receptionist. Requires a Fonixia account.
128 REST operations. 120 MCP routes; 119 JSON/text ops. OAuth 2.1. Not affiliated with X Corp.
Access Oi Contexts, Workflows, Skills, Guardrails, Connections, and reporting tools.
- mcpOAuthnet.hepcloud
Manage HepCloud (Turkish cloud) servers and managed PostgreSQL from your AI assistant. OAuth 2.1.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables comprehensive management of Proxmox virtualization environments, including VM and container lifecycle, snapshots, backups, monitoring, and OpenAPI integration.14MIT
- FlicenseNot gradedqualityDmaintenanceEnables management of Proxmox VE environments via the Proxmox API, including node listing, guest management, and VM/LXC creation with Cloud-Init.-
- AlicenseNot gradedqualityDmaintenanceEnables managing VyOS appliances through their HTTP API, providing tools for configuration, operational commands, and interactive troubleshooting.MIT
- AlicenseCqualityAmaintenanceEnables interaction with openQA instances through the REST API, offering read tools for jobs, machines, and test suites, as well as mutating tools like restart and cancel with optional authentication.40GPL 2.0