
Desktop Hypervisor Mcp
io.github.bryanjbelanger由 GitHub 账号 bryanjbelanger 发布v2.1.2更新于 Oct 24, 2026
VirtualBox and VMware Fusion/Workstation behind one provider-neutral MCP tool surface.
概览
一个本地 MCP 服务器,让助手通过统一的、与厂商无关的工具接口管理 VirtualBox 和 VMware Fusion/Workstation 虚拟机。
- 可以做什么
- 检测已安装的虚拟机管理程序及其能力,未就绪时给出修复提示;按厂商解析并下载经过校验的操作系统镜像到本地缓存,支持试运行下载,并在发布方提供摘要时做 sha256 校验;创建、启动、停止、挂起、重置、删除、克隆、导入和导出虚拟机;列出并查看虚拟机,通过客户机内工具或 DHCP 租约获取 IP,并调整资源、嵌套虚拟化、挂载 ISO 和预启动 guestinfo;创建、恢复、删除和列出快照;在客户机中执行命令和脚本、复制文件进出并截图;建立集群网络、暴露客户机端口、制作或重新打包 ISO,以及执行原始 VBoxManage 或 vmrun 命令。
- 适用场景
- 适合让助手在本机 VirtualBox 或 VMware 上创建、查看、快照或清理虚拟机,包括 Talos 这类无代理客户机,而无需在厂商专用工具之间切换。最适合已经运行这些虚拟机管理程序的桌面电脑。
- 运行要求
- 作为本地进程运行在桌面电脑上,是单个静态 Go 二进制文件,不需要 Python 或 Node。需要安装 VirtualBox(VBoxManage)和/或 VMware Fusion 或 Workstation(vmrun)。可选的 ovftool 可在 VMware 上启用 OVA 导入导出,xorriso 可启用 ISO 重新打包。客户机操作需要在服务器环境中设置 HV_GUEST_USER 和 HV_GUEST_PASSWORD;HV_IMAGE_DIR 可覆盖镜像缓存位置。
安装
在 SourceWeft 中
- 打开 控制台中的 Desktop Hypervisor Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Desktop Hypervisor MCP
One provider-neutral MCP server for the desktop hypervisors: VirtualBox, VMware Fusion, and VMware Workstation. Nine tools, ~1,800 context tokens, full coverage of what its two predecessor servers did in ~5,600.
It succeeds virtualbox-mcp-server (that
history is preserved on the predecessor-virtualbox branch) and the never-
released vmware-fusion-mcp-server, folding both into one capability-based
surface.
Versioning note: stable releases of this server start at v2.0.0. The
v1.x line (and its v1.0.0 release, kept for anyone still pinning it) belongs
to the virtualbox-only predecessor; the 0.x tags were this server's pre-stable
iterations. v2.0.0 is identical in content to v0.4.3, re-versioned as the
stable line.
Design
- Capability-based, not lowest-common-denominator. Providers advertise
what they can actually do (
provider action=list): guest exec, OVA import/export, linked clones, pre-boot guestinfo injection, DHCP-lease IP discovery, ISO mastering… Unsupported operations fail by naming the missing capability, not with a provider error. - Intent, not mechanism. "Ensure the cluster nodes share a network the
host can reach" is expressible on both families; "create a host-only
interface" is not. The neutral tools express intent; provider-native
mechanism stays reachable, unabstracted, through
execute_command. - Artifacts resolve per provider. The same image name gives each
hypervisor the artifact it can actually import — Talos's
vmware-*.ovavsvirtualbox-*.ova, Vagrant'svmware_desktopvsvirtualboxboxes, Microsoft's per-hypervisor dev VM — keyed on (image, provider family, host arch).
Tools
With one hypervisor installed it is selected automatically; with several, the ambiguity is surfaced, never guessed.
Image catalog
artifact action=catalog lists maintained images: Talos (appliance and metal
ISO), Ubuntu (cloud image and Vagrant), Debian, Fedora, Rocky, Alma,
openSUSE, FreeBSD, Kali, TurnKey, the Windows dev VM, plus vagrant:org/box
passthrough to the whole registry. Downloads are sha256-verified wherever the
publisher provides a digest (GitHub release assets always do); unverified
sources say so loudly. Vagrant boxes are fetched for the right provider and
auto-extracted to their importable machine file. The cache lives in
~/.hypervisor-images (HV_IMAGE_DIR overrides).
Prerequisites
- VirtualBox (
VBoxManage) and/or VMware Fusion / Workstation (vmrun). Detection is per-call, so a hypervisor installed mid-session is picked up. - Nothing else: a single static Go binary, no Python, no Node.
Optional, detected at runtime: ovftool enables OVA import/export on VMware;
xorriso enables repack_iso.
Installing
Published on the official MCP Registry
as io.github.bryanjbelanger/desktop-hypervisor-mcp — that name is what
registry-aware clients install by. The registry has no per-server page yet, so
the listing itself is the API record:
current entry.
For hosts that support MCP Bundles, download the .mcpb from the
latest release
and open it — guest credentials and the image cache directory are prompted for
in the host's own UI. One bundle covers every platform; it carries a binary per
(os, arch) and picks one at startup, so it is ~16 MB.
Otherwise take the bare binary for your platform from the same release, or build it:
Registration with Claude Code
Guest-operation credentials come from the server environment, never from tool parameters:
(VMRUN_GUEST_USER/VMRUN_GUEST_PASSWORD are honored for compatibility.)
The server ships usage recipes in the MCP initialize handshake, generated from what was actually detected on the host — a session on a VirtualBox-only machine never pays context for VMware guidance.
Permissions
Per-tool allowlisting in .claude/settings.json keeps prompts meaningful —
read-only tools are safe to always-allow:
Keep mutating tools (vm_lifecycle, execute_command) behind prompts
unless you accept unattended VM mutation.
Bundled skills
skills/ contains workflow skills for Claude Code — procedures that
compose this server's tools across either hypervisor:
hv-vm (provisioning),
hv-network (networks, guest reachability, seed ISOs),
hv-snapshot (safety workflows),
hv-maintenance (inventory & cleanup),
hv-transfer (clone/export/move).
Install by copying (or symlinking) into ~/.claude/skills/. They supersede the
predecessor's vbox-* skills.
Related projects
- talos-mcp-server — Talos/Kubernetes orchestration; consumes this server for node provisioning and stays deliberately hypervisor-agnostic.
来源:README.md,提交 b030ad6
工具
0版本历史
1- v2.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分