Skip to main content
Glama
ilkuru

Hyper-V Sandbox MCP Server

by ilkuru

🚀 Hyper-V Sandbox MCP Server for Antigravity 2.0

用于在隔离的 Hyper-V 虚拟机中自主测试、验证和调试 PowerShell、CMD/BAT 脚本及系统实用程序的安全智能体沙箱。

Hyper-V Sandbox MCP Server 是一个模型上下文协议(MCP)服务器,可将您本地的 Microsoft Hyper-V 虚拟机监控程序转变为由 AI 智能体管理的代码测试环境。智能体(Antigravity 2.0、Claude Desktop 等)能够自主将虚拟机还原到干净快照、通过 VMBus 带外传输文件、使用 PowerShell Direct 在客户机操作系统内执行命令、分析输出,并在出错时自我纠正(自愈循环)。

  • 🌟 核心特性

  • 🛡️ 100% 主机保护(零风险沙箱):可能具有破坏性的脚本(系统服务修改、注册表编辑、网络适配器更改、文件删除)严格在隔离的虚拟机内执行。

  • ⚡ PowerShell Direct(零网络依赖):客户机操作系统管理通过虚拟机监控程序的内部 VMBus 进行。无需网络设置、开放 RDP/SSH/WinRM 端口或调整防火墙。

  • 🔄 确定性回滚(CleanBase 检查点):每次运行前将虚拟机即时重置为干净的基线快照,确保测试完全可复现且无残留状态。

  • 📦 无缝文件传输(客户机集成服务):使用原生 Copy-VMFile 将脚本、库和实用程序(如 PsExec)直接从主机传输到客户机。

  • 🤖 自愈代码循环:智能体捕获真实的 ExitCode、stdout 和 stderr 输出以及异常堆栈跟踪,自主修补代码并重新测试,直至通过。

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    Enables 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.
    9
    17
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables 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.
    33
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Lets 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,041
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables 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.
    4
    MIT