What are the prerequisites for running KVM MCP Server?
Python 3.6 or higher, KVM and libvirt installed on the host system, the network bridge `brforvms` configured, and a VM storage directory (default `/vm/`) created.
@steveydevey
Basic information
An MCP server for KVM hypervisors
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"kvm-mcp": {
"command": "python3",
"args": [
"-m",
"venv",
".venv"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
A JSON-RPC server for managing KVM virtual machines through a unified interface. It centralizes control and monitoring of KVM VMs using a standardized protocol, replacing multiple command-line tools like virsh and virt-install.
After installing prerequisites (Python 3.6+, KVM/libvirt, a configured network bridge and VM storage directory), clone the repository, create a virtual environment, install dependencies from requirements.txt, and edit config.json to match your environment. Start the server with python3 kvm_mcp_server.py and send JSON-RPC commands; example scripts (create_vm.sh, get_vnc_ports.sh) are provided.
brforvms)Python 3.6 or higher, KVM and libvirt installed on the host system, the network bridge `brforvms` configured, and a VM storage directory (default `/vm/`) created.
Edit `config.json` to set default disk path, ISO, memory, vCPUs, disk size, network bridge, and ignition settings. Environment variable overrides are supported for each setting (e.g., `VM_DISK_PATH`, `VM_DEFAULT_MEMORY`).
Yes, pass `"no_cache": true` in the `list_vms` call arguments to force a fresh query from libvirt.
Connection pooling (configurable pool size, automatic recovery), VM info caching (configurable TTL and max size), asynchronous processing for better concurrency, and structured logging with performance metrics.
The server logs to `kvm_mcp.log` (rotated at 10MB) with timing, connection pool status, cache hit/miss ratios, and operation metrics. Performance statistics are also available through the monitoring features.
A search tool helps dev to solve the naming things problem.

Model Context Protocol Servers

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

Model Context Protocol Servers

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
Comments