Neon MCP Server for Serverless Postgres Management
The Neon MCP Server enables AI agents to manage serverless PostgreSQL databases through natural language via the Model Context Protocol. Create projects, run queries, manage branches, and perform database migrations conversationally.
What it does
Neon MCP Server for Serverless Postgres Management
The Neon MCP Server enables AI agents to manage serverless PostgreSQL databases through natural language via the Model Context Protocol. Create projects, run queries, manage branches, and perform database migrations conversationally.
Installation
Use the upstream install or setup path that matches your environment:
- npx neonctl@latest init
- npx add-mcp https://mcp.neon.tech/mcp
- npx add-mcp https://mcp.neon.tech/mcp --header "Authorization: Bearer <$NEON_API_KEY>"
- npx add-mcp https://mcp.neon.tech/sse --type sse
Requirements and caveats from upstream:
- Node.js (>= v18.0.0): Download from nodejs.org.
- For development, you'll need Node.js 22+ (pnpm is provided via Corepack — run corepack enable to activate it).
- 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.
Basic usage or getting-started notes:
-
For example, in Claude Code, or any MCP Client, you can use natural language to accomplish things with Neon, such as:
-
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".
-
Quick Setup with API Key (Cursor, VS Code, and Claude Code): Run neonctl@latest init to automatically configure Neon's MCP Server, [agent skills](https://github.com/neon...
-
Extracted from upstream docs: https://raw.githubusercontent.com/neondatabase/mcp-server-neon/HEAD/README.md
Documentation
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,878 chars)