rouxton/ndb-mcp-server
If you are the rightful owner of ndb-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 henry@mcphub.com.
The NDB MCP Server is a comprehensive Model Context Protocol server designed for Nutanix Database Service (NDB), enabling natural language interactions for database management.
list_databases
Get all databases with filtering options
get_database
Get specific database details
provision_database
Create a new database
register_database
Register existing database
update_database
Update database properties
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.
Transform complex database operations into simple conversations: "Create a clone of the sales database for testing" or "Show me all databases with backup issues".
Quick Start
Prerequisites
- Node.js 18.0.0 or later
- NDB Environment with API access
- Valid credentials with appropriate permissions
Installation
-
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.
-
Configure Claude Desktop:
./scripts/configure-claude.sh # Unix/Linux/macOS # or .\scripts\configure-claude.ps1 # Windows PowerShell
-
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 npm run test:connection # Test NDB connectivity npm run test:mcp # Test MCP functionality
Example Conversations
š£ļø "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
š - Detailed installation, configuration, and security
š§ - Complete documentation of all available tools
š” - 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
-
MCP Server Core (
src/index.ts
)- Protocol handling and tool registration
- Request/response management
- Error handling and logging
-
NDB Client (
src/ndb-client.ts
)- HTTP client for NDB API
- Authentication management
- Request retries and error handling
-
Tool Definitions (
src/tools.ts
)- 30+ tool implementations
- Parameter validation
- Response formatting
-
Type Definitions (
src/types.ts
)- TypeScript interfaces
- API response types
- Configuration schemas
-
Utilities (
src/utils.ts
)- Helper functions
- Data transformations
- Validation logic
Project Structure
ndb-mcp-server/
āāā src/ # Source code
ā āāā index.ts # Main server entry point
ā āāā ndb-client.ts # NDB API client
ā āāā tools.ts # MCP tool implementations
ā āāā types.ts # TypeScript type definitions
ā āāā utils.ts # Utility functions
āāā docs/ # Documentation
āāā examples/ # Usage examples
āāā scripts/ # Setup and utility scripts
āāā tests/ # Test files (when implemented)
āāā dist/ # Compiled JavaScript (build output)
āāā .env.example # Environment template
āāā package.json # Dependencies and scripts
āāā tsconfig.json # TypeScript configuration
āāā README.md # Project overview
Support & Contributing
- š Bug Reports: Create an issue
- š” Feature Requests: Request a feature
- ā Questions: Get support
- š¤ Contributing: See our
License
MIT License - see for details.
Ready to transform your database management with AI? š
Start with the for detailed instructions.