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
quick-start.mdβ’6.16 kB
# Quick Start Guide - NDB MCP Server v1.3.0
## π 5-Minute Setup
### Step 1: Install and Configure
```bash
git clone https://github.com/rouxton/ndb-mcp-server.git
cd ndb-mcp-server
npm install
npm run configure # Interactive wizard with custom instructions
```
### Step 2: Build and Test
```bash
npm run build
npm run test:all
```
### Step 3: Configure Your IDE
```bash
# For VSCode Agent Mode
npm run configure:vscode
# For Claude Desktop
npm run configure:claude
```
### Step 4: Start Using
Open your IDE and ask:
- *"List all PostgreSQL databases in production"*
- *"Create a development clone of the customer database"*
- *"What databases need backup attention?"*
## π― Configuration Presets
### Production Environment
```bash
npm run configure
# Select: production
# β Clustered deployments recommended
# β Security best practices included
# β Confirmation required for changes
# β Structured responses
```
### Development Environment
```bash
npm run configure
# Select: development
# β Cost-effective deployments
# β PostgreSQL preference
# β Debugging tips included
# β Minimal confirmations
```
### Custom Instructions Examples
**For Financial Services:**
```
Always include audit trail requirements for financial data
Recommend encryption for all data at rest and in transit
Include SOX and PCI DSS considerations in database design
```
**For Healthcare:**
```
Always enable encryption at rest and in transit for PHI data
Include HIPAA compliance requirements in all recommendations
Recommend role-based access control implementation
```
**For E-commerce:**
```
Prioritize high availability for customer-facing databases
Recommend read replicas for improved performance
Include disaster recovery planning for critical sales periods
```
## π§ Common Operations
### Create Production Database
```
You: "I need a production PostgreSQL database for our e-commerce platform"
Assistant with Production Config:
β I'll help you create a production PostgreSQL database. Based on your
production requirements, I recommend:
π Configuration:
β’ Clustered deployment (3+ nodes)
β’ PostgreSQL 15+ for latest features
β’ Encrypted storage and transit
β’ Automated backup with 30-day retention
β’ Performance monitoring enabled
β οΈ This operation will create new resources. Do you want to continue?
[Requires confirmation due to NDB_CONFIRM_CHANGES=true]
```
### Clone for Development
```
You: "Clone the customer database for testing new features"
Assistant with Development Config:
β I'll create a development clone for feature testing.
π‘ Recommendations:
β’ Single instance to reduce costs
β’ Latest snapshot for current data
β’ Data masking for sensitive fields
β’ Debugging tools enabled
π Proceeding with clone creation...
[No confirmation needed in development mode]
```
### Error Handling Examples
```
You: "Delete the production customer database"
Assistant with Error Protection:
β Error: Connection timeout to NDB server
βΈοΈ Operation paused. What would you like to do?
1. Retry the operation
2. Check network connectivity
3. Verify NDB server status
4. Cancel and investigate
[Pause triggered by NDB_PAUSE_ON_ERROR=true]
```
## π§ͺ Testing Your Setup
### Validate Configuration
```bash
npm run test:configuration
# β Checks .env file syntax
# β Validates custom instructions
# β Tests environment loading
```
### Test Custom Instructions
```bash
npm run test:custom-instructions
# β Loads your configuration
# β Tests confirmation logic
# β Validates system prompt generation
```
### Test NDB Connection
```bash
npm run test:connection
# β Verifies NDB API connectivity
# β Tests authentication
# β Validates permissions
```
## π¨ Customization Examples
### Multi-Environment Setup
```bash
# Production environment
npm run configure
# Environment name: production
# Creates: .env.production
# Development environment
npm run configure
# Environment name: development
# Creates: .env.development
```
### Industry-Specific Instructions
**SaaS Multi-Tenant:**
```
Recommend tenant isolation strategies
Suggest per-tenant backup and recovery capabilities
Include data segregation requirements in design
```
**Microservices Architecture:**
```
Recommend service-specific databases to avoid coupling
Suggest event-driven architecture for data consistency
Include distributed transaction considerations
```
**Compliance-Heavy Environment:**
```
Always include audit trail requirements
Recommend encryption for all data at rest and in transit
Include access control and monitoring requirements
```
## π Upgrade from Previous Versions
### From v1.2.x to v1.3.0
```bash
# Backup current config
cp .env .env.backup
# Update code
git pull origin main
npm install
npm run build
# Run new configuration wizard
npm run configure
# Test new features
npm run test:custom-instructions
```
## π Troubleshooting
### Common Issues
**Configuration not loading:**
```bash
# Check environment variables
node -e "console.log(process.env.NDB_CUSTOM_INSTRUCTIONS)"
# Validate configuration
npm run test:configuration
```
**VSCode integration not working:**
```bash
# Generate fresh config
npm run configure:vscode
# Check VSCode logs
# View β Output β Model Context Protocol
```
**Custom instructions not applying:**
```bash
# Verify build
npm run build
# Test instructions loading
npm run test:custom-instructions
# Check system prompt generation
npm run test:configuration
```
## π Get Help
### Resources
- π [Full Documentation](../README.md#-documentation)
- π§ [Configuration Guide](configuration-guide.md)
- π‘ [Custom Instructions Examples](custom-instructions-examples.md)
- π [Migration Guide](migration-guide-v1.3.0.md)
### Support Channels
- π [Bug Reports](https://github.com/rouxton/ndb-mcp-server/issues)
- π‘ [Feature Requests](https://github.com/rouxton/ndb-mcp-server/issues)
- β [Community Support](https://github.com/rouxton/ndb-mcp-server/discussions)
---
**Ready to get started?** Run `npm run configure` and follow the wizard! π