nutanix-dr-mcp-server

gurwinder-nutanix/nutanix-dr-mcp-server

3.1

If you are the rightful owner of nutanix-dr-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This document provides a structured overview of a sample Model Context Protocol (MCP) server implementation that interacts with DR V4 APIs.

Implementation of a Sample MCP Server that understands the DR V4 APIs.

Setup Instructions

Clone this repo:

  • git clone git@github.com:gurwinder-nutanix/nutanix-dr-mcp-server.git

Install the required node modules:

  • npm install

Assumption: Node is already installed on the local setup.

Setup the Agent to point to the MCP Server:

Assumed Environment: Macbook user trying to setup this MCP Server with Claude desktop app (This step will not work for other configurations)

  • Add a new entry to the claude desktop config file, sample path: /Users/gurwinder.singh/Library/Application Support/Claude/claude_desktop_config.json
  • Replace the args with full path to your mcp server.
  • Add the correct environment variables, namely V4_API_KEY (Basic Auth token for the authentication) and PC_IP_ADDRESS (IP Address of the Prism Central).
{
  "mcpServers": {
    "server-name": {
      "command": "node",
      "args": ["/Users/gurwinder.singh/Workspace/playground/llm-projects/dr-demo-mcp-server/dr-mcp-server.js"],
      "env": {
        "V4_API_KEY": "<Basic-Auth-V4-API-Key>",
        "PC_IP_ADDRESS": "xx.xx.xx.xx"
      }
    }
  }
}

Run the server:

  • npm start

We are ready to run the Claude Desktop App which should now understand the DR V4 APIs. Some of the examples are shown below.

Example Prompt 1:

Summarise the recovery points present on the system. Main Screen

Example Prompt 2:

Show me when was the latest recovery point created for each one of these. Make sure the time is in my local timezone. Main Screen

Demo Video of sample interaction with Agent: