VMware ESXi/vCenter Management

v1.0.0โ€ขCloud Servicesโ€ขstable

๐Ÿ โ˜๏ธ - 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-servermcpai-integration
Share:
57
Stars
0
Downloads
0
Weekly
0/5

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

Manage virtual machines on ESXi/vCenter via REST API.
Perform VM operations through AI commands.
Monitor infrastructure automatically.
bright8192

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedApr 8, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx a-vmware-esxi-vcenter-management-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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-server
2

Install 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-core
3

Create 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"
4

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"
5

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.yaml
6

Configure 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.

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.

Quick Config Preview

{ "mcpServers": { "a-vmware-esxi-vcenter-management-server": { "command": "npx", "args": ["-y", "a-vmware-esxi-vcenter-management-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides