Official · by neondatabase

Neon MCP server

The Neon MCP server lets an AI assistant manage Neon projects, branches, and databases using natural language commands.

  • Hosted (remote)
  • MIT licence
  • ★ 654 on GitHub
  • Verified against its source 19 Oct 2026

What the Neon MCP server does

An assistant can use it to list, create, and delete Neon projects and branches, run SQL queries and migrations, inspect schemas, and review query performance and logs. It connects to Neon's managed remote server at mcp.neon.tech, authenticating with OAuth or an API key.

Tools it gives your assistant

24 tools or toolsets, as its documentation lists them.

  • list_projects Lists Neon projects with an optional item limit
  • describe_project Fetches a Neon project by id
  • create_project
  • delete_project Deletes an existing Neon project
  • list_branches Lists branches in a project
  • create_branch
  • delete_branch Deletes a branch
  • describe_branch
  • restore_snapshot Restores a snapshot onto an existing or new branch
  • get_connection_string Returns the database connection string
  • run_sql Executes a single SQL query against a Neon database, read or write
  • run_sql_transaction Executes multiple SQL queries in one transaction
  • get_database_tables Lists all tables within a specified database
  • describe_table_schema Retrieves the schema of a table, including columns, types and constraints
  • prepare_database_migration Starts a migration on a temporary branch for safe testing
  • inspect_database
  • list_slow_queries Finds the slowest queries in a database
  • explain_sql_statement Provides execution plans for SQL queries
  • search Searches organizations, projects, and branches by query
  • fetch Fetches details about an organization, project, or branch by ID
  • send_feedback Sends anonymous feedback text to the Neon team
  • query_logs Queries OpenTelemetry logs for a branch
  • list_docs_resources Lists Neon documentation pages
  • get_doc_resource Fetches a Neon documentation page as markdown

How to install it

Hosted server

Add this address to your assistant's MCP settings:

https://mcp.neon.tech/mcp

What you need

In the neondatabase documentation's own words:

  • “Connect to Neon's managed MCP server using OAuth for authentication”
  • “Remote MCP Server also supports authentication using an API key in the Authorization header”
  • “A Neon account (https://console.neon.tech/signup)”
  • “If IP Allow (https://neon.com/docs/introduction/ip-allow) is enabled, add 34.192.103.46 and 23.22.233.166 to your allowlist”

Commands and settings change between versions. Check the official instructions before you install.