Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-nutanix

MCP.Pizza Chef: thunderboltsid

The mcp-nutanix is an experimental MCP server that enables Large Language Models to connect and interact with Nutanix Prism Central APIs. It allows listing and retrieving details of Nutanix resources such as VMs, clusters, and hosts through secure API calls. This server is built in Go using the Prism Go Client and is intended for exploration and development, not production use. It facilitates real-time, structured access to Nutanix infrastructure data for AI-driven workflows.

Use This MCP server To

Connect LLMs to Nutanix Prism Central for resource management List virtual machines, clusters, and hosts via LLM queries Retrieve detailed Nutanix resource information by URI Integrate Nutanix infrastructure data into AI workflows Enable automated Nutanix environment monitoring with LLMs

README

MCP Nutanix

A Model Context Protocol (MCP) server for interacting with Nutanix Prism Central APIs through Large Language Models (LLMs).

⚠️ Disclaimer

THIS IS AN EXPERIMENTAL PROJECT

This project was created as a personal project to explore the capabilities of the Model Context Protocol frameworks in Go. It is:

  • NOT an official Nutanix product or tool
  • NOT supported, endorsed, or maintained by Nutanix
  • NOT suitable for production environments
  • PROVIDED AS-IS with no warranties or guarantees

USE AT YOUR OWN RISK: The author takes no responsibility for any issues, damages, or outages that may result from using this code.

Overview

This MCP server allows LLMs to interact with Nutanix Prism Central by:

  1. Connecting to a Prism Central instance with user credentials
  2. Listing various resources (VMs, Clusters, Hosts, etc.)
  3. Retrieving specific resource details via URI-based access

The implementation uses the Prism Go Client to communicate with Prism Central and the MCP Go library to implement the Model Context Protocol.

Getting Started

Prerequisites

  • Go 1.23 or higher
  • Access to a Nutanix Prism Central instance
  • Tools like make and go fmt for building

Building

# Clone the repository
git clone https://github.com/thunderboltsid/mcp-nutanix.git
cd mcp-nutanix

# Build the MCP server
make build

Running

./bin/mcp-nutanix

The server will start and prompt for Prism Central credentials.

Usage

Once the MCP server is running and connected to your Prism Central instance, LLMs can interact with it through the MCP protocol.

Resource Listing

To list resources, use the appropriate tool:

vms
clusters
hosts
images
subnets

The LLM will receive a JSON list of resources that it can parse and analyze.

Resource Access

To access a specific resource, use a resource URI:

vm://{uuid}
cluster://{uuid}
host://{uuid}

The LLM will receive detailed JSON information about the specific resource.

Development

Project Structure

mcp-nutanix/
├── bin/                  # Compiled binaries
├── internal/             # Internal packages
│   ├── client/           # Prism Central client handling
│   ├── codegen/          # Code generation utilities
│   └── json/             # JSON helpers
├── pkg/                  # components
│   ├── prompts/          # MCP prompt implementations
│   ├── resources/        # Resource handlers
│   └── tools/            # Tool handlers
└── Makefile              # Build and utility commands

Code Generation

The project uses code generation to create resource and tool handlers. To update these:

make generate

Limitations

  • Response size is limited by the MCP protocol
  • Some resources with large response sizes may cause errors
  • No pagination support in the current implementation
  • Only supports read operations, no create/update/delete

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Contributing

This is an experimental project with no formal contribution process. Feel free to create issues or pull requests.

mcp-nutanix FAQ

How do I connect the mcp-nutanix server to my Nutanix Prism Central instance?
You connect by providing user credentials and the Prism Central endpoint URL to the server configuration, enabling authenticated API access.
Is mcp-nutanix suitable for production environments?
No, mcp-nutanix is an experimental project provided as-is without warranties and is not recommended for production use.
What programming language is mcp-nutanix implemented in?
It is implemented in Go, leveraging the Prism Go Client for API interactions.
Can mcp-nutanix retrieve all types of Nutanix resources?
It supports listing and retrieving common resources like VMs, clusters, and hosts, but may not cover all resource types.
Does mcp-nutanix support multiple LLM providers?
Yes, it is designed to work with any LLM that supports the Model Context Protocol, including OpenAI, Anthropic Claude, and Google Gemini.
How secure is the connection between mcp-nutanix and Prism Central?
Security depends on the credentials and network setup; the server uses authenticated API calls but does not add extra encryption layers.
Where can I find the source code for mcp-nutanix?
The source code is available on GitHub under the mcp-nutanix repository for review and experimentation.
Can I extend mcp-nutanix to support additional Nutanix APIs?
Yes, since it is open source, you can modify and extend it to support more APIs or custom workflows.