vsphere-mcp
vsphere-mcp
VMware vSphere / vCenter操作用のMCP (Model Context Protocol) サーバーです。
Claude Codeから自然言語を使用してvSphereインフラストラクチャを操作できます。
注: すべての開発およびテストは vcsim (vCenter Server Simulator) に対して行われています。商用のvSphere環境は必要なく、影響も受けません。
機能
list_vms - すべての仮想マシンを一覧表示(ホスト/クラスターでフィルタリング可能)
get_vm_info - 詳細なVM情報を取得(CPU、メモリ、ディスク、NIC、ストレージ)
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 -vLint
uv run ruff check src/ tests/ライセンス
Apache License 2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP gateway and cloud hosting for MCP servers, agents and apps like RAG, managed from your agent.
Skills, agents and memory in the cloud, plus a gateway to your other MCP servers.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA comprehensive MCP server for VMware vSphere management, enabling AI agents to perform VM operations, monitoring, snapshots, and reporting through a secure, Dockerized environment.28-
- AlicenseAqualityBmaintenanceMCP server for VMware vSphere infrastructure management, enabling VM operations, monitoring, and network discovery.173MIT
- AlicenseNot gradedqualityDmaintenanceMCP 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
- FlicenseNot 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.-