You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Destructive operations require explicit confirmation by setting confirm=True
Security Features
Confirmation System
All destructive operations require explicit confirmation:
# First call - shows warningdelete_vm(vm_id="MyServer", confirm=False)
# Returns: DESTRUCTIVE OPERATION: Delete VM MyServer...# Second call - executes operationdelete_vm(vm_id="MyServer", confirm=True)
# Returns: VM MyServer deleted successfully
Environment-Based Authentication
Credentials stored in environment variables
No hardcoded passwords
Secure Docker deployment
SSL/TLS support with configurable verification
Usage Examples
Basic VM Operations
# List all VMs"Show me all virtual machines"# Get VM details"Get details for VM WebServer01"# Power operations"Power on the VM DatabaseServer""Restart all VMs: WebServer01, WebServer02, WebServer03"
Monitoring and Reporting
# Performance monitoring"Show me CPU and memory usage for all VMs""Which VMs have high resource usage?"# Storage monitoring"Show me datastore usage""Which VMs have disk usage over 90%?"# Comprehensive reporting"Generate a complete report of the vSphere environment""Show me resource utilization summary"
Snapshot Management
# Create snapshots"Create a snapshot of VM WebServer01 before updates"# List snapshots"Show me all snapshots for VM DatabaseServer"# Delete snapshots (requires confirmation)"Delete snapshot 'backup-2024-01-15' from VM WebServer01"
Destructive Operations (with confirmation)
# VM deletion (requires confirmation)"Delete VM TestServer"# Shows warning"Delete VM TestServer with confirmation"# Executes deletion# Resource modification (requires confirmation)"Modify VM WebServer01 to have 8 CPUs and 16GB RAM""Modify VM WebServer01 to have 8 CPUs and 16GB RAM with confirmation"# Bulk operations (requires confirmation)"Delete VMs: OldServer1, OldServer2, OldServer3""Delete VMs: OldServer1, OldServer2, OldServer3 with confirmation"
About
An MCP (Model Context Protocol) Server that acts as a standardized interface exposing VMware vCenter functionalities as Tools directly consumable by AI models (LLMs)