Cover image
Try Now
2025-04-14

MCP Server for Nutanix

3 years

Works with Finder

1

Github Watches

1

Github Forks

5

Github Stars

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.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • albert tan
  • Japanese education, creating tailored learning experiences.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • GeyserMC
  • A library for communication with a Minecraft client/server.

  • awslabs
  • AWS MCP Servers — specialized MCP servers that bring AWS best practices directly to your development workflow

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • modelcontextprotocol
  • Model Context Protocol Servers

  • 1Panel-dev
  • 💬 MaxKB is an open-source AI assistant for enterprise. It seamlessly integrates RAG pipelines, supports robust workflows, and provides MCP tool-use capabilities.

    Reviews

    3 (1)
    Avatar
    user_idQFYOFf
    2025-04-17

    As a dedicated user of the mcp-nutanix application, I am thoroughly impressed with its seamless integration and robust features. The application, crafted by the talented developer thunderboltsid, offers an intuitive user experience and has significantly improved my workflow efficiency. Its detailed documentation and active support community make it an invaluable tool for anyone working with Nutanix infrastructure. I highly recommend checking it out!