Provides comprehensive management of VMware vSphere infrastructure, including VM operations (power control, resource modification, deletion), snapshot management, template management, performance monitoring, storage and network configuration, and bulk operations across virtual machines and ESXi hosts.
vSphere MCP Server
A comprehensive Model Context Protocol (MCP) server for VMware vSphere management, providing AI agents with full access to virtual infrastructure operations through a secure, Dockerized environment.
Features
Core VM Management
List VMs - Get all virtual machines with power states
VM Details - Detailed information about specific VMs
Power Operations - Start, stop, restart VMs
Resource Monitoring - CPU, RAM, and network utilization
Storage Information - Disk usage and datastore details
Advanced Operations
Snapshot Management - Create, list, and delete VM snapshots
Template Management - List and manage VM templates
Bulk Operations - Power operations on multiple VMs
Resource Modification - Change CPU and memory allocation
Network Management - Port groups and network configuration
Monitoring & Reporting
Performance Monitoring - Real-time resource utilization
Event Logging - VM events and system logs
Alarm Management - Active alarms and alerts
Comprehensive Reports - Environment-wide analytics
Resource Utilization - CPU, memory, and storage summaries
Safety Features
Confirmation System - All destructive operations require explicit confirmation
Error Handling - Comprehensive error messages and troubleshooting
Secure Authentication - Environment-based credential management
Audit Trail - Clear logging of all operations
Installation
Prerequisites
Docker and Docker Compose
VMware vCenter Server with REST API access
Valid vCenter credentials
Quick Start
Clone repo
Configure Environment
Deploy with Docker
Configuration
Environment Variables
Create a .env file with the following variables:
AnythingLLM Integration
Add the following configuration to your anythingllm_mcp_servers.json:
Available Tools
VM Management
Tool | Description | Parameters |
| List all virtual machines |
|
| Get detailed VM information |
|
| Power on a virtual machine |
|
| Power off a virtual machine |
|
| Restart a virtual machine |
|
Infrastructure Management
Tool | Description | Parameters |
| List all ESXi hosts |
|
| List all datastores |
|
| List all networks |
|
| List all datacenters |
|
Monitoring & Performance
Tool | Description | Parameters |
| Get VM performance metrics |
|
| Get host performance metrics |
|
| Get VM disk utilization |
|
| Get datastore utilization |
|
| Find VMs with high resource allocation |
|
Snapshot Management
Tool | Description | Parameters |
| List VM snapshots |
|
| Create VM snapshot |
|
| Delete VM snapshot |
|
Template Management
Tool | Description | Parameters |
| List VM templates |
|
Advanced Monitoring
Tool | Description | Parameters |
| Get VM events |
|
| Get active alarms |
|
| Get network port groups |
|
Reporting & Analytics
Tool | Description | Parameters |
| Generate comprehensive VM report |
|
| Get resource utilization summary |
|
Automation
Tool | Description | Parameters |
| Bulk power operations |
|
| Bulk delete VMs |
|
Destructive Operations (Require Confirmation)
Tool | Description | Parameters |
| Delete virtual machine |
|
| Modify VM resources |
|
| Force power off VM |
|
Destructive operations require explicit confirmation by setting
Security Features
Confirmation System
All destructive operations require explicit confirmation:
Environment-Based Authentication
Credentials stored in environment variables
No hardcoded passwords
Secure Docker deployment
SSL/TLS support with configurable verification