A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual machine management. - Support for ESXi and vCenter Server connections - Real-time communication based on SSE (Server-Sent Events) - RESTful API interface with JSON-RPC support - API key authentication - Complete virtual machine lifecycle management - Real-time performance
Add this skill
npx mdskills install bright8192/esxi-mcp-serverComprehensive VMware management server with clear setup, authentication, and full VM lifecycle control
A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual machine management.
pip install pyvmomi pyyaml uvicorn mcp-core
config.yaml:vcenter_host: "your-vcenter-ip"
vcenter_user: "administrator@vsphere.local"
vcenter_password: "your-password"
datacenter: "your-datacenter" # Optional
cluster: "your-cluster" # Optional
datastore: "your-datastore" # Optional
network: "VM Network" # Optional
insecure: true # Skip SSL certificate verification
api_key: "your-api-key" # API access key
log_file: "./logs/vmware_mcp.log" # Log file path
log_level: "INFO" # Log level
python server.py -c config.yaml
All privileged operations require authentication first:
POST /sse/messages
Authorization: Bearer your-api-key
{
"name": "vm-name",
"cpu": 2,
"memory": 4096,
"datastore": "datastore-name",
"network": "network-name"
}
{
"template_name": "source-vm",
"new_name": "new-vm-name"
}
{
"name": "vm-name"
}
{
"name": "vm-name"
}
Get VM performance data:
GET vmstats://{vm_name}
| Parameter | Description | Required | Default |
|---|---|---|---|
| vcenter_host | vCenter/ESXi server address | Yes | - |
| vcenter_user | Login username | Yes | - |
| vcenter_password | Login password | Yes | - |
| datacenter | Datacenter name | No | Auto-select first |
| cluster | Cluster name | No | Auto-select first |
| datastore | Storage name | No | Auto-select largest available |
| network | Network name | No | VM Network |
| insecure | Skip SSL verification | No | false |
| api_key | API access key | No | - |
| log_file | Log file path | No | Console output |
| log_level | Log level | No | INFO |
All configuration items support environment variable settings, following these naming rules:
Production Environment:
Testing Environment:
MIT License
Issues and Pull Requests are welcome!
Bright8192
Install via CLI
npx mdskills install bright8192/esxi-mcp-serverESXi MCP Server is a free, open-source AI agent skill. A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual machine management. - Support for ESXi and vCenter Server connections - Real-time communication based on SSE (Server-Sent Events) - RESTful API interface with JSON-RPC support - API key authentication - Complete virtual machine lifecycle management - Real-time performance
Install ESXi MCP Server with a single command:
npx mdskills install bright8192/esxi-mcp-serverThis downloads the skill files into your project and your AI agent picks them up automatically.
ESXi MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.