multi-vm-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
本服务用于操作本机 VMware Workstation/Player 与 Oracle VirtualBox 虚拟机。GUI 流程:console_observe → console_action/console_batch;每次动作必须使用最新的 observation_id。命令流程:guest_command 返回 job_id,未完成时用 command_read 继续读取。电源和快照修改:vm_action 返回 operation_id,用 vm_operation_read 确认结果。破坏性操作需要 confirm=true。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lab_statusC | 查看已配置虚拟机、Provider 安装状态、运行状态、Guest Tools 与控制台能力。 |
| vm_discoverC | 发现 VMware / VirtualBox 虚拟机;register=true 时把发现的虚拟机追加到配置。 |
| lab_reloadA | 重新加载配置与凭据,关闭旧控制台连接;之后必须重新 console_observe。 |
| console_observeB | 获取虚拟机当前画面、分辨率与 observation_id。后续动作必须使用该编号。 |
| console_actionB | 在最新观察上执行一次鼠标或键盘动作,返回动作后的画面与新 observation_id。 |
| console_batchA | 执行 1-50 个可预期的短动作,返回最终画面与新 observation_id。 |
| console_pasteB | 向已聚焦的输入框粘贴 Unicode/长文本;submit=true 时在末尾回车。 |
| console_type_savedB | 向已聚焦的登录框输入保存的用户名或密码;结果不会返回凭据文本。 |
| guest_commandA | 通过 Guest Tools 执行命令,返回 job_id;未完成时用 command_read 继续读取。 |
| command_readB | 读取同一个命令任务的状态、输出与退出码;MCP 重启后仍可继续读取。 |
| vm_actionC | 电源、快照、Tools 与 IP 操作。修改类动作返回 operation_id。 action: status | start | shutdown | power_off | reboot | pause | resume | suspend | save_state | tools_status | ip | snapshot_list | snapshot_create | snapshot_restore | snapshot_delete。 |
| vm_operation_readA | 查询电源或快照操作的最终状态;结果不明时先查虚拟机状态,不要直接重试。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool targets a distinct capability: console observation/action/batch/paste/type, guest command execution vs. reading, VM power/snapshot actions vs. reading operation results. The only soft overlaps are console_action vs console_batch (granularity, but the 1-50 range makes the split clear) and vm_action action=status vs lab_status, which descriptions largely resolve.
Consistent snake_case with category prefixes (console_*, lab_*, vm_*) and a predictable *_read pair for async results. Minor deviation: command_read pairs with guest_command rather than sharing a prefix, so its association is slightly less obvious.
Twelve tools is well within the sweet spot, and every tool earns its place: separate observe/action flows, a batch variant for latency, a saved-credential variant for security, and explicit async read-backs for commands and operations.
The surface covers discovery, config reload, health/status, console interaction, guest execution, and power/snapshot lifecycle with proper async read-back, avoiding dead ends after MCP restarts. Minor gaps remain: no guest file transfer or clipboard read, and no explicit unregister/remove for discovered VMs (only register via vm_discover).