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.
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
-
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 PowerShellThe 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 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
-
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
📚 Documentation
📖 Configuration & Setup:
- 🚀 Quick Start Guide - 5-minute setup with presets and examples
- Configuration Guide - Advanced configuration and custom instructions
- Custom Instructions Examples - Industry-specific and use case examples
- Migration Guide v1.3.0 - Upgrading to v1.3.0 with custom instructions
- Custom Instructions API - Technical API reference
🔧 Technical Reference:
- Complete Setup Guide - Detailed installation, configuration, and security
- Tools Reference - Complete documentation of all available tools
- Usage Examples - Real-world scenarios and workflows
Support & Contributing
- 🐞 Bug Reports: Create an issue
- 💡 Feature Requests: Request a feature
- ❓ Questions: Get support
- 🤝 Contributing: See our development guide
License
MIT License - see LICENSE for details.
Ready to transform your database management with AI? 🚀
Start with the setup guide for detailed instructions.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。