oVirt MCP Server
Provides tools for managing oVirt / Red Hat Virtualization environments, including VM management, power operations, lifecycle, snapshots, and infrastructure queries.
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., "@oVirt MCP ServerShow me all virtual machines in the datacenter."
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.
oVirt MCP Server
An MCP (Model Context Protocol) server for managing oVirt / Red Hat Virtualization (RHV) environments via AI assistants such as Claude.
Requirements
Python 3.10+
Access to an oVirt Engine or RHV Manager instance
An account with sufficient permissions (read-only for queries; admin for power operations)
Related MCP server: ProxmoxEmCP
Installation
git clone https://github.com/your-org/ovirt-mcp-server.git
cd ovirt-mcp-server
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtConfiguration
Copy the example environment file and fill in your values:
cp env.example .envVariable | Description | Example |
| oVirt Engine hostname or IP |
|
| Username (include domain) |
|
| Password | |
| Skip SSL verification ( |
|
Set
OVIRT_INSECURE=Falsein production environments with a valid certificate.
Running the server
python ovirt_mcp_server.pyThe server communicates over stdio (standard MCP transport).
Claude Code integration
Add the server to your Claude Code MCP configuration (~/.claude/settings.json):
{
"mcpServers": {
"ovirt": {
"command": "/path/to/ovirt-mcp-server/.venv/bin/python",
"args": ["/path/to/ovirt-mcp-server/ovirt_mcp_server.py"],
"env": {
"OVIRT_HOST": "ovirt.domain.local",
"OVIRT_USER": "admin@internal",
"OVIRT_PASSWORD": "your_password",
"OVIRT_INSECURE": "True"
}
}
}
}Alternatively, use a .env file in the project directory instead of inlining credentials in the config.
Available tools
VM Management
Tool | Description |
| List VMs with optional oVirt search query |
| Full details for a specific VM |
| Network interfaces for a VM |
| Disk information for a VM |
| CPU, memory, and network stats |
| Recent events for a VM |
| Find a VM by IP address |
| Search VMs by query string |
| Summary report of all VMs |
| VMs exceeding CPU/memory thresholds |
Power Operations
Tool | Description |
| Start a VM |
| Graceful shutdown |
| Force power off (requires |
| Reboot a VM |
| Suspend a VM |
| Power on/off/reboot multiple VMs |
VM Lifecycle
Tool | Description |
| Migrate VM to a different host |
| Delete a VM (requires |
| Change CPU/memory allocation |
Snapshots
Tool | Description |
| List snapshots for a VM |
| Create a snapshot |
| Delete a snapshot (requires |
Infrastructure
Tool | Description |
| List hypervisor hosts |
| Details for a specific host |
| CPU, memory, and network stats for a host |
| List clusters |
| Details for a specific cluster |
| List datacenters |
| List storage domains |
| Details for a storage domain |
| List networks |
| List VM templates |
| Retrieve global oVirt events |
Notes
Destructive operations (
delete_vm,power_off_vm,delete_vm_snapshot,bulk_power_operations) require an explicitconfirm=trueparameter.All VM and host lookups accept oVirt UUIDs. Use
list_vmsorsearch_vmsto find IDs.The oVirt REST API must be reachable from the machine running this server.
This server cannot be deployed
Maintenance
Related MCP Connectors
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
- mcpOAuthnet.hepcloud
Manage HepCloud (Turkish cloud) servers and managed PostgreSQL from your AI assistant. OAuth 2.1.
Manage Rackspace Spot Kubernetes Cloudspaces, node pools, and VMs from your AI assistant.
- mytesla.ioOAuthio.mytesla
Control your Tesla from your AI assistant - climate, charging, access, and security.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Proxmox VE virtual machines via MCP and OpenAPI, supporting operations like start, stop, clone, and snapshot.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage Proxmox VE infrastructure, including VMs, containers, storage, and cluster operations via natural language.MIT
- AlicenseCqualityDmaintenanceEnables management of Proxmox VE environments, including VMs, containers, storage, and cluster operations through natural language.7665 npmMIT
- AlicenseBqualityCmaintenanceEnables AI assistants to manage Proxmox VE infrastructure, including VMs, containers, storage, network, high availability, replication, SDN, and node administration.10016 npmMIT