vmware-console-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOVC_PATH | No | Path to the govc executable (default: tools/govc.exe, falling back to PATH if not present). | |
| VMWARE_VMRUN | No | Absolute path to vmrun.exe (default: auto-detect VMware Workstation/Player installation). | |
| ESXI_GUEST_USER | No | Default guest username for esxi_guest_* tools. | |
| ESXI_HOSTS_FILE | No | Path to the ESXi host registry file (default: config/esxi-hosts.json). | |
| VMRUN_HOST_TYPE | No | Force the host type to ws (Workstation) or player. | |
| VMWARE_MCP_DEBUG | No | Set to 1 to write debug logs to stderr. | |
| VMWARE_GUEST_USER | No | Default guest username for guest_* tools. | |
| VMWARE_VM_PASSWORD | No | Password for encrypted virtual machines (.vmx encryption); vmrun will be invoked with -vp. | |
| ESXI_GUEST_PASSWORD | No | Default guest password for esxi_guest_* tools. | |
| VMWARE_GUEST_PASSWORD | No | Default guest password for guest_* tools. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
VMware Player/Workstation automation. Lifecycle/files/guest ops via vmrun; console screenshots and mouse/keyboard via the VM built-in VNC (run vnc_enable while powered off, then vm_power start with gui=false).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| vm_listA | List running VMware VMs (via vmrun list), with display name and VNC settings. Read-only. |
| vm_infoA | Show one VM: display name, guestOS, power state, VNC settings. Read-only. |
| vm_powerB | Power operations: start/stop/reset/suspend/pause/unpause. For console automation start with gui=false (headless) and VNC enabled; a GUI start forces RemoteDisplay.vnc.enabled=FALSE. |
| vm_snapshotC | Snapshots: list / create / revert / delete. create and revert need the VM to be (or will be brought) into a consistent state. |
| vm_cloneB | Clone a VM (full or linked). Target .vmx path must not exist. |
| vm_deleteA | Delete a VM (vmrun deleteVM). Refuses when the VM is running unless force=true. |
| vm_tools_stateB | Check VMware Tools state in the guest (installed / running / notInstalled). Requires the VM running. |
| vm_ipA | Get the guest IP address (requires VMware Tools). wait=true waits until an IP is available. |
| vm_install_toolsC | Mount the VMware Tools ISO and start installation (vmrun installTools). |
| vnc_enableA | Enable the built-in VNC console for a powered-off VM by editing RemoteDisplay.vnc.* in the .vmx (backup .vmx.bak kept). After enabling, start the VM with vm_power action=start gui=false — starting from the Player GUI overrides VNC to FALSE. |
| vnc_disableB | Disable the built-in VNC console (VM must be powered off). |
| vnc_statusB | Report VNC config, whether the port is listening, and whether the VM is running. |
| console_infoB | Connect to the VM VNC console and return screen size/name/security. Opens (and keeps) a session. |
| console_screenshotA | Capture the VM console as a PNG image (works before the OS boots: BIOS, login screen, installers). Coordinates for console_mouse are native VM pixels; if max_width is used, the returned scale must be passed back to console_mouse. |
| console_mouseC | Inject mouse into the VM console: move / click / dblclick / rightclick / down / up / scroll at VM pixel coordinates. |
| console_typeB | Type text into the VM console (physical key events, works on BIOS/login; no guest agent needed). |
| console_keyC | Press key combinations in the VM console, e.g. "ctrl+alt+delete", "enter", "f2" or a list ["esc","f10"]. |
| console_closeB | Close the VNC session for a VM (does not power it off). |
| guest_runC | Run a program inside the guest via vmrun/VIX (requires VMware Tools + guest credentials). Returns exit code and output. |
| guest_scriptB | Run a script inside the guest (vmrun runScriptInGuest; interpreter e.g. c:\windows\system32\cmd.exe or /bin/sh). Requires VMware Tools + credentials. |
| guest_processesB | List processes inside the guest (requires VMware Tools + credentials). |
| guest_killB | Kill a guest process by PID (requires VMware Tools + credentials). |
| guest_copy_toC | Copy a file from host into the guest (requires VMware Tools + credentials). |
| guest_copy_fromC | Copy a file from the guest to the host (requires VMware Tools + credentials). |
| guest_mkdirC | Create a directory inside the guest (requires VMware Tools + credentials). |
| guest_lsB | List a guest directory (requires VMware Tools + credentials). |
| guest_type_keystrokesA | Type keystrokes into the guest via vmrun (requires VMware Tools; guest must already be logged in and focused). For pre-boot/BIOS input use console_type instead. |
| guest_screenshotA | Screenshot via VIX captureScreen (requires VMware Tools). For console-level capture without Tools use console_screenshot. Returns the PNG when available. |
| esxi_hostsA | List configured ESXi/vCenter hosts (aliases; passwords masked). Config file path shown. |
| esxi_add_hostA | Register an ESXi/vCenter host. Validates connectivity with govc about unless test=false. Password can be given directly (stored in config file, 0600 best-effort) or via password_env (recommended). |
| esxi_remove_hostC | Remove an ESXi/vCenter host from the registry. |
| esxi_test_hostC | Test connectivity to one host (govc about + host summary). |
| esxi_host_infoC | Host summary (version/build, CPU, memory, datastores) via govc host.info -json. |
| esxi_vm_listA | List VMs on one host (alias) or on ALL configured hosts when alias is omitted (queried in parallel). |
| esxi_vm_infoB | Detailed VM info (govc vm.info -json) for one VM on a host. |
| esxi_vm_powerB | Power operations on an ESXi VM: start / stop (soft=guest shutdown, hard=power off) / reset / reboot (guest) / suspend. |
| esxi_vm_createC | Create a VM on ESXi (govc vm.create). |
| esxi_vm_cloneC | Clone a VM or template on ESXi (govc vm.clone). |
| esxi_vm_destroyB | Delete a VM from ESXi (govc vm.destroy). Powers it off first when force=true. |
| esxi_vm_registerC | Register an existing .vmx on a datastore (govc vm.register). |
| esxi_snapshotC | Snapshot operations on an ESXi VM: list / create / revert / remove. |
| esxi_datastore_lsC | List a datastore path (govc datastore.ls -l). |
| esxi_datastore_uploadC | Upload a local file to an ESXi datastore (govc datastore.upload). |
| esxi_datastore_downloadC | Download a file from an ESXi datastore (govc datastore.download). |
| esxi_datastore_mkdirB | Create a directory in an ESXi datastore (govc datastore.mkdir). Path form: "[datastore1] folder/sub". |
| esxi_datastore_rmB | Remove a file or directory from an ESXi datastore (govc datastore.rm; recursive by default). |
| esxi_guest_runC | Run a program in the guest via VMware Tools (govc guest.run). Needs guest credentials. |
| esxi_guest_psC | List guest processes via Tools (govc guest.ps). |
| esxi_guest_killC | Kill a guest process by PID via Tools (govc guest.kill). |
| esxi_guest_lsC | List a guest directory via Tools (govc guest.ls). |
| esxi_guest_mkdirC | Create a guest directory via Tools (govc guest.mkdir). |
| esxi_guest_uploadC | Upload a file into the guest via Tools (govc guest.upload). |
| esxi_guest_downloadC | Download a file from the guest via Tools (govc guest.download). |
| esxi_console_screenshotB | Capture an ESXi VM console screenshot as PNG (govc vm.console -capture; works without VMware Tools on standalone ESXi). Falls back to VNC when the HTTP screen endpoint is unavailable. |
| esxi_console_keyB | Send console keystrokes to an ESXi VM via PutUsbScanCodes (works without VMware Tools, even in BIOS). keys: "enter", "f2", "ctrl+alt+delete" or an array. |
| esxi_console_typeC | Type text on an ESXi VM console via PutUsbScanCodes (ASCII printable; optional Enter). |
| esxi_console_mouseB | Mouse operations on an ESXi VM console through its built-in VNC (console_mouse semantics). Requires esxi_vnc -enable and the ESXi firewall to allow the VNC port. |
| esxi_vncB | Query/enable/disable the built-in VNC server of an ESXi VM (govc vm.vnc, extraConfig RemoteDisplay.vnc.*). Port/password auto-assigned when omitted. VM should be powered off before enabling. |
| esxi_firewallA | Inspect or enable ESXi firewall rulesets (govc host.esxcli network firewall ruleset ...). Use action=list to find a VNC ruleset; enable requires an existing ruleset id. |
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 59 tools
The set is effectively two mirrored surfaces (local Workstation via vmrun/VIX and ESXi via govc), producing near-duplicate pairs like vm_power vs esxi_vm_power, vm_snapshot vs esxi_snapshot, guest_run vs esxi_guest_run, and console_screenshot vs esxi_console_screenshot. Descriptions do explain the distinction (e.g. 'For pre-boot/BIOS input use console_type instead'), but an agent must first know which backend a VM lives on, and tools like vnc_enable/vnc_status vs esxi_vnc add another overlapping layer.
Overall snake_case with domain prefixes (vm_, guest_, console_, vnc_, esxi_) is readable, but the pattern is not uniform: the ESXi side mixes esxi_snapshot with esxi_vm_power/esxi_vm_clone/esxi_vm_destroy, and esxi_datastore_*/esxi_guest_* don't map one-to-one onto the local vm_/guest_ naming. The two backends also name the same concept differently (vm_snapshot vs esxi_snapshot).
59 tools is well beyond a comfortable surface and forces an agent to choose among many near-equivalent options per action. Even accepting two backends, the mirroring roughly doubles the count without adding conceptually new operations.
Coverage is genuinely broad: power lifecycle, snapshots, clone/delete/register, datastore CRUD, guest file/process/program operations, console input, VNC, and ESXi firewall handling. Minor gaps remain — local vm_list only shows running VMs (no listing of powered-off Workstation VMs), and there's no VM settings/hardware reconfiguration or network/datastore browsing on the local side.