Ad space · Your tool here
PluginStack
MCP Servers · by Neon

Neon MCP Server

Neon MCP Server official site ↗

Last checked against the official docs:

What it does

Neon's official MCP server for managing Neon Postgres in plain language: create projects and branches, run queries, inspect schemas and run migrations on a branch. It is offered as a hosted remote server with OAuth or API-key auth. MIT licensed.

Who it's for

Developers using Neon Postgres for local development. Neon says it is meant for development and IDE use, not production, so review every action before approving it.

How to set it up

  1. Quick setup for Cursor, VS Code and Claude Code (signs you in and configures the editor):

    bash
    npx neon@latest init
  2. Or add the hosted server to all detected agents with OAuth:

    bash
    npx add-mcp https://mcp.neon.tech/mcp
  3. Or add it to your MCP config by hand; an OAuth window opens on first use:

    json
    {
      "mcpServers": {
        "Neon": {
          "type": "http",
          "url": "https://mcp.neon.tech/mcp"
        }
      }
    }
  4. To limit what the agent can do, uncheck Allow writes on the OAuth page, or use https://mcp.neon.tech/mcp?readonly=true.

Check the official Neon MCP Server docs for the latest steps.

Install Neon MCP Server in your client

Hosted by the maker, so there is nothing to install locally. Needs: None (hosted). Sign-in or keys: Neon OAuth sign-in.

One-click install

These buttons open the app on your computer (it needs to be installed already). The app asks you to confirm before it adds the server: review the command or URL it shows and check it matches the snippet below before you approve.

Claude Code

Run in a terminal

bash
claude mcp add --transport http neon https://mcp.neon.tech/mcp

Run /mcp inside Claude Code to check it connected and to sign in if the server asks.

Cursor

.cursor/mcp.json in a project, or ~/.cursor/mcp.json for all projects

json
{
  "mcpServers": {
    "neon": {
      "url": "https://mcp.neon.tech/mcp"
    }
  }
}
VS Code

.vscode/mcp.json (note the top-level "servers" key)

json
{
  "servers": {
    "neon": {
      "type": "http",
      "url": "https://mcp.neon.tech/mcp"
    }
  }
}
Codex

Run in a terminal, or edit ~/.codex/config.toml

CLI

bash
codex mcp add neon --url https://mcp.neon.tech/mcp

Or in ~/.codex/config.toml

toml
[mcp_servers.neon]
url = "https://mcp.neon.tech/mcp"

If the server uses OAuth, run codex mcp login neon to sign in.

  • Claude Desktop is not shown: we have not verified a config-file entry for this hosted server. Check the maker's docs for how to add it there.
  • Compare every server's runtime and sign-in needs in the MCP server requirements table.

Checked against the official docs. Snippets use placeholders; keep real keys out of files you commit. Windsurf is not listed because we have not verified its format.

Set it up / Fixes

Step-by-step guides for getting Neon MCP Server running and fixing common errors.

Example prompts

prompt
Create a new Neon project called my-app with a users table (id, name, email).
prompt
Add a created_at column to the users table on a new branch first, then show me the diff.
prompt
Summarize all of my Neon projects and what tables each one has.

Made Neon MCP Server? Add the badge

If you like, show that Neon MCP Server is listed and hand-checked here. It's optional: listings are free and we never ask for a link back.

Hand-checked on PluginStack
Get the Markdown or HTML

Markdown (for a GitHub README)

markdown
[![Hand-checked on PluginStack](https://www.pluginstackai.com/badge/hand-checked.svg)](https://www.pluginstackai.com/plugins/neon-mcp/)

HTML (for a website)

html
<a href="https://www.pluginstackai.com/plugins/neon-mcp/"><img src="https://www.pluginstackai.com/badge/hand-checked.svg" alt="Hand-checked on PluginStack" width="226" height="28"></a>

About the badge

Free: MCP Starter Checklist

After you set this tool up, use the one-page checklist so your next MCP server doesn't fail on first connect.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

See all MCP Servers on PluginStack