home / mcp / esxi mcp server

ESXi MCP Server

Provides ESXi/vCenter management via MCP with REST API, SSE updates, and VM lifecycle controls.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bright8192-esxi-mcp-server": {
      "command": "python",
      "args": [
        "server.py",
        "-c",
        "config.yaml"
      ],
      "env": {
        "MCP_API_KEY": "YOUR_API_KEY",
        "MCP_LOG_FILE": "./logs/vmware_mcp.log",
        "VCENTER_HOST": "YOUR_VCENTER_HOST",
        "VCENTER_USER": "YOUR_VCENTER_USER",
        "MCP_LOG_LEVEL": "INFO",
        "VCENTER_CLUSTER": "YOUR_CLUSTER",
        "VCENTER_NETWORK": "YOUR_NETWORK",
        "VCENTER_INSECURE": "true",
        "VCENTER_PASSWORD": "YOUR_VCENTER_PASSWORD",
        "VCENTER_DATASTORE": "YOUR_DATASTORE",
        "VCENTER_DATACENTER": "YOUR_DATACENTER"
      }
    }
  }
}

You can manage ESXi and vCenter virtual machines remotely through a dedicated MCP server. It exposes a REST/JSON-RPC interface with API key authentication, real-time event streams, and built-in performance monitoring so you can automate VM lifecycle tasks and observe resource usage from a single control point.

How to use

Authenticate once you have your API key, then perform VM lifecycle actions and monitor performance. You can create, clone, delete, and power on or off VMs, list all VMs, and fetch real-time performance metrics such as CPU, memory, storage, and network usage. Real-time updates come via SSE, so you can react to changes as they happen.

Available tools

Create VM

Provision a new virtual machine with specified resources and placement in datastore/network.

Clone VM

Create a new VM by duplicating an existing template or source VM.

Delete VM

Remove a VM from the inventory.

Power Operations

Power on or power off a VM.

List VMs

Retrieve the list of all managed virtual machines.

Performance Monitoring

Collect CPU, memory, storage, and network statistics for VMs.