Getting Started with NeuronMCP
Introduction
📌 Branch & Version Selection
NeuronMCP has three branches with different versions. Choose based on your needs:
| Branch | Version | Status | Use When |
|---|---|---|---|
main | 3.0.0-devel | Latest | New projects, development, latest features (default) |
REL2_STABLE | 2.0.0 | Stable | Production, stable v2.0 features |
REL1_STABLE | 1.0.0 | Stable | Production, maximum stability required |
Note: This documentation reflects version 3.0.0-devel from the main branch. For stable releases, use REL2_STABLE (v2.0.0) or REL1_STABLE (v1.0.0). See GitHub repository for branch details.
NeuronMCP is a Model Context Protocol (MCP) server providing comprehensive tools and resources for MCP-compatible clients to interact with NeuronDB. It includes:
- MCP Protocol Server - Full JSON-RPC 2.0 implementation with stdio, HTTP, and SSE transport
- 100+ Tools - 27 PostgreSQL administration tools + 70+ NeuronDB tools for vector operations, ML, RAG, and dataset loading
- Resource Provider - Schema, models, indexes, config, workers, and stats with real-time subscriptions
- Enterprise Features - Middleware, authentication, caching, metrics, webhooks, and resilience
What you can build: Connect Claude Desktop and other MCP clients to NeuronDB for vector search, ML training, RAG pipelines, and complete database management - all through the MCP protocol.
Choose Your Path
Pick the installation method that best fits your needs:
| Method | Best For | Time | Difficulty |
|---|---|---|---|
| Claude Desktop Setup | Connect Claude Desktop to NeuronDB | 5 minutes | ⭐ Easy |
| Docker Installation | Complete setup with Docker Compose | 5 minutes | ⭐ Easy |
| Source Build | Production, custom builds, developers | 30+ minutes | ⭐⭐⭐ Advanced |
💡 Note: Using Claude Desktop? Start with Claude Desktop Setup for the fastest integration. For Docker deployment, use Docker Installation. Production deployments should use Source Build.
Docker Quick Start
Complete NeuronMCP setup running in under 5 minutes with Docker Compose. This method includes NeuronMCP server with NeuronDB integration.
Start NeuronMCP with Docker Compose
# Clone repository (main branch = 3.0.0-devel)
git clone https://github.com/neurondb-ai/neurondb.git
cd neurondb
# For stable 1.0.0 release, checkout REL1_STABLE branch:
# git checkout REL1_STABLE
# Start NeuronMCP with NeuronDB
docker compose up -d neuronmcp neurondb
# Verify services
docker compose ps
# Test MCP server (stdio mode)
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' | ./NeuronMCP/bin/neuronmcpThis starts:
- NeuronMCP (MCP server) with stdio, HTTP, and SSE transport
- NeuronDB (PostgreSQL with extension) on port 5433
- 100+ MCP tools available for clients
- Resource provider for schema, models, and indexes
Claude Desktop Setup
Connect Claude Desktop to NeuronMCP to access 100+ tools for vector search, ML training, RAG pipelines, and PostgreSQL administration.
Configure Claude Desktop
# Edit Claude Desktop configuration
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"neurondb": {
"command": "neuronmcp",
"args": ["--transport", "stdio"],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "5433",
"DB_NAME": "neurondb",
"DB_USER": "postgres",
"DB_PASSWORD": "postgres"
}
}
}
}After configuration:
- Restart Claude Desktop
- NeuronMCP tools will be available in Claude Desktop
- Use tools for vector search, ML training, RAG, and database management
See the Claude Desktop Setup Guide for detailed configuration instructions.
Source Build (Advanced)
For production deployments or custom builds, install from source. This requires Go 1.21+, PostgreSQL 16-18 with NeuronDB extension, and build dependencies.
See the Setup Guide for detailed platform-specific instructions and configuration schema setup.
Quick reference (Ubuntu/Debian)
# Install dependencies
sudo apt-get install -y postgresql-17 postgresql-server-dev-17 build-essential golang-go
# Clone repository
git clone https://github.com/neurondb-ai/neurondb.git
cd neurondb
# For stable 1.0.0 release, checkout REL1_STABLE branch:
# git checkout REL1_STABLE
# Build NeuronMCP
cd NeuronMCP
go build -o neuronmcp ./cmd/server
# Run setup script to configure database schema
./scripts/neuronmcp-setup.sh
# Run NeuronMCP server
./neuronmcp --transport stdioAfter building NeuronMCP, configure it to connect to your NeuronDB instance and set up the configuration schema. See the Setup Guide for complete instructions.
Next Steps
After installation, use these guides:
- Claude Desktop Setup - Configure Claude Desktop to connect to NeuronMCP
- Tool Catalog - Browse all 100+ available MCP tools
- Features Documentation - Complete feature reference for MCP protocol and tools
- Setup Guide - Complete configuration schema and setup instructions
- NeuronDB Documentation - Vector search, ML inference, and RAG pipelines
- MCP Integration Example - Complete example showing Claude Desktop configuration