Go-based MCP Server for interfacing with Nutanix Prism Central resources.
Unleash the power of Large Language Models (LLMs) within your Nutanix infrastructure using this innovative Model Context Protocol (MCP) server. This project provides a standardized interface for LLMs to seamlessly access and interact with your Nutanix Prism Central environment, opening doors to intelligent automation and insightful data analysis.
This experimental project demonstrates the potential of the Model Context Protocol (MCP) in bridging the gap between LLMs and the Nutanix ecosystem. By leveraging the Prism Central APIs, this MCP server enables LLMs to:
This implementation utilizes the robust Prism Go Client for secure communication with Prism Central and the versatile MCP Go library to adhere to the Model Context Protocol.
The MCP server acts as an intermediary, translating LLM requests into Prism Central API calls and formatting the responses for easy consumption by the LLM.
internal/client
: Encapsulates the Prism Central API client, handling authentication and request execution.pkg/resources
: Contains resource-specific handlers responsible for fetching and formatting data for VMs, clusters, hosts, etc.pkg/prompts
: Defines the prompts used by the MCP server to guide LLM interactions.Prerequisites: Ensure you have Go 1.23+ installed and access to a Nutanix Prism Central instance.
Build:
git clone https://github.com/thunderboltsid/mcp-nutanix.git cd mcp-nutanix make build
Run: Execute the compiled binary and provide your Prism Central credentials when prompted.
./bin/mcp-nutanix
Once the server is running, LLMs can interact with it using the MCP protocol.
vms
, clusters
, hosts
, images
, and subnets
to retrieve a JSON list of available resources.vm://{uuid}
, cluster://{uuid}
, and host://{uuid}
to obtain detailed JSON information.pkg/resources
directory to expose additional Nutanix resources to LLMs.Utilize the make generate
command to automatically update resource and tool handlers after making changes to the code generation templates.
This project is an experimental exploration and is not intended for production use. It is provided "as-is" without any warranties or guarantees. Use at your own risk.
๐ A gateway demo for MCP SSE Server.
๐ โ๏ธ A lightweight mcp server that tells you exactly what time is it.
#๏ธโฃ ๐ A C# SDK for building MCP servers on .NET 9 with NativeAOT compatibility โก ๐
โ Java SDK for building MCP servers using Quarkus.