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.

概覽

AI 產生的概覽

一個本機 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 可覆寫映像快取位置。
安裝前請注意
客體憑證從環境變數讀取(HV_GUEST_USER、HV_GUEST_PASSWORD),也相容舊的 VMRUN_GUEST_USER 和 VMRUN_GUEST_PASSWORD。許多工具會改變狀態:虛擬機生命週期、快照、客體命令與指令碼、檔案複製、網路變更和原始 execute_command 都可能建立、修改或刪除虛擬機與資料。建議讓會修改狀態的工具保持需要確認。映像來自第三方發佈方,僅在提供摘要時才會驗證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Desktop Hypervisor Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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-*.ova vs virtualbox-*.ova, Vagrant's vmware_desktop vs virtualbox boxes, Microsoft's per-hypervisor dev VM — keyed on (image, provider family, host arch).

Tools

ToolActions
providerlist — installed hypervisors with status, capabilities, formats, and remediation when not ready
artifactcatalog, resolve, fetch (dry_run) — verified downloads of official OS images, per provider
vm_lifecyclecreate, start, stop, suspend, reset, delete, clone, import, export
vm_infolist, running, show, ip (in-guest tools, else DHCP leases by MAC — works for agentless guests like Talos)
vm_configresources, nested_virt, attach_iso, guestinfo (pre-boot key/value injection, VMware)
snapshottake, restore, delete, list (tree)
guestexec, script, copy_in, copy_out, screenshot
networkensure_cluster_network, expose_guest_port, make_iso, repack_iso
execute_commandraw VBoxManage / vmrun argv on the selected provider

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:

bash
go build -o desktop-hypervisor-mcp .

Registration with Claude Code

bash
claude mcp add --scope user hypervisor -- /path/to/desktop-hypervisor-mcp

Guest-operation credentials come from the server environment, never from tool parameters:

bash
claude mcp add --scope user hypervisor \  --env HV_GUEST_USER=vagrant --env HV_GUEST_PASSWORD=vagrant \  -- /path/to/desktop-hypervisor-mcp

(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:

json
{  "permissions": {    "allow": [      "mcp__hypervisor__provider",      "mcp__hypervisor__vm_info",      "mcp__hypervisor__artifact",      "mcp__hypervisor__snapshot"    ]  }}

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v2.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分