Skip to main content

A MCP server for managing VMware Workstation Pro VMs via REST API

Project description

VMware Workstation Pro MCP Server

An MCP (Model Context Protocol) server for managing VMware Workstation Pro virtual machines via the REST API.


Features

  • Host network management
  • Virtual machine management
  • Network adapter configuration
  • VM power control
  • Shared folder management

Prerequisites

  • VMware Workstation Pro (with REST API enabled)
  • Python 3.10+
  • uv (recommended) or pip

Usage

1. Configure the VMware Workstation Pro REST API

.\vmrest.exe -C
VMware Workstation REST API
Copyright (C) 2018-2025 Broadcom.
All Rights Reserved

vmrest 1.3.1 build-24832109
Username: user
New password:
Retype new password:
Processing...
Credential updated successfully

2. Start the VMware Workstation Pro REST API

cd "C:\Program Files (x86)\VMware\VMware Workstation"
.\vmrest.exe
VMware Workstation REST API
Copyright (C) 2018-2025 Broadcom.
All Rights Reserved
vmrest 1.3.1 build-24832109
-
Using the VMware Workstation UI while API calls are in progress is not recommended and may yield unexpected results
-
Serving HTTP on 127.0.0.1:8697
-
Press Ctrl+C to stop.

The API will be available at http://localhost:8697 by default.

Windows_Powershell_Start_REST_API

VM_Network_Adapters_Management


3. Configure the MCP Server

"vmware-workstation-pro": {
  "isActive": true,
  "name": "vmware-workstation-pro",
  "type": "stdio",
  "command": "uvx",
  "args": [
    "vmware-workstation-pro-mcp-server"
  ],
  "env": {
    "VMREST_USER": "user",
    "VMREST_PASS": "Password123!"
  }
}

MCP Tools

list_vms

  • Description: List all available virtual machines.
  • Parameters: None

get_vm_info

  • Description: Retrieve detailed information about a specific VM.

  • Parameters:

    • vm_id (string) — The ID of the virtual machine

power_vm

  • Description: Perform a power operation on a VM.

  • Parameters:

    • vm_id (string) — The ID of the virtual machine
    • action (string) — One of: "on", "off", "suspend", "pause", "unpause", "reset"

get_vm_power_state

  • Description: Get the current power state of a VM.

  • Parameters:

    • vm_id (string) — The ID of the virtual machine

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vmware_workstation_pro_mcp_server-0.1.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file vmware_workstation_pro_mcp_server-0.1.4.tar.gz.

File metadata

File hashes

Hashes for vmware_workstation_pro_mcp_server-0.1.4.tar.gz
Algorithm Hash digest
SHA256 983e74c17c7a381c4d5ded53f42d00672143892ed0c23381224ada3e356041a0
MD5 55ec21873e216a2eb9e078953db91af0
BLAKE2b-256 33ec797e6fb09dd8e7e11e37ccdd343c205fed084d42eb03286e39a97419ef12

See more details on using hashes here.

Provenance

The following attestation bundles were made for vmware_workstation_pro_mcp_server-0.1.4.tar.gz:

Publisher: workflow.yml on gandli/vmware-workstation-pro-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vmware_workstation_pro_mcp_server-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for vmware_workstation_pro_mcp_server-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b182960df57150587d01d5309df1682464d529f07d66489ae536111523d92354
MD5 d57788122ac67acd58a78da612c9f423
BLAKE2b-256 ba6a715cbbbbd68d0046287f2d854873c38c9c75ce06c36c7c498cf5f862375d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vmware_workstation_pro_mcp_server-0.1.4-py3-none-any.whl:

Publisher: workflow.yml on gandli/vmware-workstation-pro-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page