- Home
- MCP servers
- VMware Fusion
VMware Fusion
- python
9
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"yeahdongcn-vmware-fusion-mcp-server": {
"command": "uvx",
"args": [
"vmware-fusion-mcp-server"
],
"env": {
"VMREST_PASS": "YOUR_PASSWORD",
"VMREST_USER": "YOUR_USERNAME"
}
}
}
}You run an MCP server that exposes VMware Fusion VM management as MCP tools, letting you list VMs, fetch details, perform power actions, and check power states from any MCP-enabled client or AI assistant.
How to use
You connect an MCP client to the VMware Fusion MCP Server to access VM management capabilities. Use the available MCP tools to list all registered VMs, retrieve detailed information on a specific VM, perform power actions such as turning a VM on or off, and query the current power state of a VM. Tools are designed to be used from your preferred MCP-enabled environment or AI agent, enabling automation and scripted workflows without diving into REST API calls.
How to install
Prerequisites: ensure you have a VMware Fusion Pro installation with REST API enabled, Python 3.10 or newer, and either uv or pip installed. If you plan to integrate with IDEs or agents, you can also use uvx.
How to install
# Step 1: Clone the project
git clone https://github.com/yeahdongcn/vmware-fusion-mcp-server.git
cd vmware-fusion-mcp-server
# Step 2: Create and activate the environment, then install dependencies
make env
# Step 3: Ensure VMware Fusion REST API is enabled and running (details below)
How to install
Step 4: Run the MCP server with credentials for the VMware Fusion REST API. The following commands show two common options.
How to install
# Run with explicit environment variables
VMREST_USER=your-username VMREST_PASS=your-password make run
# Or run with uvx for VS Code/LLM integration
VMREST_USER=your-username VMREST_PASS=your-password uvx vmware-fusion-mcp-server
Other setup notes
VMware Fusion REST API defaults to http://localhost:8697 when REST API is enabled. You must configure authentication for the API using the following environment variables.
Configuration and usage details
Configure authentication for the vmrest API using these environment variables. They are required if authentication is enabled.
Configuration and usage details
{
"mcpServers": {
"vmware-fusion": {
"command": "uvx",
"args": ["vmware-fusion-mcp-server"],
"env": {
"VMREST_USER": "your-username",
"VMREST_PASS": "your-password"
}
}
}
}
Security notes
Keep your VMREST_USER and VMREST_PASS credentials secure. Do not commit them to version control or share them in unsecured channels. Rotate credentials regularly and use scoped access where possible.
MCP Tools
This section lists the available tools exposed by the VMware Fusion MCP Server. Use these tools in MCP clients to interact with VMware Fusion VMs.
Tools overview
- list_vms: List all VMs in VMware Fusion. No parameters. - get_vm_info: Get detailed information about a specific VM. Parameters: vm_id (string). - power_vm: Perform a power action on a VM. Parameters: vm_id (string), action (string) with values: on, off, suspend, pause, unpause, reset. - get_vm_power_state: Get the power state of a specific VM. Parameters: vm_id (string).
Available tools
list_vms
List all VMs registered in VMware Fusion.
get_vm_info
Get detailed information about a specific VM.
power_vm
Perform a power action on a VM. Actions include on, off, suspend, pause, unpause, reset.
get_vm_power_state
Get the power state of a specific VM.