VMware ESXi/vCenter Management
๐ โ๏ธ - A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual machine management.
What is VMware ESXi/vCenter Management?
VMware ESXi/vCenter Management is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐ โ๏ธ - a vmware esxi/vcenter management server based on mcp (model control protocol), providing simple rest api interfaces for virtual machine management.
๐ โ๏ธ - A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual machine management.
This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- ๐ โ๏ธ - A VMware ESXi/vCenter management server based on MCP
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx a-vmware-esxi-vcenter-management-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use VMware ESXi/vCenter Management
The VMware ESXi/vCenter MCP Server is a Python-based server that exposes virtual machine management operations through the Model Context Protocol via a REST API interface. Using pyVmomi (the official VMware Python SDK), it connects to an ESXi host or vCenter Server and provides tools for creating, cloning, deleting, and powering VMs on and off, as well as monitoring CPU, memory, storage, and network performance metrics. It enables AI assistants to manage VMware virtualization infrastructure through natural language commands.
Prerequisites
- Python 3.8 or higher with pip installed
- Access to a VMware ESXi host or vCenter Server (hostname/IP, username, password)
- Network connectivity from the machine running the server to the ESXi/vCenter host
- An MCP-compatible client such as Claude Desktop
- An API key string of your choice for securing MCP server access (set as MCP_API_KEY)
Clone the repository
Clone the ESXi MCP server repository to your local machine.
git clone https://github.com/bright8192/esxi-mcp-server
cd esxi-mcp-serverInstall Python dependencies
Install the required Python packages: pyVmomi for VMware API access, pyyaml for config parsing, uvicorn as the ASGI server, and mcp-core for the MCP protocol.
pip install pyvmomi pyyaml uvicorn mcp-coreCreate the configuration file
Create a config.yaml file with your vCenter/ESXi connection details and datacenter topology. Set insecure: true if your ESXi host uses a self-signed certificate.
# config.yaml
vcenter_host: "your-esxi-or-vcenter-hostname"
vcenter_user: "[email protected]"
vcenter_password: "your-password"
datacenter: "Datacenter"
cluster: "Cluster"
datastore: "datastore1"
network: "VM Network"
insecure: true
api_key: "your-mcp-api-key"
log_level: "INFO"Set environment variables (alternative to config file)
You can use environment variables instead of or in addition to the config file for sensitive values like credentials.
export VCENTER_HOST="your-esxi-host"
export VCENTER_USER="[email protected]"
export VCENTER_PASSWORD="your-password"
export MCP_API_KEY="your-mcp-api-key"Start the MCP server
Launch the server pointing at your config file. The server runs as an HTTP/REST service that your MCP client connects to.
python server.py -c config.yamlConfigure your MCP client
Add the server to your claude_desktop_config.json, pointing to the running server address. The server uses API key authentication passed via the Authorization header.
{
"mcpServers": {
"esxi": {
"command": "python",
"args": ["/path/to/esxi-mcp-server/server.py", "-c", "/path/to/config.yaml"]
}
}
}VMware ESXi/vCenter Management Examples
Client configuration
Configuration for claude_desktop_config.json to launch the server as a subprocess
{
"mcpServers": {
"esxi": {
"command": "python",
"args": ["/Users/yourname/esxi-mcp-server/server.py", "-c", "/Users/yourname/esxi-mcp-server/config.yaml"],
"env": {
"VCENTER_HOST": "192.168.1.100",
"VCENTER_USER": "[email protected]",
"VCENTER_PASSWORD": "your-password",
"MCP_API_KEY": "your-mcp-api-key"
}
}
}
}Prompts to try
Natural language prompts for managing VMware infrastructure
- "List all virtual machines on the ESXi host and show their power state and resource usage"
- "Create a new VM named 'web-server-01' with 2 vCPUs, 4GB RAM on datastore1"
- "Clone the template 'ubuntu-22-04-template' to a new VM called 'app-server-02'"
- "Power off the VM named 'test-server' and then delete it"
- "Show me the CPU and memory utilization for all running VMs over the last hour"
- "What is the current disk usage on datastore1?"Troubleshooting VMware ESXi/vCenter Management
SSL certificate verification errors when connecting to ESXi
Set 'insecure: true' in your config.yaml (or VCENTER_INSECURE=true as an environment variable) to disable SSL certificate verification for self-signed certificates, which is common on standalone ESXi hosts.
Authentication fails with 'vim.fault.InvalidLogin'
Verify the VCENTER_USER format โ for vCenter it is typically '[email protected]' or 'domain\user', while for standalone ESXi it is usually just 'root'. Check that the password does not contain special characters that need escaping in YAML.
VM creation fails with 'datastore not found' or 'network not found'
The datastore and network values in config.yaml must match the exact names as they appear in the vSphere inventory. Log in to the vSphere Client and verify the exact datastore and network names, including case.
Frequently Asked Questions about VMware ESXi/vCenter Management
What is VMware ESXi/vCenter Management?
VMware ESXi/vCenter Management is a Model Context Protocol (MCP) server that ๐ โ๏ธ - a vmware esxi/vcenter management server based on mcp (model control protocol), providing simple rest api interfaces for virtual machine management. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install VMware ESXi/vCenter Management?
Follow the installation instructions on the VMware ESXi/vCenter Management GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with VMware ESXi/vCenter Management?
VMware ESXi/vCenter Management works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is VMware ESXi/vCenter Management free to use?
Yes, VMware ESXi/vCenter Management is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
VMware ESXi/vCenter Management Alternatives โ Similar Cloud Services Servers
Looking for alternatives to VMware ESXi/vCenter Management? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
โ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
โ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
โ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
โ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
โ 26.7kๆฌ้กน็ฎไธบxiaozhi-esp32ๆไพๅ็ซฏๆๅก๏ผๅธฎๅฉๆจๅฟซ้ๆญๅปบESP32่ฎพๅคๆงๅถๆๅกๅจใBackend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
โ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up VMware ESXi/vCenter Management in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use VMware ESXi/vCenter Management?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.