virtualization-mcp
This server provides comprehensive virtualization management capabilities across VMs, networks, storage, snapshots, sandboxes, and AI-driven workflows.
VM Lifecycle Management
List, create, start, stop, delete, clone, reset, pause, and resume VMs
Support for a wide range of OS types (Ubuntu, Debian, Fedora, Windows 10/11, macOS, etc.)
Configure memory (MB) and disk size (GB) at creation time
Network Management
List, create, and remove host-only networks
List and configure VM network adapters (NAT, bridged, host-only, internal, generic, NAT network)
Snapshot Management
List, create, restore, and delete VM snapshots with optional descriptions
Storage Management
Manage storage controllers (IDE, SATA, SCSI, SAS, USB, PCIe): list, create, remove
Create and attach virtual disks to VMs
System Diagnostics
Get host system info, VirtualBox version, and supported OS types
Retrieve VM performance metrics and take screenshots of running VMs
Docker Sandbox Management
Run ephemeral code snippets (Python, JavaScript, Bash) in throwaway containers
Execute host files in isolated containers
Create and manage persistent stateful Docker sessions (run commands, read/write files, destroy sessions)
Agentic VM Workflows
Get AI-suggested VM configurations for a given use case (e.g., CI runner, malware sandbox)
Generate step-by-step sandbox workflow plans (spin-up → work → snapshot → tear-down)
Execute autonomous multi-step VM orchestration goals via natural language
Tool Discovery
List all available tools, filter by category or search term
Get detailed info and JSON schemas for any tool
Access general server help and quick-start documentation
Allows downloading Debian ISO images and setting up automated installations with dev tools via autoinstall.yaml.
Allows downloading Ubuntu ISO images and setting up automated installations with dev tools via autoinstall.yaml.
Provides tools for creating, managing, and controlling VirtualBox virtual machines, including lifecycle operations (start, stop, pause, snapshot, delete), networking (NAT, bridged, host-only, port forwarding), and unattended installations.
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., "@virtualization-mcpcreate an Ubuntu 24.04 VM, attach the ISO, and set up port forwarding"
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.
virtualization-mcp
Spin up VMs, sandboxes, and dev environments from Claude Desktop, Cursor, or the fleet webapp.
Features
VirtualBox & Hyper-V — create, start, stop, snapshot, clone VMs
Windows Sandbox — consumer (nearly naked) and dev-infra bringups for fleet install testing
ISO pipeline — download Ubuntu, Debian, Windows ISOs into
assets/vboxnoVNC console — browser VM console from the webapp
Unattended Win11 — autoinstall with optional dev tools (dev VMs only)
Fleet dashboard — health-check and launch registered MCP webapps
Related MCP server: CUA MCP Server
A Brief History of Virtual Machines
Virtual machines are older than you think. The concept dates to the 1960s, driven by a problem that still sounds familiar: expensive hardware that was mostly idle.
Mainframe era (1960s–1970s)
IBM pioneered virtualization on the IBM System/360-67 (1966) and later the System/370 (1972). The CP/CMS operating system (precursor to VM/370) introduced the idea of a hypervisor — a thin layer that partitions physical hardware into isolated "virtual machines," each running its own OS. This was pure pragmatism: a mainframe cost millions and ran batch jobs at night. Virtualization let multiple research teams share the machine concurrently without stepping on each other.
IBM's VM/370 became the production version, and its design — a privileged "control program" managing guest operating systems — is the direct ancestor of every Type-1 hypervisor today. The term "virtual machine" itself comes from this era.
The x86 dark ages (1980s–1990s)
When computing moved from mainframes to x86 workstations and servers, virtualization was essentially lost. The x86 architecture had no concept of privilege rings that could trap and emulate guest OS instructions efficiently. The few attempts (like VMware Workstation 1.0 in 1999) used binary translation — dynamically rewriting guest instructions on the fly — which was slow and fragile but proved it could be done.
Intel and AMD eventually added hardware virtualization extensions: Intel VT-x (2005) and AMD-V (2006). These introduced a new "root mode" that lets the CPU natively execute guest instructions without binary translation. This was the unlock that made x86 virtualization performant enough for production.
The golden age (2005–2015)
With hardware assist in place, virtualization exploded:
VMware dominated the enterprise with ESX/vSphere, building a multi-billion-dollar business on server consolidation (replacing 10 underutilized physical servers with 1 host running 10 VMs).
Xen (2003, Cambridge University) became the open-source standard, powering early AWS (EC2 ran on Xen until 2017). Amazon chose Xen because it was free and could be customized for multi-tenant isolation at scale.
KVM (2007, Avi Kivity/Qumranet) turned Linux itself into a Type-1 hypervisor by adding the
kvmkernel module. Red Hat acquired Qumranet in 2008 and made KVM the default for RHEV and OpenStack. KVM is now the most widely deployed hypervisor on the planet by sheer host count (every Android phone runs a KVM-based protected VM for Trusty/AVB, every Chromebook runs KVM for Linux containers, every major public cloud uses KVM or a derivative).VirtualBox (2007, Sun Microsystems, later Oracle) targeted the desktop and developer market — free, cross-platform, easy to use. It never aimed at the datacenter but became the de-facto standard for "I need a VM on my laptop."
Hyper-V (2008, Microsoft) was Microsoft's response, a Type-1 hypervisor built into Windows Server and later Windows Pro/Enterprise. It competed with VMware on Windows workloads and came free with the OS.
Parallels started as a Windows/Linux desktop hypervisor (Parallels Workstation, 2005) but pivoted hard to macOS after acquiring the Mac code in 2006. Parallels Desktop for Mac became the dominant solution for running Windows VMs on Apple hardware — first on Intel Macs via full virtualization, then on Apple Silicon via a custom hypervisor that translates x86 to ARM on the fly (Rosetta-like). There is also Parallels RAS (Remote Application Server), an enterprise product for virtual app delivery on Windows Server, but it is a much smaller business than the desktop Mac product. The Linux/Windows Workstation versions were discontinued in the early 2010s. Effectively: Parallels is macOS-only today, and its sole market is "run Windows on a Mac."
The cloud and container correction (2015–present)
The rise of AWS, Azure, and GCP changed the question from "which hypervisor do I install?" to "which API do I call?" Nobody cared whether EC2 ran on Xen or KVM (it's KVM now) — they cared about the RunInstances API.
Containers (Docker, 2013) then questioned whether full VMs were needed at all. Why run a whole OS when a process-level sandbox with cgroups and namespaces was faster and lighter? Kubernetes (2014) orchestrated containers at scale, and for a while it seemed like VMs were legacy.
But containers don't actually replace VMs — they run on top of them. Every Kubernetes node is a VM (or bare metal, but mostly VMs in the cloud). The two technologies are complementary, not competing. The industry settled on: containers for application packaging, VMs for isolation and infrastructure.
The present (2026)
Today's landscape is stratified:
Public cloud — AWS Nitro (KVM-based with custom silicon), Azure (Hyper-V), GCP (KVM). Customers consume VMs through APIs, never touching a hypervisor.
Enterprise on-prem — VMware (declining post-Broadcom), Hyper-V, Nutanix AHV, Proxmox VE (rising). The Broadcom VMware disaster accelerated a migration wave that will take years to play out.
Developer laptops — VirtualBox, Hyper-V (via Docker Desktop/WSL2), Parallels (macOS), UTM (Apple Silicon QEMU), and Multipass (Canonical's lightweight Ubuntu VMs). The trend is toward lightweight, API-driven VMs that can be provisioned in seconds and discarded just as fast.
Edge / IoT — k3s (Kubernetes on VMs or bare metal), KVM-on-arm (Raspberry Pi 5 can run VMs now), and embedded hypervisors like Jailhouse and ACRN.
This project sits in the developer laptop and edge segment — managing VirtualBox and Hyper-V VMs, Windows Sandbox ephemeral environments, and Docker sandbox containers, all from a unified MCP tool surface. It's a pragmatic snapshot of the 2026 virtualization landscape: free tools, local execution, API-driven, AI-friendly.
Virtualization Landscape
This project integrates with a deliberately curated set of virtualization backends. Here is the full landscape and why each technology was chosen or rejected.
VirtualBox 7+ (Oracle, GPLv2)
Status: ✅ Supported as primary VM backend
Oracle VM VirtualBox is the default hypervisor for this project. It is free, open-source (GPLv2), runs on Windows/Linux/macOS, and exposes a mature CLI (VBoxManage) that covers VM lifecycle, snapshots, networking, storage, VRDP, unattended installs, and more. The pyvbox Python API provides direct bindings for Python 3.12. VirtualBox's strength is its zero-cost entry and broad OS compatibility — any developer can install it without a license server or subscription.
Feature | Via VBoxManage |
VM lifecycle |
|
Snapshots |
|
Networking |
|
Storage |
|
VRDP/remote |
|
Unattended install |
|
Hyper-V (Microsoft, Windows-only)
Status: ✅ Supported as secondary VM backend
Microsoft Hyper-V is a Type-1 hypervisor built into Windows Pro/Enterprise/Education. It is managed via PowerShell (Get-VM, New-VM, Start-VM, etc.) and provides native Windows VM performance with no additional install. Hyper-V is used for Gen2 VMs with UEFI boot and TPM support (required for Windows 11 guest VMs without workarounds).
Feature | Via PowerShell |
VM lifecycle |
|
Generation | Gen1 (BIOS) or Gen2 (UEFI) |
Limitations | No snapshot API via PowerShell, no VRDP passthrough |
Hyper-V is not available on Windows Home edition — the app detects this and degrades gracefully.
Windows Sandbox (Microsoft, Windows-only)
Status: ✅ Supported for ephemeral sandbox environments
Windows Sandbox is a lightweight VM built on Hyper-V technology that provides a disposable, isolated Windows environment. Each launch creates a fresh image from the host's base Windows installation. Changes are discarded when the sandbox closes.
The project supports three sandbox modes:
Consumer — completely naked Windows, no pre-installed tooling. Used for testing install walkthroughs on a simulated "naked PC."
Dev Infra — includes winget, uv, git, and network access. Used for testing fleet deployment scripts and MCP server installs.
Full Dev — user-selectable tooling (Python, Node, VS Code, Cursor, etc.) installed automatically at first boot.
Docker (Docker Inc.)
Status: ✅ Partially supported for container execution
Docker is supported for ephemeral sandbox-style container execution (run isolated commands, compile code, execute scripts) via the sandbox_management portmanteau tools. This is not a full Docker Compose or Kubernetes replacement — it is a lightweight "run a command in a throwaway container" feature for development workflows.
VMware / vSphere (Broadcom, formerly VMware Inc.)
Status: ❌ Not supported — see below
VMware was not selected for this project. The reasons are both technical and ethical:
The Broadcom takeover (Nov 2023): Broadcom completed its $69B acquisition of VMware in November 2023. Within months, Broadcom:
Terminated all perpetual license sales — customers are forced into subscription-only pricing.
Bundled products into massive "VMware Cloud Foundation" suites with 2–5× price increases.
Killed free versions (vSphere Hypervisor, VMware Player for commercial use lost functionality, Workstation Pro was made free only after public backlash in May 2024 — and then Workstation Pro/Fusion Pro were open-sourced in Nov 2024, likely to offload maintenance).
Laid off thousands of VMware engineers, gutting product teams.
Imposed punitive audit terms on existing enterprise customers, with some reporting 300–500% renewal cost increases.
The customer rip-off pattern: Broadcom's playbook is consistent across acquisitions (CA Technologies, Symantec, VMware):
Acquire a critical infrastructure vendor
Eliminate perpetual licenses → force subscriptions
Bundle products into expensive suites
Ratchet prices after lock-in
Cut R&D to the bone
For a virtualization management tool like this one, depending on VMware would mean:
Requiring users to have a paid vSphere/vCenter license (most individual developers don't)
Being at the mercy of Broadcom's licensing terms and price changes
Supporting a shrinking ecosystem as customers migrate away
The post-Broadcom landscape (2024–2026): The VMware exodus is real. Enterprises are migrating to:
Microsoft Hyper-V (already supported here)
Proxmox VE (open-source KVM-based, growing rapidly)
Nutanix AHV (proprietary but Broadcom-free)
Oracle VirtualBox (already supported here)
KVM/libvirt (Linux-native, open-source)
We may add Proxmox VE support in a future release, as it is the most natural open-source replacement for vSphere in the small-to-mid datacenter segment.
Proxmox VE (Proxmox Server Solutions GmbH)
Status: ✅ Supported via REST API
Proxmox VE is an open-source (GNU AGPLv3) virtualization platform based on KVM and LXC. It provides a web UI, REST API, clustering, and live migration — similar to vSphere but without the licensing cost.
It is already supported as a remote backend in this project. If you have a Proxmox host (even a single node), set three environment variables and the MCP server will discover and manage Proxmox VMs alongside VirtualBox and Hyper-V:
# In your shell or start.ps1
export PROXMOX_HOST=192.168.1.100
export PROXMOX_USER=root@pam
export PROXMOX_PASSWORD=your-password
# Optional:
# export PROXMOX_NODE=pve1 # autodetected if not set
# export PROXMOX_VERIFY_SSL=0 # default: 0 (self-signed certs)That's it. No Proxmox-specific plugins, no agent installs, no separate service. The client authenticates via the Proxmox ticket API and supports:
Operation | Endpoint |
List VMs |
|
Start/Stop/Shutdown |
|
Create VM | Configurable CPU, RAM, disk, ISO, network bridge |
Delete VM |
|
Snapshots | Create, list, delete via |
Node status | CPU, memory, disk via |
Cluster resources |
|
Proxmox is not harder than VirtualBox to set up from the MCP side — the hard part was always the Proxmox installation itself (Debian ISO, install, configure storage). But once Proxmox is running, plugging it into this MCP server is just those three env vars. We did the complicated part (the REST API client) so you don't have to.
KVM / libvirt (Red Hat / community)
Status: 🔍 Under investigation
KVM (Kernel-based Virtual Machine) is the Linux-native Type-1 hypervisor. It is managed via libvirt and virsh. Linux-native support would be added if cross-platform parity becomes a priority.
Nutanix AHV (Nutanix)
Status: ❌ Not supported — enterprise scope
Nutanix AHV is a Type-1 hypervisor built into the Nutanix Acropolis hyperconverged infrastructure (HCI) platform. It is proprietary, licensed per-node as part of the Nutanix AOS/Prism bundle. AHV is KVM-based under the hood but managed exclusively through Nutanix Prism (UI and REST API). It competes with VMware vSphere in the enterprise HCI space and has been a major beneficiary of the Broadcom VMware exodus.
Reasons not currently supported:
Requires a Nutanix cluster — not available to individual developers or small shops
The Prism REST API is complex and targets infrastructure teams, not ad-hoc VM management
Licensing is per-node subscription, typically $5k–$20k/node/year depending on bundle
The open-source KVM layer underneath is not directly accessible when managed by Acropolis
AHV support would make sense for a future "fleet datacenter" tier that targets enterprise Nutanix customers, but it is out of scope for the current single-machine developer workflow.
OpenStack (OpenInfra Foundation / community)
Status: ❌ Not supported — DIY complexity
OpenStack is a set of open-source (Apache 2.0) projects that together provide infrastructure-as-a-service (Compute via Nova, Storage via Cinder/Swift, Networking via Neutron, Identity via Keystone, etc.). It is the de-facto open-source cloud platform, used by massive deployments (OVH, Rackspace, CERN, Walmart) and telcos.
Reasons not currently supported:
DIY infrastructure cost: OpenStack is free software, but operating it requires a cluster of bare-metal hosts, shared storage (Ceph/CEPH or SAN), and at least 3 controller nodes for HA. A minimal production deployment starts at 6–10 physical servers. There is no "OpenStack on a laptop" — even dev environments (DevStack, MicroStack, Kolla) need significant RAM and multiple VMs.
Operational complexity: OpenStack has 30+ core services. Upgrades are painful, networking (Neutron + OVS/OVN) is notoriously brittle, and troubleshooting requires deep knowledge of RabbitMQ, MySQL/Galera, and distributed system internals.
Wrong abstraction layer: This project manages individual VMs and sandboxes on a single Windows machine. OpenStack is a multi-tenant cloud orchestrator for datacenter-scale deployments. The API surface (Nova boot with flavors, networks, security groups, availability zones) is designed for a cloud operator, not a developer spinning up a single Ubuntu VM.
Alternatives exist: For those who want OpenStack-like capabilities at smaller scale, Proxmox VE provides a similar VM management API with 1% of the operational overhead. We may support Proxmox before OpenStack.
If you are running OpenStack in production and want MCP integration, the right approach is to run a lightweight MCP bridge on your OpenStack controller node that translates MCP tool calls to OpenStack REST API calls (nova, cinder, neutron). That bridge is not part of this repo but could be a separate openstack-mcp server.
Kubernetes (CNCF / community)
Status: ⚠️ Not directly managed by this server, but adjacent
Kubernetes is a container orchestration platform that schedules and manages containerized workloads across a cluster of machines. It is not a VM hypervisor — it runs on top of one (Docker, containerd, CRI-O) — but it competes for the same "where do I run my workload?" mindshare.
Perception vs reality on complexity:
The conventional wisdom is that Kubernetes is too complex for individual developers. This is true for a manually-configured production cluster with etcd, CNI plugins, ingress controllers, cert-manager, service meshes, monitoring stacks, and persistent storage. Setting that up from scratch is a multi-day slog even for experienced ops teams.
However, the lightweight distributions have changed the calculus significantly:
Distribution | Install | Footprint | Use case |
k3s (Rancher) | Single binary, | ~50 MB, runs on a Raspberry Pi | Edge, IoT, dev clusters |
MicroK8s (Canonical) |
| ~200 MB, includes add-ons | Local dev, CI, offline |
kind (Kubernetes in Docker) |
| Container nodes | CI testing, ephemeral clusters |
minikube | Binary + driver | VM-based (Docker or Hyper-V) | Local development, learning |
K3d (k3s in Docker) |
| k3s clusters as Docker containers | Dev, CI, multi-node testing |
On a modern machine (16+ GB RAM, SSD), any of these can boot a functional Kubernetes cluster in under 5 minutes. The real time sink was always configuration — picking the right CNI, storage class, ingress, cert management — and this is precisely where AI assistance (Claude, ChatGPT, Codex) shines. An AI agent given "spin up a k3s cluster on this machine with Traefik, Longhorn, and cert-manager" can:
Install k3s (one-line curl pipe)
Write the Helm values or YAML manifests for each component
Apply them in dependency order
Verify the cluster is healthy
The total human effort is "type the prompt, review the plan, press enter." The AI handles the five years of Kubernetes tribal knowledge.
Why it's not directly managed by this server:
This project manages VMs (VirtualBox, Hyper-V) and sandboxes (Windows Sandbox). Kubernetes is a layer above — it expects a running cluster (on VMs or bare metal) and manages containers within it. The MCP server could expose kubectl wrappers (get pods, apply manifests, port-forward), but that is a separate project (kubernetes-mcp or similar). The local-llm-mcp server in the fleet already uses k3s internally for containerized model serving, proving the lightweight-Kubernetes-on-a-single-machine pattern works in production.
Bottom line: Kubernetes is complex, but AI makes the configuration pain disappear. The lightweight distros make the infrastructure cost near-zero. If you need container orchestration alongside VM management, run k3s on the same host and use a separate kubernetes-mcp server for kubectl access.
Comparison Table
Technology | License | Cost | Type | Windows | Linux | macOS | API |
VirtualBox | GPLv2 | Free | Type-2 | ✅ | ✅ | ✅ |
|
Hyper-V | Proprietary | Windows license | Type-1 | ✅ | ❌ | ❌ | PowerShell |
Windows Sandbox | Proprietary | Windows Pro/Ent | Type-1 | ✅ | ❌ | ❌ | WSB XML |
Docker | Apache 2.0 | Free | Container | ✅ | ✅ | ✅ | Docker CLI/API |
VMware | Proprietary | Subscription | Type-1/2 | ✅ | ✅ | ✅ |
|
Proxmox VE | AGPLv3 | Free | Type-1 | ❌ | ✅ | ❌ | REST API |
KVM | GPLv2 | Free | Type-1 | ❌ | ✅ | ❌ |
|
Nutanix AHV | Proprietary | Per-node subscription | Type-1 | ❌ | ✅ | ❌ | REST API ( |
OpenStack | Apache 2.0 | Free (DIY infra cost) | Type-1 (KVM) | ❌ | ✅ | ❌ | REST API ( |
Kubernetes (k3s) | Apache 2.0 | Free | Orchestrator | ✅ | ✅ | ✅ |
|
Quick Install
Download
virtualization-mcp-*.mcpbfrom ReleasesDrag into Claude Desktop
Other methods: INSTALL.md
What You Can Do
Create an Ubuntu 24.04 VM with 8 GB RAM and attach the ISO from assets.
Launch a consumer Windows Sandbox so I can test a naked INSTALL.md walkthrough.
Restore snapshot clean-base on NakedWin11 before the next install test.
Documentation
Doc | Contents |
Options A–D, sandbox launchers | |
Env vars, VirtualBox paths | |
| |
Common errors | |
VM lifecycle, snapshots | |
Consumer vs dev bringup | |
System design |
Requirements
Windows 11 Pro/Enterprise/Education for Hyper-V and Windows Sandbox
VirtualBox 7+ with
VBoxManageon PATH (VM features)Python 3.12+ — only for Options C/D
License
MIT
Maintenance
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/sandraschi/virtualization-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server