Best for
- Developers and non-developers who want to manage Neon databases via natural language.
- Users who want to perform database tasks quickly within IDEs or chat interfaces.
- Teams needing safe migrations and query optimization.
Official Neon MCP server supporting remote hosted and local development, with comprehensive features covering project management, branching, SQL queries, migrations, optimization, authentication, and data API. Suitable for managing Neon databases via natural language, but security considerations must be addressed.
The Neon MCP Server is an open-source tool from Neon that lets you interact with your Lakebase Postgres databases on Neon in natural language. It acts as a bridge between natural language requests and the Neon API, translating your requests into necessary API calls. This enables you to manage projects, branches, run queries, and perform database migrations seamlessly. It offers a remote hosted server with OAuth or API key authentication, as well as local development options.
- OAuth: Run npx add-mcp https://mcp.neon.tech/mcp or configure {"mcpServers":{"Neon":{"type":"http","url":"https://mcp.neon.tech/mcp"}}} and follow the browser OAuth flow.
- API key: Create a Neon API key and configure {"mcpServers":{"Neon":{"type":"http","url":"https://mcp.neon.tech/mcp","headers":{"Authorization":"Bearer <API_KEY>"}}}}.
{
"mcpServers": {
"Neon": {
"type": "http",
"url": "https://mcp.neon.tech/mcp"
}
}
}