Neon MCP Server

By thumbsupordown

The official Neon MCP server connects AI agents to the Neon serverless Postgres platform. Agents can manage projects and database branches, run SQL and transactions, perform safe branch-based migrations, inspect table schemas, tune slow queries, and provision Neon Auth and the HTTP Data API.

Install Neon

Published by
Official (vendor)
Transport
Remote (HTTP)
Authentication
OAuth

Claude Desktop, Claude Code and Cursor

Add this to the mcpServers object in your client's config file, then restart the client.

{
  "mcpServers": {
    "neon": {
      "type": "http",
      "url": "https://mcp.neon.tech/mcp"
    }
  }
}
VS Code uses a different key โ€” show that config

Identical entry, filed under servers rather than mcpServers. Put it in .vscode/mcp.json for one workspace.

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

Before it will answer

OAuth by default; a Neon API key can be sent as a bearer token where OAuth is not available. `npx neon@latest mcp` will write the config into your clients for you if you would rather not edit JSON.

Documentation โ†— Config checked against vendor docs August 25, 2026 ยท how we verify

Tools

compare_database_schema

Show schema differences between a branch and its parent.

complete_database_migration

Apply a previously prepared migration to the main branch.

create_branch

Create a new database branch within a Neon project.

create_project

Create a new serverless Postgres project on the Neon platform.

delete_branch

Delete an existing database branch from a project.

delete_project

Delete a Neon project and all of its associated resources.

describe_branch

Retrieve details about a specific Neon database branch.

describe_project

Fetch comprehensive details about a specific Neon project.

describe_table_schema

Retrieve the schema definition of a specific table.

explain_sql_statement

Provide a detailed execution plan for a SQL query.

get_connection_string

Return the Postgres connection string for a database.

get_database_tables

List all of the tables contained within a Neon database.

get_doc_resource

Fetch a Neon documentation page as markdown content.

list_projects

List the Neon projects in your account with summaries.

list_slow_queries

Identify slow queries using pg_stat_statements data.

prepare_database_migration

Start a database migration on a temporary Neon test branch.

provision_neon_auth

Provision the Neon Auth authentication service for a project.

reset_from_parent

Reset a branch to its parent state, discarding changes.

run_sql

Execute a single SQL query against a Neon database.

run_sql_transaction

Run multiple SQL queries within a single transaction.

Want to create your own MCP server?

Create an account to add and manage your own MCP servers.