NDB MCP Server

NDB MCP Server

Enables Claude and other MCP-compatible AI assistants to manage Nutanix Database Service (NDB) environments through natural language, supporting database operations like provisioning, cloning, backups, and monitoring with customizable instructions and behavior controls.

Category
Visit Server

README

NDB MCP Server

A Model Context Protocol server that enables Claude Desktop and other MCP-compatible AI assistants to manage Nutanix Database Service (NDB) environments through natural language with custom instructions support.

Transform complex database operations into simple conversations: "Create a clone of the sales database for testing" or "Show me all databases with backup issues".

πŸ†• New in v1.3.0: Custom Instructions Support

Configure your NDB assistant's behavior:

  • βœ… Confirmation prompts before creation operations
  • ⏸️ Pause on errors with user guidance options
  • πŸ“ Customizable response styles (concise, verbose, structured)
  • πŸ› οΈ Behavioral instructions via environment variables

Quick Start

πŸš€ 5-Minute Setup Guide - Get started immediately with presets and examples

Prerequisites

  • Node.js 18.0.0 or later
  • NDB Environment with API access
  • Valid credentials with appropriate permissions

Installation

  1. Clone and setup:

    git clone https://github.com/rouxton/ndb-mcp-server.git
    cd ndb-mcp-server
    
    # Run the automated setup script
    ./scripts/setup.sh                                    # Unix/Linux/macOS
    # or
    PowerShell -ExecutionPolicy Bypass -File scripts/setup.ps1  # Windows PowerShell
    

    The setup script handles everything: dependencies, building, configuration, testing, and prepares for Claude Desktop integration.

  2. Configure Claude Desktop:

    ./scripts/configure-claude.sh                      # Unix/Linux/macOS
    # or  
    .\scripts\configure-claude.ps1                    # Windows PowerShell
    
  3. Start using:

    • Restart Claude Desktop to load the new configuration
    • Try asking Claude: "List all databases in NDB"

    Manual configuration (if needed):

    npm run configure         # Interactive configuration wizard with custom instructions
    npm run test:connection   # Test NDB connectivity
    npm run test:configuration # Test configuration validity
    npm run test:mcp         # Test MCP functionality
    

πŸ› οΈ Enhanced Configuration Wizard

The configuration wizard now includes comprehensive setup for custom instructions:

npm run configure

Configuration Features

πŸ”§ Basic Settings:

  • NDB connection and authentication
  • SSL verification and timeouts
  • Multi-environment support

πŸ“‹ Custom Instructions:

  • Preset configurations for common scenarios (production, development, security, performance)
  • Industry-specific examples (financial, healthcare, e-commerce, SaaS)
  • Database engine preferences (PostgreSQL, Oracle, MongoDB)
  • Infrastructure patterns (microservices, data lakes, edge computing)

βš™οΈ Behavior Controls:

  • Confirmation settings for high-impact operations
  • Error handling with pause/continue options
  • Response styles (concise, verbose, structured)

Quick Start Examples

Production Environment:

npm run configure
# Choose: production preset
# Result: Clustered deployments, security focus, confirmation required

Development Environment:

npm run configure
# Choose: development preset  
# Result: Cost-effective, PostgreSQL preference, minimal confirmations

Custom Setup:

npm run configure
# Choose: custom
# Add your specific organizational guidelines

πŸ—£οΈ "Show me all PostgreSQL databases in production" πŸ“‹ Lists all PostgreSQL databases with production status and health indicators

πŸ—£οΈ "Create a clone of the customer-data database for testing" πŸ”„ Creates a fresh clone using the latest snapshot, ready for development use

πŸ—£οΈ "Take a snapshot of the critical-app database" πŸ“Έ Creates an immediate backup snapshot with automatic retention policies

πŸ—£οΈ "Check which time machines had backup failures" 🚨 Analyzes time machine health and reports any backup issues

What You Can Do

Databases Clones Backups Infrastructure
List & monitor Create & refresh Snapshots & recovery Cluster monitoring
Provision new Manage lifecycle Time machine status Server health
Register existing Resource allocation Retention policies Alerts & operations
Update properties Cleanup & removal Health monitoring Capacity planning

Documentation

πŸ“– Complete Setup Guide - Detailed installation, configuration, and security

πŸ”§ Tools Reference - Complete documentation of all available tools

πŸ’‘ Usage Examples - Real-world scenarios and workflows

Architecture Overview

High-Level Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Conversational  │◄──►│        MCP      │◄──►│       NDB       β”‚
β”‚      Agent      β”‚    β”‚      Server     β”‚    β”‚                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
        β”‚                        β”‚                        β”‚
        β”‚                        β”‚                        β”‚
    MCP Protocol           NDB REST API              Database
 (stdio/websocket)         (HTTP/HTTPS)             Operations

Core Components

  1. MCP Server Core (src/index.ts)

    • Protocol handling and tool registration
    • Request/response management
    • Error handling and logging
  2. NDB Client (src/ndb-client.ts)

    • HTTP client for NDB API
    • Authentication management
    • Request retries and error handling
  3. Tool Definitions (src/tools.ts)

    • 30+ tool implementations
    • Parameter validation
    • Response formatting
  4. Type Definitions (src/types.ts)

    • TypeScript interfaces
    • API response types
    • Configuration schemas
  5. Utilities (src/utils.ts)

    • Helper functions
    • Data transformations
    • Validation logic

πŸ“š Documentation

πŸ“– Configuration & Setup:

πŸ”§ Technical Reference:

Support & Contributing

License

MIT License - see LICENSE for details.


Ready to transform your database management with AI? πŸš€

Start with the setup guide for detailed instructions.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured