Skip to main content
Glama

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

This server isn't meant to be a complete wrapper around the NDB API. Instead, it focuses on the day-to-day operations that DBAs, DevOps, SysAdmins, and L2 support teams actually reach for, exposed in the simplest and safest way possible — confirmation before changes and a stop-and-ask policy on errors are built into every tool by default.

Custom Instructions Support

Tailor the assistant's guidance to your context via NDB_CUSTOM_INSTRUCTIONS — a pipe-separated list of free-text guidelines (security practices, deployment preferences, compliance notes, etc.) that gets appended to the server's instructions and surfaced to the MCP client.

Related MCP server: Severalnines CCX MCP Server

Quick Start

🚀 5-Minute Setup Guide - Get started immediately with 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

The configuration wizard (npm run configure) sets up NDB connection settings plus the custom instructions above — industry-specific examples are covered in the Configuration Guide.

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

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 & Tools (src/index.ts)

    • McpServer setup, protocol handling

    • 61 tool registrations (Zod schemas, annotations, handlers)

  2. NDB Client (src/ndb_client.ts)

    • HTTP client for NDB API

    • Authentication management

    • Request retries and error handling

  3. Zod Schemas (src/schemas.ts)

    • Validation schemas for complex multi-parameter tools (clone, provision, restore)

  4. Type Definitions (src/types.ts)

    • TypeScript interfaces

    • API response types

    • Configuration schemas

  5. Utilities (src/utils.ts)

    • Helper functions (tag mapping, pagination, missing-parameter collection)

    • Data transformations

  6. Custom Instructions (src/custom_instructions.ts)

    • Loads NDB_CUSTOM_INSTRUCTIONS and builds the system prompt

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.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    Enables management of CCX database clusters through AI assistants, supporting operations such as datastore creation, scaling, and performance monitoring. It provides a comprehensive toolset for handling backups, database users, and firewall rules across various database engines including PostgreSQL, MySQL, and Redis.
    Last updated
    25
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to manage Nutanix infrastructure via Prism Central and Prism Element APIs, including VM operations, cluster management, networking, and as-built report generation.
    Last updated
    28
    AGPL 3.0
  • A
    license
    -
    quality
    C
    maintenance
    Enables AI assistants to interact with PostgreSQL databases through MCP, supporting multi-database and schema access with security controls like read-only mode and SQL auditing.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • GibsonAI MCP server: manage your databases with natural language

  • Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.

  • Persistent context for Claude. Your AI always knows your projects and next actions across sessions.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rouxton/ndb-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server