vmware-workstation-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| VMWARE_VM_DIRS | No | Extra VM directories to scan, separated by ; on Windows or : on Unix. Defaults to standard VMware VM folders plus inventory.vmls. | |
| VMWARE_HOST_TYPE | No | Value passed to vmrun -T (ws, fusion, player). Defaults to fusion on macOS and ws on Windows/Linux. | |
| VMWARE_VMRUN_PATH | No | Explicit path to vmrun / vmrun.exe. Auto-detected via PATH, Windows Registry, or standard install paths by default. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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 |
|---|---|
| list_vmsB | List all discovered VMware VMs (from inventory, VM folders, and running state). Args: include_specs: Include parsed .vmx specs (guest OS, vCPUs, memory MB, NICs). |
| list_running_vmsA | List all currently running VMware VMs via |
| get_vm_infoA | Get detailed info for a VM: .vmx specs, running status, VMware Tools state, and guest IP. Args: vm: VM display name, folder name, unique substring, or full .vmx path. |
| get_guest_ipA | Query the guest OS IP address of a running VM (requires VMware Tools). Args: vm: VM display name, folder name, unique substring, or full .vmx path. wait: If True, wait until an IP address becomes available (up to 60s). |
| start_vmA | Start a VM in GUI or headless (nogui) mode. Args: vm: VM name, substring, or full .vmx path. gui: True to open the VMware window; False for background headless mode. |
| stop_vmA | Stop (power off) a running VM. Args: vm: VM name, substring, or full .vmx path. hard: False for graceful soft shutdown; True for immediate hard power-off. confirm: Must be True when hard=True (safety guardrail against data loss). |
| reset_vmA | Reset (reboot) a running VM. Args: vm: VM name, substring, or full .vmx path. hard: False for graceful guest reboot; True for immediate hard reset. confirm: Must be True when hard=True (safety guardrail). |
| power_state_vmB | Suspend, pause, or unpause a VM. Args: vm: VM name, substring, or full .vmx path. action: One of 'suspend', 'pause', or 'unpause'. |
| list_snapshotsA | List snapshots for a VM. Args: vm: VM name, substring, or full .vmx path. show_tree: Return indented snapshot hierarchy when True. |
| create_snapshotC | Create a named snapshot of a VM. Args: vm: VM name, substring, or full .vmx path. name: Snapshot name. |
| revert_to_snapshotA | Revert a VM back to a named snapshot (discards unsaved current state). Args: vm: VM name, substring, or full .vmx path. name: Exact snapshot name to revert to. confirm: Must be True to confirm discarding current VM state. |
| delete_snapshotA | Delete a named snapshot from a VM. Args: vm: VM name, substring, or full .vmx path. name: Exact snapshot name to remove. delete_children: Also delete child snapshots when True. confirm: Must be True to confirm permanent snapshot deletion. |
| run_command_in_guestA | Run an executable inside the guest OS via VMware Tools ( Args: vm: VM name, substring, or full .vmx path. program_path: Absolute path to the executable inside the guest OS. args: Optional list of program arguments. guest_user: Guest OS username. guest_password: Guest OS password (masked in logs/responses). no_wait: Return immediately without waiting for the program to exit. interactive: Launch in the interactive desktop session. timeout: Subprocess timeout in seconds. |
| run_script_in_guestA | Execute inline script text inside the guest OS ( Note: vmrun itself does not stream guest stdout back to the host; redirect
output to a file inside the guest and retrieve it with Args: vm: VM name, substring, or full .vmx path. interpreter: Interpreter absolute path in guest (e.g. '/bin/bash' or 'C:\Windows\System32\cmd.exe'). script_text: Script body to execute. guest_user: Guest OS username. guest_password: Guest OS password (masked in logs/responses). no_wait: Return immediately without waiting for completion. timeout: Subprocess timeout in seconds. |
| list_processes_in_guestB | List running processes inside the guest OS ( Args: vm: VM name, substring, or full .vmx path. guest_user: Guest OS username. guest_password: Guest OS password (masked in logs/responses). |
| copy_file_host_to_guestA | Copy a file from the host to the guest OS ( Args: vm: VM name, substring, or full .vmx path. host_path: Existing source file path on the host. guest_path: Destination file path inside the guest OS. guest_user: Guest OS username. guest_password: Guest OS password (masked in logs/responses). |
| copy_file_guest_to_hostB | Copy a file from the guest OS to the host ( Args: vm: VM name, substring, or full .vmx path. guest_path: Source file path inside the guest OS. host_path: Destination file path on the host (parent dirs created automatically). guest_user: Guest OS username. guest_password: Guest OS password (masked in logs/responses). |
| capture_vm_screenA | Capture the current display of a running VM to a local PNG file ( Args: vm: VM name, substring, or full .vmx path. output_path: Optional host PNG file path. Defaults to /vmware-mcp-screens/_.png. |
| list_host_networksA | List VMware host virtual networks (vmnet*) and their NAT port forwarding rules. |
| manage_port_forwardingB | Add/update or delete a NAT port forwarding rule on a VMware host network (e.g. vmnet8). Args: network: Host network name (e.g. 'vmnet8'). action: 'set' to add/update, 'delete' to remove. protocol: 'tcp' or 'udp'. host_port: Host TCP/UDP port number (1-65535). guest_ip: Guest IP address (required when action='set'). guest_port: Guest port number 1-65535 (required when action='set'). description: Optional rule description (only for action='set'). |
| manage_shared_folderB | Manage VMware Host-Guest shared folders for a VM. Args: vm: VM name, substring, or full .vmx path. action: 'enable', 'disable', 'add', 'remove', 'readonly', or 'writable'. share_name: Shared folder name (required for add/remove/readonly/writable). host_path: Host directory path (required for add/readonly/writable). |
| clone_vmA | Create a linked or full clone of a VM ( Args: vm: Source VM name, substring, or full .vmx path. dest_vmx_path: Destination .vmx file path for the cloned VM. clone_type: 'linked' (fast, shares base disk) or 'full' (independent copy). snapshot_name: Optional source snapshot name to clone from. clone_name: Optional display name for the new clone. |
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 22 tools
Most tools target a distinct resource+action (snapshots, guest file copy, guest command execution, networking). The only mild overlaps are list_vms vs list_running_vms and reset_vm vs stop_vm/start_vm, but descriptions clearly differentiate them (all discovered vs running only; reboot vs power cycle).
Strong verb_noun convention throughout (list_snapshots, create_snapshot, copy_file_host_to_guest, run_command_in_guest). The lone deviation is power_state_vm, which uses a noun phrase instead of a verb, but the rest are highly predictable.
22 tools is on the heavier side but the domain is genuinely broad: VM lifecycle, snapshots, guest operations, file transfer, networking, shared folders, and cloning. Each tool earns its place, though a few could theoretically be collapsed (e.g. power_state_vm into stop/start).
Lifecycle, snapshots, guest ops, networking, and cloning are covered well. However, there is no delete_vm or unregister tool and no create-from-scratch tool (only clone_vm), leaving dead ends for VM removal and fresh VM creation.