MCP server Official

Neon MCP Server

Neon's official MCP server: manage Neon Postgres projects, branches, schemas and migrations, and run queries in natural language.

Author
Neon
Works with
Any MCP client, Claude Code, Cursor
License
MIT
Documented
Oct 2, 2026

What Neon MCP Server is

Neon MCP Server is an open-source bridge between natural language requests and the Neon API. It is offered as a hosted remote server at mcp.neon.tech with OAuth or API key auth. It can create projects and branches, run queries and perform migrations.

What it does

How Neon MCP Server plugs in: which agents run it and what it addsRUNS INYour agentClaude CodeCursorAny MCP client3 hosts documentedMCP SERVER · OFFICIALNeon MCP ServerConnect the agent to tools, data…4 install steps2 permission noteslicense: MITWHAT IT ADDSWhat it doesCreate and manage Neon projects,…Run SQL queries and inspect schem…Safe migrations: prepare_database…Tool scopes (projects, branches,…agent → extension → new capability · from the official repository or docs
Where Neon MCP Server runs and what it adds, from its documentation
  • Create and manage Neon projects, branches and compute endpoints
  • Run SQL queries and inspect schemas
  • Safe migrations: prepare_database_migration tests on a temporary branch, complete_database_migration applies it
  • Tool scopes (projects, branches, endpoints, snapshots, schema, querying, neon_auth, data_api, observability, docs) for filtering
  • Read-only mode via readonly=true or OAuth consent

When to use it

Good fit

  • Local development with a Neon database from your IDE or agent
  • Schema migrations tested on a branch before applying
  • Summarizing what is in your Neon projects

Not for

  • Production environments (README does not recommend it)
  • Unreviewed autonomous actions; actions must be reviewed and authorized

How to install Neon MCP Server

You need: An MCP client; A Neon account; Node.js >= 18; If IP Allow is enabled, allowlist 34.192.103.46 and 23.22.233.166

  1. Quick: npx neon@latest init (Cursor, VS Code, Claude Code)
  2. Or OAuth remote: npx add-mcp https://mcp.neon.tech/mcp
  3. Or add the Neon entry with the remote URL to your client's MCP config
  4. Restart the client and complete the OAuth window in the browser
Configuration example (from the official docs)
{
  "mcpServers": {
    "Neon": {
      "type": "http",
      "url": "https://mcp.neon.tech/mcp?category=projects&category=branches&category=endpoints&category=querying&category=schema"
    }
  }
}

Permissions and security

What it can access

  • Neon account projects via OAuth or API key
  • OAuth scopes read and write; organization API key limits access to that org

Security notes from the maintainers

  • Grants powerful database management; always review actions requested by the LLM
  • Telemetry: sends account ID, name, email and tool names to track.neon.tech and errors to Sentry; NEON_MCP_DISABLE_ANALYTICS=1 disables analytics only for self-run

Review the source before granting an agent access to credentials or production systems. We document what the maintainers state; we do not audit code.

Limitations

  • Intended for local development and IDE integration only
  • With OAuth, organization projects need org_id or project_id in the prompt
  • SSE transport is deprecated

Tools it extends

Frequently asked questions

Does Neon MCP Server have a read-only mode?

Yes: use https://mcp.neon.tech/mcp?readonly=true or uncheck Allow writes at OAuth consent. source

Is Neon MCP Server recommended for production?

No. The README says it is for local development and IDE integrations only. source

How does Neon MCP handle migrations?

It runs the migration on a temporary branch first (prepare_database_migration), then applies it with complete_database_migration. source

What does Neon MCP Server collect?

Account ID, name, email and tool call names to Neon analytics, plus Sentry error reports; not tool arguments or results. source

Related guides

Sources and gaps

Not stated by the maintainers: Last release date.

More extensions to look at