neurondb
by neurondb
Overview
A Model Context Protocol (MCP) server designed to expose advanced AI and database functionalities (vector search, ML, RAG, PostgreSQL admin) as tools via a standardized JSON-RPC protocol over STDIN/STDOUT, typically serving as a backend for AI agents or desktop applications.
Installation
docker build -f dockers/neuronmcp/Dockerfile -t neurondb-mcp:latest . && docker run --name neurondb-mcp -e NEURONDB_HOST="host.docker.internal" -e NEURONDB_PORT="5432" -e NEURONDB_DATABASE="neurondb" -e NEURONDB_USER="neurondb" -e NEURONDB_PASSWORD="your_strong_password" neurondb-mcp:latestEnvironment Variables
- NEURONDB_HOST
- NEURONDB_PORT
- NEURONDB_DATABASE
- NEURONDB_USER
- NEURONDB_PASSWORD
- NEURONDB_CONNECTION_STRING
- NEURONDB_MCP_CONFIG
- NEURONDB_LOG_LEVEL
- NEURONDB_LOG_FORMAT
- NEURONDB_LOG_OUTPUT
- NEURONDB_ENABLE_GPU
- NEURONDB_LLM_API_KEY
- ADMIN_PASSWORD
- NEURONAGENT_ENDPOINT
- NEURONAGENT_API_KEY
Security Notes
The system includes robust security features such as XSS/CSRF protection, rate limiting, and SQL injection prevention (for standard queries) within the NeuronDesktop API wrapper. Critical operations (e.g., full SQL execution) require explicit admin privileges and configuration enablement. However, there are notable risks: 1. Hardcoded Default API Keys: A default HuggingFace API key (`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`) is present in `docker-compose.yml`, which is a significant vulnerability. 2. Insecure Default Passwords: The PostgreSQL password defaults to `neurondb` in `docker-compose.yml`, explicitly marked as a 'SECURITY WARNING' for development only. 3. Temporary Password Logging: During NeuronDesktop API bootstrap, if `ADMIN_PASSWORD` is not set, a temporary password is generated and logged to stderr, potentially exposing credentials in logs.
Similar Servers
mcp
Provides a Model Context Protocol (MCP) interface for managing and querying MariaDB databases, supporting standard SQL operations and advanced vector/embedding-based search for AI assistants.
enhanced-postgres-mcp-server
This server acts as a Model Context Protocol interface for PostgreSQL, enabling LLMs to query data, modify records, and manage database schema objects with read and write capabilities.
NeuronDB
The NeuronMCP server acts as a Model Context Protocol (MCP) gateway, enabling MCP-compatible clients (like Claude Desktop) to interact with the NeuronDB PostgreSQL extension for vector search, machine learning, RAG pipelines, and agent runtime capabilities.
mcp-neo4j-graphrag
Extends Neo4j with vector search, fulltext search, and search-augmented Cypher queries to build powerful GraphRAG applications.