Hyper-V Sandbox 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., "@Hyper-V Sandbox MCP ServerRun this PowerShell script in an isolated VM and show me the output"
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.
🚀 Hyper-V Sandbox MCP Server for Antigravity 2.0
Secure agentic sandbox for autonomous testing, validation, and debugging of PowerShell, CMD/BAT scripts, and system utilities inside isolated Hyper-V virtual machines.
Hyper-V Sandbox MCP Server is a Model Context Protocol (MCP) server that turns your local Microsoft Hyper-V hypervisor into an AI-agent-managed testing ground for code. The agent (Antigravity 2.0, Claude Desktop, etc.) gains the ability to autonomously revert VMs to clean snapshots, transfer files out-of-band via VMBus, execute commands inside the guest OS using PowerShell Direct, analyze output, and self-correct on errors (Self-Healing Loop).
🌟 Key Features
🛡️ 100% Host Protection (Zero-Risk Sandbox): Potentially destructive scripts (system service modifications, registry edits, network adapter changes, file deletions) execute strictly inside an isolated virtual machine.
⚡ PowerShell Direct (Zero-Network Dependency): Guest OS management operates via the hypervisor's internal VMBus. No network setup, open RDP/SSH/WinRM ports, or firewall tweaks required.
🔄 Deterministic Rollback (CleanBase Checkpoint): Instant VM resets to a clean baseline snapshot before every run ensure fully reproducible tests without leftover state.
📦 Seamless File Transfer (Guest Integration Services): Native Copy-VMFile usage to transfer scripts, libraries, and utilities (e.g., PsExec) directly from host to guest.
🤖 Self-Healing Code Loop: The agent captures real ExitCode, stdout, and stderr outputs alongside exception stack traces to autonomously patch code and re-test until green.
Related MCP Connectors
Validates AI infra code on real VMs. Self-corrects until it works. No containers, no sandboxes.
Linux VMs for AI agents: create VMs, run commands, edit files and open preview URLs.
Linux microVM sandboxes for AI agents: run commands, files, processes, pause and wake.
Persistent Linux computers for AI agents: desktop, signed-in browser, vault, apps and shell.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables AI assistants to manage virtual machines, sandboxes, and dev environments through VirtualBox, Hyper-V, and Windows Sandbox, supporting VM lifecycle, ISO downloads, networking, and unattended installs.917MIT
- AlicenseBqualityBmaintenanceEnables an LLM agent to control a Windows guest in VMware Workstation, including power and snapshot management, kernel debugging via KDNET or serial, real-time terminal access, file transfer, and console screenshots, with synchronized state across tools.33MIT
- FlicenseNot gradedqualityAmaintenanceLets AI agents manage local virtual machines: create macOS and Linux VMs on Apple silicon and WSL distros on Windows, start/stop, clone, back up, and run commands inside them.4,032-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to create, drive, checkpoint, reset and delete resettable Windows and Ubuntu desktop VMs on Apple Silicon Macs, giving them real desktops to click, type and screenshot in plus shell commands, file transfer and port forwarding. All processing is local, so agents can work in isolated guests without leaving the Mac.4MIT