vsphere-mcp
vsphere-mcp
用于 VMware vSphere / vCenter 操作的 MCP (Model Context Protocol) 服务器。
通过 Claude Code 使用自然语言操作您的 vSphere 基础设施。
注意:所有开发和测试均针对 vcsim (vCenter Server Simulator) 进行。无需商业 vSphere 环境,也不会对其产生影响。
功能
list_vms - 列出所有虚拟机(可按主机/集群筛选)
get_vm_info - 获取详细的虚拟机信息(CPU、内存、磁盘、网卡、存储)
list_hosts - 列出所有 ESXi 主机(可按集群筛选)
更多工具即将推出(电源操作、快照、vMotion 等)
Related MCP server: vsphere-mcp-server
快速入门
1. 启动 vcsim
docker compose up -d2. 安装
uv pip install -e .3. 在 Claude Code 中注册
claude mcp add --transport stdio vsphere-mcp \
--env VSPHERE_HOST=localhost \
--env VSPHERE_PORT=8989 \
--env VSPHERE_USER=user \
--env VSPHERE_PASSWORD=pass \
--env VSPHERE_IGNORE_SSL=true \
-- uv run vsphere-mcp环境变量
变量 | 默认值 | 描述 |
|
| vCenter/ESXi 主机名 |
|
| API 端口 |
|
| 用户名 |
| (空) | 密码 |
|
| 跳过 SSL 证书验证 |
开发
运行测试(需要运行 vcsim)
docker compose up -d
uv run pytest -v代码检查 (Lint)
uv run ruff check src/ tests/许可证
Apache License 2.0
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
- mttrlyOAuthcom.mttrly
AI-powered incident management and server monitoring via MCP.
- mcpOAuthcom.gibsonai
GibsonAI MCP server: manage your databases with natural language
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA comprehensive MCP server for VMware vSphere management, enabling AI agents to perform VM operations, monitoring, snapshots, and reporting through a secure, Dockerized environment.23-
- AlicenseAqualityBmaintenanceMCP server for VMware vSphere infrastructure management, enabling VM operations, monitoring, and network discovery.1729 PyPI2MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides AI agents with comprehensive access to VMware vSphere operations, including VM management, monitoring, and vSAN read-only monitoring, through a secure Docker environment.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents direct access to VMware vSphere infrastructure, enabling VM lifecycle management, snapshots, datastore operations, networking, and more via 55 typed tools built on govc.35 npmMIT