VMware vSphere MCP Server
About
An MCP Server that acts as a standardized interface exposing VMware vCenter functionalities as Tools directly consumable by AI models
Details
- Author
- giuliolibrando
- Categories
- Productivity, Infrastructure
Jump to
Setup
Install VMware vSphere MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/giuliolibrando/vmware-vsphere-mcp-server
Follow the installation instructions in the repository README, then restart your MCP client.
An MCP Server that acts as a standardized interface exposing VMware vCenter functionalities as Tools directly consumable by AI models
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.
- 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
- 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
- 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
- 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
- Docker and Docker Compose
- VMware vCenter Server with REST API access
- Valid vCenter credentials
cp env.example .env # Edit .env with your vCenter credentials
Create a.envfile with the following variables:
# vCenter Connection VCENTER_HOST=vcenter.domain.local VCENTER_USER=username@domain.local VCENTER_PASSWORD=your_password_here INSECURE=True # Server Configuration SERVER_HOST=0.0.0.0 SERVER_PORT=8000
Add the following configuration to youranythingllm_mcp_servers.json:
{ "mcpServers": { "vsphere-mcp-server": { "name": "vSphere MCP Server", "type": "streamable", "url": "http://vsphere-mcp-server:8000/mcp", "auth_token": null, "enabled": true } } }
Destructive Operations (Require Confirmation)
Destructive operations require explicit confirmation by settingconfirm=True
All destructive operations require explicit confirmation:
# First call - shows warning delete_vm(vm_id="MyServer", confirm=False) # Returns: DESTRUCTIVE OPERATION: Delete VM MyServer... # Second call - executes operation delete_vm(vm_id="MyServer", confirm=True) # Returns: VM MyServer deleted successfully
- Credentials stored in environment variables
- No hardcoded passwords
- Secure Docker deployment
- SSL/TLS support with configurable verification
# 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"
# 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"
# 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"
MCP servers for managing homelab infrastructure through Claude Desktop. Monitor Docker/Podman containers, Ollama AI models, Pi-hole DNS, Unifi networks, and Ansible inventory.
Self-hosted MCP governance runtime in Rust — audit trail, policy enforcement, and cost controls for MCP servers.
Manage and interact with Microsoft Azure services.
The IBM Instana MCP server enables seamless interaction with the IBM Instana observability platform, allowing you to access real-time observability data directly within your development workflow.
Query and interact with kubernetes environments monitored by Metoro
Integrates with Alibaba Cloud APIs to manage resources like ECS, Cloud Monitor, and OOS.
Provides a unified interface to AWS services for security investigations and incident response.
Interact with your AWS environment using natural language to query and manage resources. Requires local AWS credentials.
Interact with your AWS environment using natural language. Requires local AWS credentials.
Execute AWS CLI commands through the Model Context Protocol (MCP). Requires AWS credentials configured on the host.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


