Skip to main content
Glama
pixellover1433

VMware MCP Server

VMware MCP Server

MCP server for managing VMware Workstation virtual machines via the vmrest.exe REST API. Exposes VM lifecycle and snapshot operations as MCP tools that can be consumed by any MCP-compatible AI assistant.

Prerequisites

  • Python >= 3.11

  • VMware Workstation Pro 17+ with the REST API service enabled (vmrest.exe running on port 8697 by default)

  • uv (recommended) or pip

Related MCP server: VMware-AIops

Quick Start

# Clone / open the project directory
cd VMwareMCP

# Create a virtual environment and install
uv venv
uv pip install -e .

# Configure the vmrest host (use your Windows credentials)
export VMREST_HOST=localhost
export VMREST_USERNAME=your_username
export VMREST_PASSWORD=your_password

# Run the server
uv run vmware-mcp

Environment Variables

Variable

Required

Default

Description

VMREST_HOST

Yes

Hostname or IP address of the vmrest host

VMREST_PORT

No

8697

vmrest API port

VMREST_USERNAME

Yes

Windows username (Basic Auth)

VMREST_PASSWORD

Yes

Windows password (Basic Auth)

VMREST_VERIFY_SSL

No

false

Verify self-signed certificate

Example

# Using a .env file (copy .env.example to .env)
VMREST_HOST=localhost
VMREST_PORT=8697
VMREST_USERNAME=Admin
VMREST_PASSWORD=secret

Transport

The server defaults to streamable-http on port 51001.

  • Server URL: http://localhost:51001/mcp

  • Override with --transport stdio for stdio mode

MCP Client Configuration

streamable-http (default)

{
  "mcpServers": {
    "vmware": {
      "url": "http://localhost:51001/mcp"
    }
  }
}

stdio

{
  "mcpServers": {
    "vmware": {
      "command": "uv",
      "args": ["run", "vmware-mcp", "--transport", "stdio"]
    }
  }
}

Project Structure

VMwareMCP/
├── src/vmware_mcp/
│   ├── server.py            # FastMCP server entry point
│   ├── vmrest_client.py     # HTTP client for vmrest host
│   ├── models.py            # Pydantic data models
│   ├── config.py            # Environment-based configuration
│   └── modules/
│       ├── vm.py            # VM list and detail tools
│       ├── power.py         # Power state query and control tools
│       └── snapshot.py      # Snapshot tools (placeholder)
├── pyproject.toml
└── README.md

License

MIT

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pixellover1433/VMwareMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server