mcp-server-neon
by neondatabase
Overview
Enables natural language interaction with Neon Postgres databases, facilitating database management, migrations, and query optimization via an LLM agent.
Installation
npx @neondatabase/mcp-client-cli --server-command="npx" --server-args="-y @neondatabase/mcp-server-neon start <YOUR_NEON_API_KEY>"Environment Variables
- ANTHROPIC_API_KEY
- OAUTH_DATABASE_URL
- COOKIE_SECRET
- CLIENT_ID
- CLIENT_SECRET
- ANALYTICS_WRITE_KEY
- SENTRY_DSN
Security Notes
The server exposes powerful database management capabilities, including direct SQL execution. While authentication is enforced and a read-only mode is available, the tool explicitly warns against production use due to the inherent risks of LLM-driven actions potentially leading to accidental or unauthorized data changes. Always review and authorize LLM-generated commands. The OAuth implementation relies on `COOKIE_SECRET` and `OAUTH_DATABASE_URL` which must be securely configured.
Similar Servers
MCP-PostgreSQL-Ops
This MCP server provides comprehensive PostgreSQL database operations, monitoring, and management through natural language queries.
mcp
Provides a Model Context Protocol (MCP) server for Neo4j, enabling LLMs to interact with the database via defined tools.
metabase-ai-assistant
An AI-powered assistant for Metabase and PostgreSQL databases, facilitating natural language SQL generation, dashboard creation, and direct DDL operations via Model Context Protocol for Claude Desktop/Code.
postgres-mysql-mcp-server
A Model Context Protocol (MCP) server that enables AI assistants to query PostgreSQL and MySQL databases for schema introspection and data retrieval.