vsphere-mcp-server

v0.2.0
vsphere-mcp-server Checked 19 hours ago Published 1 month ago

MCP 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)

ParameterTypeDescription
hostname *string

list_vms

List all virtual machines with basic information. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)

ParameterTypeDescription
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

ParameterTypeDescription
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

ParameterTypeDescription
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

ParameterTypeDescription
hostname *string
vm_id *string

list_hosts

List all ESXi hosts. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)

ParameterTypeDescription
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

ParameterTypeDescription
host_id *string
hostname *string

list_datacenters

List all datacenters. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)

ParameterTypeDescription
hostname *string

get_datacenter_details

Get detailed information about a datacenter. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) datacenter_id: Datacenter ID

ParameterTypeDescription
datacenter_id *string
hostname *string

list_datastores

List all datastores with capacity information. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)

ParameterTypeDescription
hostname *string

get_datastore_details

Get detailed information about a datastore. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) datastore_id: Datastore ID

ParameterTypeDescription
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)

ParameterTypeDescription
hostname *string
folder_typestring

get_folder_details

Get detailed information about a folder. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) folder_id: Folder ID

ParameterTypeDescription
folder_id *string
hostname *string

list_networks

List all networks with VLAN information. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)

ParameterTypeDescription
hostname *string

get_network_details

Get detailed information about a network. Args: hostname: vSphere hostname (e.g., vcenter.domain.local) network_id: Network ID

ParameterTypeDescription
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)

ParameterTypeDescription
hostname *string
vlan_query *string

list_vlans

Extract and list VLAN information from network names. Args: hostname: vSphere hostname (e.g., vcenter.domain.local)

ParameterTypeDescription
hostname *string