ESXi MCP Server logo

ESXi MCP Server

by Bright8192

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

View on GitHub

Last updated: N/A

What is ESXi MCP Server?

ESXi MCP Server is a management server built on the Model Control Protocol (MCP) designed to interact with VMware ESXi and vCenter Server. It offers a RESTful API for managing virtual machines.

How to use ESXi MCP Server?

To use the server, install the required Python dependencies, configure the config.yaml file with your vCenter/ESXi credentials and settings, and then run the server.py script. API access requires authentication using an API key.

Key features of ESXi MCP Server

  • ESXi and vCenter Server support

  • Real-time communication with SSE

  • RESTful API with JSON-RPC support

  • API key authentication

  • Complete virtual machine lifecycle management

  • Real-time performance monitoring

  • SSL/TLS secure connection support

  • Flexible configuration options

Use cases of ESXi MCP Server

  • Automated virtual machine provisioning

  • Centralized management of ESXi and vCenter environments

  • Real-time monitoring of virtual machine performance

  • Integration with other systems via REST API

FAQ from ESXi MCP Server

What is the purpose of the API key?

The API key is used for authentication and authorization, ensuring that only authorized users can access and manage virtual machines.

How do I configure the server to use SSL/TLS?

Ensure you have valid SSL certificates configured in your vCenter/ESXi environment. The server will attempt to use SSL by default unless insecure: true is set in the configuration.

What performance metrics are available?

The server provides real-time performance monitoring for CPU usage, memory usage, storage usage, and network traffic statistics.

Can I use environment variables instead of a configuration file?

Yes, all configuration items support environment variable settings. See the README for naming conventions.

What is the 'insecure' option in the configuration?

The 'insecure' option allows you to skip SSL certificate verification, which is useful in testing environments but not recommended for production.