Skip to main content

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

Project description

VMware Workstation Pro MCP Server

VMware Workstation Pro Logo

PyPI version Python versions GitHub Issues PyPI - Downloads License

Overview

A Model Context Protocol (MCP) server for managing VMware Workstation Pro virtual machines through its REST API. This server enables seamless integration with AI assistants and other tools that support the MCP standard.

Features

  • Host Network Management: Configure and manage virtual networks
  • Virtual Machine Management: Create, modify, and delete VMs
  • Network Adapter Configuration: Customize VM network settings
  • VM Power Control: Start, stop, pause, and reset virtual machines
  • Shared Folder Management: Configure shared folders between host and VMs

System Requirements

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

Installation

# Install with uv (recommended)
uv pip install vmware-workstation-pro-mcp-server

# Or install with pip
pip install vmware-workstation-pro-mcp-server

Setup Guide

1. Configure the VMware Workstation Pro REST API

First, set up credentials for the VMware Workstation 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

Launch the REST API service:

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 service will be available at http://localhost:8697 by default.

Windows PowerShell Start REST API

VM Network Adapters Management

3. Configure the MCP Server

Add the following configuration to your MCP client setup:

{
  "mcpServers": {
    "vmware-workstation-pro": {
      "command": "uvx",
      "args": ["vmware-workstation-pro-mcp-server"],
      "env": {
        "VMREST_USER": "your-username",
        "VMREST_PASS": "your-password"
      }
    }
  }
}

Available MCP Tools

list_vms

  • Description: List all available virtual machines.
  • Parameters: None
  • Returns: Array of VM objects with their IDs and basic information

get_vm_info

  • Description: Retrieve detailed information about a specific VM.
  • Parameters:
    • vm_id (string) — The ID of the virtual machine
  • Returns: Detailed VM configuration and status information

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"
  • Returns: Operation status

get_vm_power_state

  • Description: Get the current power state of a VM.
  • Parameters:
    • vm_id (string) — The ID of the virtual machine
  • Returns: Current power state of the VM

References

Star History

Star History Chart

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.8.tar.gz (5.6 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.8.tar.gz.

File metadata

File hashes

Hashes for vmware_workstation_pro_mcp_server-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e1fe1465b3ef99de66ab95d30e66503ca18427d57982208e6209b8d041861cf3
MD5 1062aef9c900182b134f05988530e0ba
BLAKE2b-256 2e4bad1d786ef6fb3257367104c4b6fda000f66020fbdd8db000b6b3d02a30c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for vmware_workstation_pro_mcp_server-0.1.8.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.8-py3-none-any.whl.

File metadata

File hashes

Hashes for vmware_workstation_pro_mcp_server-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2083f81cb600ca5d6a4f0276e851220a6633096ea9c0f703bb4e035c51638bf1
MD5 4005305da8d3229fad6972cfc86fc742
BLAKE2b-256 a2a4eead438b27cbfa75019138554538d39df794d31e1432f7de955df96539e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for vmware_workstation_pro_mcp_server-0.1.8-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