Nutanix MCP Server
Generates Excalidraw JSON diagrams for visual topology representation of Nutanix environments as part of as-built reports.
Allows managing Nutanix Prism Central and Prism Element resources including VMs, clusters, hosts, storage, networking, images, categories, alerts, protection domains, and generating as-built reports.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nutanix MCP Serverlist all VMs in cluster Production"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nutanix MCP Server
An MCP (Model Context Protocol) server that exposes Nutanix Prism Central and Prism Element APIs as tools for AI assistants like GitHub Copilot, Claude, and others.
Features
Prism Central (v4 API) — VM management, cluster inventory, host management
Prism Element (v2 API) — Direct cluster access for storage, disks, alerts, protection domains
As-Built Reports — Generate comprehensive Markdown documentation with Excalidraw diagrams at environment, cluster, or VM scope
API version routing — Prefers v4, falls back to v3/v2 when needed
Async — Non-blocking HTTP client using httpx
Available Tools
VM Management (Prism Central v4)
Tool | Description |
| List VMs with OData filtering |
| Get full VM configuration by UUID |
| Power on a VM |
| Power off (ACPI or force) |
| Create a new VM |
Cluster Management (Prism Central v4)
Tool | Description |
| List registered clusters |
| Get cluster details |
| List hypervisor hosts |
| Get host details |
| List storage containers |
Networking & Images (Prism Central v4)
Tool | Description |
| List subnets/VLANs with CIDR, VLAN ID, and cluster |
| Get subnet details including IP pools and DHCP config |
| List disk images (ISOs, QCOW2) in the image library |
| Get image details — size, type, source |
| List category keys and values for resource tagging |
| Get all values for a category key |
Prism Element (v2 — direct cluster access)
Tool | Description |
| Cluster health, version, and capacity |
| VMs on a specific PE cluster |
| Hosts with hardware details |
| Storage containers with replication info |
| Storage pools and disk composition |
| Physical disk inventory and status |
| Active/resolved alerts |
| Data protection policies |
| Snapshots per protection domain |
As-Built Reports
Tool | Description |
| Full environment report — all clusters, hosts, storage, networking, VMs with topology diagram |
| Detailed report for one or more clusters — config, hosts, containers, subnets, VMs with architecture diagram |
| Detailed report for specific VMs — compute, disks, NICs, categories, boot config with layout diagram |
Reports output Markdown documentation and Excalidraw JSON diagrams for visual topology representation.
MCP Resources (URI-based browsing)
The server exposes resources via nutanix:// URIs, allowing LLMs to browse
entities without explicit tool calls:
URI Pattern | Description |
| Browse all VMs |
| Get a specific VM |
| Browse all clusters |
| Get a specific cluster |
| Get a specific host |
| Get a specific subnet |
| Get a specific image |
MCP Prompts
Prompt | Description |
| Interactive credential configuration (for clients without env var support) |
| Guided environment overview — clusters, hosts, storage, alerts |
Setup
Prerequisites
Python 3.10+
Network access to your Prism Central instance (port 9440)
Nutanix credentials with API access
Install
cd mcp/nutanix-mcp-server
pip install -e .Or with dev dependencies:
pip install -e ".[dev]"Configure
Copy .env.example to .env and fill in your credentials:
cp .env.example .envNUTANIX_HOST=your-prism-central.example.com
NUTANIX_PORT=9440
NUTANIX_USERNAME=your-username
NUTANIX_PASSWORD=your-password
NUTANIX_VERIFY_SSL=true
NUTANIX_TIMEOUT=30Run
nutanix-mcpOr directly:
python -m nutanix_mcpMCP Client Configuration
This server uses stdio transport — it communicates via stdin/stdout. Each client configures a command to launch the server process.
Tip: Store credentials in environment variables or a
.envfile, never in config files committed to source control.
Claude Code (CLI)
Add the server to your project with the claude mcp add command:
claude mcp add nutanix -- python -m nutanix_mcpOr manually create/edit .mcp.json in your project root:
{
"mcpServers": {
"nutanix": {
"type": "stdio",
"command": "python",
"args": ["-m", "nutanix_mcp"],
"cwd": "/path/to/mcp/nutanix-mcp-server",
"env": {
"NUTANIX_HOST": "your-prism-central.example.com",
"NUTANIX_USERNAME": "your-username",
"NUTANIX_PASSWORD": "your-password",
"NUTANIX_VERIFY_SSL": "true"
}
}
}
}For user-wide availability (all projects), add to ~/.claude.json instead.
Claude Desktop
Edit the config file at:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"nutanix": {
"type": "stdio",
"command": "python",
"args": ["-m", "nutanix_mcp"],
"cwd": "/path/to/mcp/nutanix-mcp-server",
"env": {
"NUTANIX_HOST": "your-prism-central.example.com",
"NUTANIX_USERNAME": "your-username",
"NUTANIX_PASSWORD": "your-password",
"NUTANIX_VERIFY_SSL": "true"
}
}
}
}Restart Claude Desktop fully after editing.
GitHub Copilot (VS Code)
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"nutanix": {
"type": "stdio",
"command": "python",
"args": ["-m", "nutanix_mcp"],
"cwd": "${workspaceFolder}/mcp/nutanix-mcp-server",
"env": {
"NUTANIX_HOST": "your-prism-central.example.com",
"NUTANIX_USERNAME": "your-username",
"NUTANIX_PASSWORD": "your-password",
"NUTANIX_VERIFY_SSL": "true"
}
}
}
}OpenCode (sst/opencode)
Add to opencode.json (or opencode.jsonc) in your project root:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"nutanix": {
"type": "local",
"command": ["python", "-m", "nutanix_mcp"],
"environment": {
"NUTANIX_HOST": "your-prism-central.example.com",
"NUTANIX_USERNAME": "your-username",
"NUTANIX_PASSWORD": "your-password",
"NUTANIX_VERIFY_SSL": "true"
},
"enabled": true
}
}
}Note: OpenCode uses "command" as an array and "environment" instead of "env".
Docker MCP Gateway
The Docker MCP Gateway can proxy this server inside a container. Two approaches:
Option A: Run directly via Docker
Build a container image and reference it in your MCP client config:
FROM python:3.12-slim
WORKDIR /app
COPY mcp/nutanix-mcp-server/ .
RUN pip install --no-cache-dir -e .
CMD ["python", "-m", "nutanix_mcp"]Then in any MCP client config:
{
"mcpServers": {
"nutanix": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "NUTANIX_HOST=your-prism-central.example.com",
"-e", "NUTANIX_USERNAME=your-username",
"-e", "NUTANIX_PASSWORD=your-password",
"-e", "NUTANIX_VERIFY_SSL=true",
"nutanix-mcp-server"
]
}
}
}Option B: Register with Docker MCP Gateway
If you have Docker Desktop with the MCP Toolkit:
docker mcp gateway runConfigure the gateway profile to include the nutanix server. The gateway then exposes all registered MCP servers as a single unified endpoint.
In your AI client, point to the gateway:
{
"mcpServers": {
"MCP_DOCKER": {
"command": "docker",
"args": ["mcp", "gateway", "run"]
}
}
}The gateway handles routing, lifecycle management, and credential isolation.
API Version Strategy
Version | Endpoint Pattern | Use Case |
v4 (preferred) |
| VMs, clusters, hosts, networking |
v3 (fallback) |
| Resources not yet in v4 |
v2 (PE direct) |
| Per-cluster storage, disks, alerts |
Discovering Prism Element Hosts
Use list_clusters to find cluster UUIDs, then list_hosts to find CVM IPs.
Those CVM IPs can be used as pe_host in the Prism Element tools.
Development
# Lint
ruff check src/
# Type check
mypy src/
# Test
pytestReferences
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jkmills/nutanix-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server