ESXi

v1.0.0Cloud Servicesstable

A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual machine management.

esximcpai-integration
Share:
57
Stars
0
Downloads
0
Weekly
0/5

What is ESXi?

ESXi is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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 (Model

Use Cases

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

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedApr 8, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx esxi

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 ESXi

The ESXi MCP Server provides a REST API and MCP interface for managing VMware ESXi and vCenter virtual machine infrastructure through natural language or programmatic commands. It uses the pyVmomi Python library to communicate with vCenter, exposing tools for VM lifecycle management (create, clone, delete, power on/off), performance monitoring (CPU, memory, storage, network), and real-time event streaming via Server-Sent Events. Infrastructure engineers and DevOps teams use it to automate VM provisioning, monitoring, and routine operations without logging into the vSphere web client.

Prerequisites

  • Python 3.8 or later installed
  • Access to a VMware ESXi host or vCenter Server with network connectivity from the machine running this server
  • vCenter administrator credentials (username, password, host address)
  • pip packages: pyvmomi, pyyaml, uvicorn, mcp-core
  • An MCP-compatible client such as Claude Desktop
1

Clone the repository

Clone the esxi-mcp-server repository to the machine that has network access to your vCenter or ESXi host.

git clone https://github.com/bright8192/esxi-mcp-server.git
cd esxi-mcp-server
2

Install Python dependencies

Install the required packages with pip. pyvmomi is the official VMware Python SDK for vSphere API access.

pip install pyvmomi pyyaml uvicorn mcp-core
3

Create the configuration file

Create a config.yaml file in the project root with your vCenter credentials and API key. Set insecure: true if your vCenter uses a self-signed certificate.

vcenter_host: "your-vcenter-ip-or-hostname"
vcenter_user: "[email protected]"
vcenter_password: "your-password"
api_key: "your-chosen-api-key"
insecure: true
log_level: "INFO"
4

Alternatively, configure via environment variables

You can also configure the server entirely through environment variables instead of a config file.

export VCENTER_HOST="your-vcenter-ip"
export VCENTER_USER="[email protected]"
export VCENTER_PASSWORD="your-password"
export MCP_API_KEY="your-api-key"
export VCENTER_INSECURE="true"
5

Start the server

Run the server using the config file. It starts a REST/MCP endpoint that your AI client can connect to.

python server.py -c config.yaml
6

Configure your MCP client

Add the server to your Claude Desktop or other MCP client configuration. The server listens on localhost by default.

{
  "mcpServers": {
    "esxi": {
      "command": "python",
      "args": ["/path/to/esxi-mcp-server/server.py", "-c", "/path/to/esxi-mcp-server/config.yaml"]
    }
  }
}

ESXi Examples

Client configuration

claude_desktop_config.json entry for the ESXi MCP server using a local Python installation and config.yaml.

{
  "mcpServers": {
    "esxi": {
      "command": "python",
      "args": [
        "/Users/you/esxi-mcp-server/server.py",
        "-c",
        "/Users/you/esxi-mcp-server/config.yaml"
      ]
    }
  }
}

Prompts to try

Example prompts for managing VMware infrastructure via the ESXi MCP server.

- "List all virtual machines and their current power state."
- "What is the CPU and memory usage of the vm named 'web-server-01'?"
- "Power on the virtual machine named 'dev-database'."
- "Clone the template 'ubuntu-22-template' to create a new VM called 'test-instance-1'."
- "Show real-time network traffic statistics for all running VMs."
- "Delete the virtual machine 'old-staging-server' after confirming it is powered off."

Troubleshooting ESXi

Connection fails with SSL certificate verification error

Set insecure: true in config.yaml (or VCENTER_INSECURE=true as an env variable) if your vCenter uses a self-signed certificate. Never use this in production without understanding the security implications.

Authentication fails with 'incorrect username or password'

Verify the vcenter_user format — vCenter typically requires the domain suffix (e.g., '[email protected]' not just 'administrator'). Check that the account has at least read-only permissions on the datacenter.

Server starts but API requests return 401 Unauthorized

API requests to the REST endpoint require the Authorization header: 'Bearer your-api-key'. Confirm the api_key value in config.yaml matches the key you are sending in requests.

Frequently Asked Questions about ESXi

What is ESXi?

ESXi is a Model Context Protocol (MCP) server that 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 ESXi?

Follow the installation instructions on the ESXi GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with ESXi?

ESXi works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is ESXi free to use?

Yes, ESXi is open source and available under the MIT 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": { "esxi": { "command": "npx", "args": ["-y", "esxi"] } } }

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

Read the full setup guide →

Ready to use ESXi?

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