vsphere-mcp-server
v0.2.0MCP server for VMware vSphere infrastructure management
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vsphere_clear_credentials
Clear stored vSphere credentials for a domain. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)
| Parameter | Type | Description |
|---|---|---|
hostname * | string |
list_vms
List all virtual machines with basic information. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)
| Parameter | Type | Description |
|---|---|---|
hostname * | string |
get_vm_details
Get detailed information about a specific virtual machine. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) vm_id: Virtual machine ID or name
| Parameter | Type | Description |
|---|---|---|
hostname * | string | |
vm_id * | string |
power_on_vm
Power on a virtual machine. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) vm_id: Virtual machine ID
| Parameter | Type | Description |
|---|---|---|
hostname * | string | |
vm_id * | string |
power_off_vm
Power off a virtual machine. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) vm_id: Virtual machine ID
| Parameter | Type | Description |
|---|---|---|
hostname * | string | |
vm_id * | string |
list_hosts
List all ESXi hosts. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)
| Parameter | Type | Description |
|---|---|---|
hostname * | string |
get_host_details
Get detailed information about an ESXi host. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) host_id: ESXi host ID
| Parameter | Type | Description |
|---|---|---|
host_id * | string | |
hostname * | string |
list_datacenters
List all datacenters. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)
| Parameter | Type | Description |
|---|---|---|
hostname * | string |
get_datacenter_details
Get detailed information about a datacenter. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) datacenter_id: Datacenter ID
| Parameter | Type | Description |
|---|---|---|
datacenter_id * | string | |
hostname * | string |
list_datastores
List all datastores with capacity information. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)
| Parameter | Type | Description |
|---|---|---|
hostname * | string |
get_datastore_details
Get detailed information about a datastore. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) datastore_id: Datastore ID
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | |
hostname * | string |
list_folders
List folders by type. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) folder_type: Folder type (VIRTUAL_MACHINE, HOST, DATACENTER, DATASTORE, NETWORK)
| Parameter | Type | Description |
|---|---|---|
hostname * | string | |
folder_type | string |
get_folder_details
Get detailed information about a folder. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) folder_id: Folder ID
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | |
hostname * | string |
list_networks
List all networks with VLAN information. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)
| Parameter | Type | Description |
|---|---|---|
hostname * | string |
get_network_details
Get detailed information about a network. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) network_id: Network ID
| Parameter | Type | Description |
|---|---|---|
hostname * | string | |
network_id * | string |
get_vlan_info
Get information about a VLAN by name or VLAN ID. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) vlan_query: VLAN name (e.g., v1306-MEL03-Secure-Management) or VLAN ID (e.g., 1306)
| Parameter | Type | Description |
|---|---|---|
hostname * | string | |
vlan_query * | string |
list_vlans
Extract and list VLAN information from network names. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)
| Parameter | Type | Description |
|---|---|---|
hostname * | string |