Nutanix V4 API MCP Server
OfficialProvides tools for interacting with Nutanix V4 APIs, enabling management of Prism Central infrastructure including VMs, networking, storage, security, and more.
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 V4 API MCP ServerList all VMs in the Prism Central cluster"
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 V4 API MCP Server
Expose Nutanix V4 APIs as tools callable by AI assistants — Claude, Cursor, and any MCP-compatible client.
What is this?
MCP (Model Context Protocol) is an open standard that lets AI assistants call external tools safely and predictably. This server implements MCP over stdio transport, exposing Nutanix V4 APIs as callable tools. The V4 APIs are Nutanix's modern, versioned REST APIs for managing Prism Central — Nutanix's centralised management plane for multi-cluster infrastructure.
Once connected, an AI assistant like Claude or Cursor can discover available Nutanix operations, inspect their schemas and required permissions, and execute them against your Prism Central cluster, all from natural language.
Related MCP server: Nutanix MCP Server
Who should read what
You are... | Start here |
Evaluating whether this covers your use case | Feature Spotlight — all 19 namespace profiles and example interactions |
A developer getting started | Quickstart guide — install, configure, and first tool call |
An IT security reviewer | Authentication and security guide — credentials, permissions, network exposure, security hardening checklist |
Returning after an update | Changelog — what changed and whether configuration needs updating |
Supported API namespaces
The server exposes one <namespace>_execute tool per namespace. Namespaces are fetched from your Prism Central during nutanix-mcp init — only namespaces that your PC version supports will have artifacts downloaded and tools registered at runtime.
Namespace | Executor tool | Coverage |
|
| Analysis, reporting, capacity planning, VM rightsizing, simulations |
|
| Hosts, clusters, bmc, cluster profiles, SSL certificates, storage containers |
|
| Protection policies, Disaster recovery plans and storage policies |
|
| Consistency groups, recovery points, protection and recovery plans actions |
|
| Virtual file servers, shares, storage provisioning, security controls |
|
| Users, roles, identity providers, service accounts (API keys) and access policies |
|
| License management, compliance, and feature entitlements |
|
| Infrastructure, software, and firmware upgrades |
|
| Network security policies, service groups, address groups |
|
| Alerts, alert policies, events, and audits |
|
| Cross-domain services across on-prem, NC2, and edge |
|
| AHV networking, advanced networking configuration like BGP, vSwitch, VPC and subnet management |
|
| Nutanix Object Store service |
|
| Shared platform functionality for aiops, devops, secops, finops |
|
| Tasks, categories, batch operations, domain managers, backup targets, external storages |
|
| Encryption, certificates, platform hardening |
|
| Storage containers, volume groups, and iSCSI client management |
|
| VM lifecycle on Nutanix clusters |
|
| Volume group lifecycle with iSCSI and NVMe-TCP client attachment |
Note: Not all namespaces listed above are available on every Prism Central deployment. Tool availability depends on your PC version and which V4 API namespaces it exposes. Run
nutanix-mcp initwithPC_HOSTconfigured — only namespaces reported by your PC will be fetched and registered as tools.
Prerequisites
Python 3.11 or higher
Git (to clone the repository)
Prism Central access with one of:
Username + password (
PC_USERNAME/PC_PASSWORD)API key (
PC_API_KEYviaX-ntnx-api-keyheader)
Prism Central reporting a V4 API (check:
https://<PC_HOST>:9440/api/prism/unversioned/inforeturns"data": "v4.x")
No Docker required. The server runs as a local Python process over stdio.
Quickstart
git clone https://github.com/nutanix/ntnx-api-mcp-server
cd ntnx-api-mcp-server
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
mv .env.example .env # edit with your PC_HOST and credentials
nutanix-mcp init
nutanix-mcp run --validate-onlyFor a step-by-step walkthrough including client connection and your first tool call: quickstart guide.
Configuration
Settings are read from environment variables, a .env file in the project root, or a config file passed via --config-file. CLI flags take the highest precedence.
Key variables:
PC_HOST— Prism Central IP or FQDN (required for live API execution)PC_USERNAME+PC_PASSWORD— basic auth credentials (use one auth method, not both)PC_API_KEY— API key sent asX-ntnx-api-key(alternative to username/password; takes priority if both are set)PC_INSECURE=false— enforces TLS verification by default; set totrueonly for dev/lab with self-signed certificatesREAD_ONLY_MODE=true— blocks all non-GET operations server-side (default; set tofalseto opt in to write operations)ARTIFACTS_DIR— must be an absolute path when set in AI client config files
For all configuration options, defaults, and validation behavior: configuration reference.
Config file support
Pass --config-file to run or serve-stdio to load settings from a file. Supported formats: .json, .yaml/.yml, .toml.
Commands
nutanix-mcp init
Downloads API YAML artifacts for all discovered (or overridden) namespaces. Uses pc_compatible mode when PC_HOST is set, or latest_release mode from the Nutanix developer portal when it is not.
nutanix-mcp initnutanix-mcp refresh [--force]
Refreshes artifacts with backup/restore safety — existing artifacts are preserved if any namespace download fails.
nutanix-mcp refresh --forcenutanix-mcp run [--validate-only]
Runs startup checks and prints artifact loading state. Use --validate-only to verify config without starting the server.
nutanix-mcp run --validate-onlynutanix-mcp serve-stdio
Starts the MCP stdio server. AI clients (Cursor, Claude Desktop) invoke this automatically via their config file — you do not run it directly. Run it manually only when using MCP Inspector or a custom programmatic client.
nutanix-mcp serve-stdioConnecting to AI clients
The server communicates over stdio. Any MCP-compatible client that supports subprocess-based stdio transport can connect by pointing its config at the nutanix-mcp serve-stdio command with credentials passed as environment variables.
For step-by-step config for Cursor, Claude Desktop, MCP Inspector, and custom Python clients — including exact JSON blocks, absolute path requirements, and verification steps — see the integration guide.
For a first-time walkthrough from install to first tool call: quickstart guide.
Tools reference
Discovery tools
These 4 tools are always registered regardless of which namespace artifacts are present. They query an in-memory index and make no Nutanix API calls.
Tool | Description |
| List available operations, optionally filtered by |
| Get full schema details (parameters, path, method, description) for a specific |
| Get a language-specific code sample for an |
| Get required roles and permissions metadata for a specific |
Namespace execution tools
Each namespace has a corresponding <namespace>_execute tool registered at startup from the downloaded YAML artifacts. Two parameters apply to every call:
Parameter | Type | Description |
| string (required) | The operation id to call |
| object | JSON body for POST / PUT / PATCH payloads — omit for GET / DELETE |
List and search operations additionally accept OData query parameters:
Parameter | Type | Description |
| string | OData |
| integer | Max results to return (1–100) |
| integer | Page offset (0-based) |
| string | OData |
| string | OData |
| string | OData |
Example prompts
Discovery
List all operations in the prism namespaceWhat permissions do I need to run createConsistencyGroup?Show me the schema for listTasks and give me a Python code sampleExecution
List the first 5 tasks in Prism CentralGet the recovery plan job details for job ID <extId>Before creating a consistency group, show me the required roles and request body schema, then ask me to confirm before executingFor a volume group cleanup workflow: find the relevant delete operations, show permissions for each, and only execute after I explicitly confirm each write callLogging
Each server restart creates a new timestamped log file in LOG_DIR (default: ./logs):
logs/nutanix-mcp-20260517-181407-382850.logSet LOG_FORMAT=json for structured JSON output suitable for log aggregation pipelines. For all logging options: configuration reference.
Security notes
At least one auth method is required — the server fails startup if neither
PC_API_KEYnorPC_USERNAME/PC_PASSWORDis set whenPC_HOSTis configured.TLS verification is enforced by default (
PC_INSECURE=false). SetPC_INSECURE=trueonly for dev or lab environments running Prism Central with self-signed certificates.Secrets are never logged —
PC_PASSWORDandPC_API_KEYare stored asSecretStrand masked in all log output.Input validation — all tool call payloads are validated against the operation contract before execution. Unknown fields are rejected with a structured error.
For the full attack surface analysis, role requirements, and security hardening checklist: authentication and security guide.
Author
Nutanix Developer Team
Links
Technical Preview Disclaimer
This repository is an open-source project. Please note the following before using it:
Non-Production Only: This project is in a tech preview state. It is not designed, tested, or supported for production workloads.
Expect Changes: As a preview, breaking changes may occur. We encourage you to experiment, test, and share your feedback in non-production environments!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceEnables Claude and other MCP-compatible AI assistants to manage Nutanix Database Service (NDB) environments through natural language, supporting database operations like provisioning, cloning, backups, and monitoring with customizable instructions and behavior controls.MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to manage Nutanix infrastructure via Prism Central and Prism Element APIs, including VM operations, cluster management, networking, and as-built report generation.28AGPL 3.0
- AlicenseAqualityCmaintenanceMCP server for Nutanix Prism Central v4 REST API, enabling AI agents to list and inspect VMs, control VM power state, list clusters, read alerts, and list subnets.8MIT
- Flicense-qualityCmaintenanceConverts any REST API endpoints into MCP tools, enabling AI clients like Cursor and Claude Desktop to call internal services directly.
Related MCP Connectors
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
MCP Hub: AI service discovery, per-user OAuth, and multi-service workflow orchestration
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/nutanix/ntnx-api-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server