oVirt MCP Server
Provides tools for managing oVirt / Red Hat Virtualization environments, including VM management, power operations, lifecycle, snapshots, and infrastructure queries.
Click on "Install 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: Nutanix MCP Server
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/puhamihai/ovirt-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server