neurondb
by neurondb
Overview
This server acts as a Model Context Protocol (MCP) endpoint, enabling MCP-compatible clients (like Claude Desktop) to access NeurondB's PostgreSQL extension for vector search, machine learning algorithms, and Retrieval-Augmented Generation (RAG) capabilities.
Installation
node dist/index.jsEnvironment 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_DEBUG
Security Notes
The Node.js implementation of the NeuronMCP server (NeuronMCP/src/index.ts) includes a `PluginManager` that dynamically loads external code using `await import(config.path)`. This is a critical security vulnerability if plugin configuration paths (`config.path`) can be manipulated by an attacker or point to untrusted scripts, potentially leading to arbitrary code execution. While the Go implementation doesn't appear to have this feature, the Node.js version is present. SQL queries are generally parameterized, mitigating SQL injection risks. Communication over standard I/O (stdio) reduces the direct network attack surface for clients, but PostgreSQL connections still require network security. Database credentials are handled via environment variables, which is a good practice.
Similar Servers
mcp-server-neon
Enables natural language interaction with Neon Postgres databases, facilitating database management, migrations, and query optimization via an LLM agent.
meilisearch-mcp
Connects LLMs (like Claude and OpenAI agents) to Meilisearch, enabling natural language control for managing search indices and performing searches.
mcp
Provides an MCP interface to MariaDB, enabling standard SQL operations and optional vector/embedding-based search for AI assistants.
tiger-docs-mcp-server
An MCP server and Claude plugin providing AI assistants with advanced PostgreSQL knowledge through semantic documentation search and curated best practice skills.