Purpose: esxi-mcp-server is a VMware ESXi/vCenter management server based on MCP (Model Control Protocol). It manages virtual machines through a simple REST API interface, making it suitable for scenarios that require automated operations and maintenance of virtualized environments via an interface.
Main capabilities: Supports connecting to ESXi and vCenter Server; provides virtual machine lifecycle management, including creation, cloning, deletion, power on/off, and listing all virtual machines; provides real-time performance monitoring, covering CPU usage, memory usage, storage usage, and network traffic statistics; implements real-time communication based on SSE (Server-Sent Events); provides RESTful API interfaces and supports JSON-RPC; supports API key authentication; supports SSL/TLS secure connections; offers flexible configuration methods, supporting YAML, JSON, and environment variables.
Usage: After installing dependencies, create the configuration file config.yaml, then run the server. All privileged operations require authentication first. All configuration items support environment variables, with naming rules such as VCENTER_PASSWORD, VCENTER_DATACENTER, VCENTER_CLUSTER, VCENTER_DATASTORE, VCENTER_NETWORK, and VCENTER_INSECURE. The main tool interfaces include power operation and resource monitoring interfaces, which can obtain virtual machine performance data.
Security recommendations: In production environments, use valid SSL certificates, enable API key authentication, set an appropriate log level, and limit the scope of API access; in test environments, you can set insecure: true to skip SSL verification and use a more detailed DEBUG log level.
Limitations: The materials do not provide specific installation commands, dependency lists, interface parameter details, supported ESXi/vCenter versions, license, or pricing information. These contents are not currently provided.