Open-source MCP server enabling natural language management of Neon Serverless Postgres databases via API.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Server Neon.
projectsCallable MCP tool function
branchesCallable MCP tool function
endpointsCallable MCP tool function
snapshotsCallable MCP tool function
schemaCallable MCP tool function
queryingCallable MCP tool function
Neon MCP Server is an open-source tool that lets you interact with your Lakebase Postgres databases on Neon in natural language.
The Model Context Protocol (MCP) is a standardized protocol designed to manage context between large language models (LLMs) and external systems. This repository provides a remote MCP Server for Neon.
Neon's MCP server acts as a bridge between natural language requests and the Neon API. Built upon MCP, it translates your requests into the necessary API calls, enabling you to manage tasks such as creating projects and branches, running queries, and performing database migrations seamlessly.
Some of the key features of the Neon MCP server include:
For example, in Claude Code, or any MCP Client, you can use natural language to accomplish things with Neon, such as:
Let's create a new Postgres database, and call it "my-database". Let's then create a table called users with the following columns: id, name, email, and password.I want to run a migration on my project called "my-project" that alters the users table to add a new column called "created_at".Can you give me a summary of all of my Neon projects and what data is in each one?[!WARNING]
Neon MCP Server Security Considerations
The Neon MCP Server grants powerful database management capabilities through natural language requests. Always review and authorize actions requested by the LLM before execution. Ensure that only authorized users and applications have access to the Neon MCP Server.The Neon MCP Server is intended for local development and IDE integrations only. We do not recommend using the Neon MCP Server in production environments. It can execute powerful operations that may lead to accidental or unauthorized changes.
For more information, see MCP security guidance โ.
There are a few options for setting up the Neon MCP Server:
neon@latest init to automatically configure Neon's MCP Server, agent skills, and VS Code extension with one command.34.192.103.46 and 23.22.233.166 to your allowlist (mcp.neon.tech static IPs).For development, you'll need Node.js 22+ (pnpm is provided via Corepack โ run corepack enable to activate it).
Don't want to manually create an API key?
Run neon@latest init to automatically configure Neon's MCP Server with one command:
This works with Cursor, VS Code (GitHub Copilot), and Claude Code. It will authenticate via OAuth, create a Neon API key for you, and configure your editor automatically.
Connect to Neon's managed MCP server using OAuth for authentication. This is the easiest setup, requires no local installation of this server, and doesn't need a Neon API key configured in the client.
Run the following command to add the Neon MCP Server for all detected agents and editors in your workspace:
That URL publishes projects, branches, compute endpoints, querying, and schema. Preview it with /api/list-tools?category=projects&category=branches&category=endpoints&category=querying&category=schema. The unfiltered URL publishes every category:
Add the -g flag to add the Neon MCP Server to the global MCP server list instead of project-scoped.
Alternatively, you can add the following "Neon" entry to your client's MCP server configuration file (e.g., mcp.json, mcp_config.json):
Kiro: Add the following to your Kiro MCP config file (~/.kiro/settings/mcp.json for global, or .kiro/settings/mcp.json for project-scoped):
Or use the one-click install button at the top of this README. For more information, see the Kiro MCP documentation.
With OAuth-based authentication, the MCP server will, by default, operate on projects under your personal Neon account. To access or manage projects that belong to an organization, you must explicitly provide either the
org_idor theproject_idin your prompt to MCP client.
Remote MCP Server also supports authentication using an API key in the Authorization header if your client supports it.
Create a Neon API key in the Neon Console. Next, run the following command to add the Neon MCP Server for all detected agents and editors in your workspace:
Alternatively, you can add the following "Neon" entry to your client's MCP server configuration file (e.g., mcp.json, mcp_config.json):
Provide an organization's API key to limit access to projects under the organization only.
Neon MCP advertises OAuth scopes read and write. Your MCP client can request these, or you can make the selection in the OAuth permissions UI. * is treated as write if a client still sends it.
Read-only mode restricts which tools are available, disabling write operations like creating projects, branches, or running migrations. Read-only tools include listing projects, describing schemas, querying data, and viewing performance metrics.
You can set read-only mode in two ways:
readonly query param: Add ?readonly=true to your MCP server URL:How the query param behaves:
readonly=true is the way to enable read-only mode (there is no OAuth scope exchange in this flow).readonly=true overrides the OAuth scope. Without it, read-only is determined by the scope selected in the OAuth consent UI.Legacy HTTP header x-read-only is also supported as a fallback (lower priority than the query param).
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/neondatabase-mcp-server-neon)<a href="https://allmcps.com/mcp/neondatabase-mcp-server-neon"><img src="https://allmcps.com/api/badge/neondatabase-mcp-server-neon?style=directory" alt="MCP Server Neon on AllMCPs" /></a>