Logo di MCP Nutanix

MCP Nutanix

Community
thunderboltsid

MCP Server for Nutanix

Pubblicato dathunderboltsid
Repositorymcp-nutanix
LinguaGo
Fork
11
Stelle
13
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    MCP Nutanix mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • Strumenti disponibili: 0

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni se il server li fornisce.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse della comunità open source

    Stelle: 13; fork: 11 (repository collegato).

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

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

# Build the MCP server
make build

Credential Configuration

The server supports two credential methods:

  1. Interactive credentials (default) - Works with Claude via MCP prompts
  2. Static credentials - Required for tools like Cursor that don't support interactive prompts

MCP Client Configuration

To use this server with MCP clients, you need to configure the client to connect to the server.

Claude Desktop/Code

Create or update ~/.anthropic/claude_desktop.json:

json
{
  "mcpServers": {
    "nutanix": {
      "command": "/path/to/mcp-nutanix"
    }
  }
}

Claude will prompt you for credentials when first using the server.

Cursor

For Cursor, you need to provide static credentials via environment variables since it doesn't support interactive prompts.

Create or update ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "nutanix": {
      "command": "/path/to/mcp-nutanix",
      "env": {
        "NUTANIX_ENDPOINT": "your-prism-central-ip-or-hostname",
        "NUTANIX_USERNAME": "your-username", 
        "NUTANIX_PASSWORD": "your-password",
        "NUTANIX_INSECURE": "true"
      }
    }
  }
}

Environment Variables:

  • NUTANIX_ENDPOINT - Prism Central IP or hostname (required)
  • NUTANIX_USERNAME - API username (required)
  • NUTANIX_PASSWORD - API password (required)
  • NUTANIX_INSECURE - Set to "true" for self-signed certificates (optional)

Other MCP Clients

This server follows the standard MCP protocol and should work with any MCP client that supports stdio transport. Refer to your client's documentation for configuration instructions.

Usage

Once the MCP server is configured with your client 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:

bash
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.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

{
  "mcpServers": {
    "thunderboltsid-mcp-nutanix": {
      "command": "",
      "args": []
    }
  }
}

Usa MCP Nutanix MCP con più modelli AI

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso MCP Nutanix, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura connettore.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura connettore e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con l’opzione «Questo dispositivo» selezionata
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi MCP Nutanix come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di MCP Nutanix.
  4. Salva l'elenco dei server.
  5. Se vuoi verificare che il connettore sia ancora pronto, aggiorna la pagina.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "thunderboltsid-mcp-nutanix": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-nutanix"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di MCP Nutanix, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di MCP Nutanix.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare MCP Nutanix per aiutarmi con questa attività?
MCP Nutanix
Certo. L’ho letto.
Ecco cosa ho trovato con MCP Nutanix.

Domande frequenti

A cosa serve il server MCP MCP Nutanix?

MCP Nutanix è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare il server MCP MCP Nutanix con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare MCP Nutanix con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP MCP Nutanix con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando MCP Nutanix, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego il server MCP MCP Nutanix a TypingMind?

MCP Nutanix funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre il server MCP MCP Nutanix in TypingMind?

MCP Nutanix mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare il server MCP MCP Nutanix?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se MCP Nutanix richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇