neondatabase avatar

Neon

neondatabase/mcp-server-neonOfficial

The Neon MCP Server enables interaction with Neon Postgres databases through natural language requests by acting as a bridge between an LLM and the Neon API. It provides tools for database management tasks including creating projects and branches, executing queries, running migrations, and managing database schemas without requiring direct SQL or API knowledge. The server solves the problem of making database administration accessible to non-developers by translating conversational commands into API calls.

GitHub stars
663
tools
76
auth
Secret needed
transport
HTTP
last updated
Nov 5, 2026

Tools

76 tools

Public tool metadata for what this MCP can expose to an agent.

list_projectsLists Neon projects. `limit` caps how many items come back.

Lists Neon projects. `limit` caps how many items come back.

No parameter schema in public metadata yet.

count_projectsReturns the number of active projects in an organization.

Returns the number of active projects in an organization.

No parameter schema in public metadata yet.

describe_projectFetches a Neon project by id.

Fetches a Neon project by id.

No parameter schema in public metadata yet.

get_project_consumptionConsumption metrics per project, grouped by billing period.

Consumption metrics per project, grouped by billing period.

No parameter schema in public metadata yet.

get_branch_consumptionConsumption metrics per branch, grouped by billing period.

Consumption metrics per branch, grouped by billing period.

No parameter schema in public metadata yet.

create_projectCreates a Neon project and waits for the default compute.

Creates a Neon project and waits for the default compute.

No parameter schema in public metadata yet.

delete_projectDeletes an existing Neon project.

Deletes an existing Neon project.

No parameter schema in public metadata yet.

list_organizationsLists all organizations that the current user has access to.

Lists all organizations that the current user has access to.

No parameter schema in public metadata yet.

list_branchesLists branches in a project.

Lists branches in a project.

No parameter schema in public metadata yet.

list_credentialsLists branch-scoped credentials for Object Storage and the AI Gateway.

Lists branch-scoped credentials for Object Storage and the AI Gateway.

No parameter schema in public metadata yet.

create_credentialCreates a branch-scoped credential for Object Storage and the AI Gateway.

Creates a branch-scoped credential for Object Storage and the AI Gateway.

No parameter schema in public metadata yet.

revoke_credentialRevokes a branch-scoped credential.

Revokes a branch-scoped credential.

No parameter schema in public metadata yet.

rotate_credentialRotates a branch-scoped credential, replacing its secret in place.

Rotates a branch-scoped credential, replacing its secret in place.

No parameter schema in public metadata yet.

create_branchCreates a branch with a read-write compute and waits until it is ready.

Creates a branch with a read-write compute and waits until it is ready.

No parameter schema in public metadata yet.

reset_from_parentResets a branch to its parent's current HEAD.

Resets a branch to its parent's current HEAD.

No parameter schema in public metadata yet.

delete_branchDeletes a branch.

Deletes a branch.

No parameter schema in public metadata yet.

describe_branchRetrieves a tree of databases, schemas, tables, views, and functions on a branch.

Retrieves a tree of databases, schemas, tables, views, and functions on a branch.

No parameter schema in public metadata yet.

restore_snapshotRestores a snapshot onto an existing branch or a new one.

Restores a snapshot onto an existing branch or a new one.

No parameter schema in public metadata yet.

list_postgres_endpointsLists Postgres compute endpoints.

Lists Postgres compute endpoints.

No parameter schema in public metadata yet.

list_branch_computesLists computes for a branch.

Lists computes for a branch.

No parameter schema in public metadata yet.

get_postgres_endpointGets a Postgres compute endpoint.

Gets a Postgres compute endpoint.

No parameter schema in public metadata yet.

create_postgres_endpointCreates a Postgres compute endpoint.

Creates a Postgres compute endpoint.

No parameter schema in public metadata yet.

update_postgres_endpointUpdates a Postgres compute endpoint.

Updates a Postgres compute endpoint.

No parameter schema in public metadata yet.

delete_postgres_endpointDeletes a Postgres compute endpoint.

Deletes a Postgres compute endpoint.

No parameter schema in public metadata yet.

start_postgres_endpointStarts a Postgres compute endpoint.

Starts a Postgres compute endpoint.

No parameter schema in public metadata yet.

suspend_postgres_endpointSuspends a Postgres compute endpoint.

Suspends a Postgres compute endpoint.

No parameter schema in public metadata yet.

restart_postgres_endpointRestarts a Postgres compute endpoint.

Restarts a Postgres compute endpoint.

No parameter schema in public metadata yet.

list_snapshotsLists snapshots.

Lists snapshots.

No parameter schema in public metadata yet.

get_snapshot_scheduleGets the snapshot schedule.

Gets the snapshot schedule.

No parameter schema in public metadata yet.

set_snapshot_scheduleSets the snapshot schedule.

Sets the snapshot schedule.

No parameter schema in public metadata yet.

create_snapshotCreates a snapshot.

Creates a snapshot.

No parameter schema in public metadata yet.

update_snapshotUpdates a snapshot.

Updates a snapshot.

No parameter schema in public metadata yet.

delete_snapshotDeletes a snapshot.

Deletes a snapshot.

No parameter schema in public metadata yet.

get_database_tablesLists all tables within a specified Neon database.

Lists all tables within a specified Neon database.

No parameter schema in public metadata yet.

describe_table_schemaRetrieves the schema definition of a specific table, detailing columns, data types, and constraints.

Retrieves the schema definition of a specific table, detailing columns, data types, and constraints.

No parameter schema in public metadata yet.

compare_database_schemaSQL schema diff of one database against another branch.

SQL schema diff of one database against another branch.

No parameter schema in public metadata yet.

get_connection_stringReturns your database connection string.

Returns your database connection string.

No parameter schema in public metadata yet.

run_sqlExecutes a single SQL query against a specified Neon database.

Executes a single SQL query against a specified Neon database.

No parameter schema in public metadata yet.

run_sql_transactionExecutes a series of SQL queries within a single transaction against a Neon database.

Executes a series of SQL queries within a single transaction against a Neon database.

No parameter schema in public metadata yet.

prepare_database_migrationInitiates a database migration process using a temporary branch to test changes safely.

Initiates a database migration process using a temporary branch to test changes safely.

No parameter schema in public metadata yet.

complete_database_migrationFinalizes and applies a prepared database migration to the main branch.

Finalizes and applies a prepared database migration to the main branch.

No parameter schema in public metadata yet.

inspect_databaseRuns one of 15 predefined read-only Postgres diagnostics against a branch.

Runs one of 15 predefined read-only Postgres diagnostics against a branch.

No parameter schema in public metadata yet.

list_slow_queriesIdentifies the slowest queries in a database.

Identifies the slowest queries in a database.

No parameter schema in public metadata yet.

explain_sql_statementProvides detailed execution plans for SQL queries.

Provides detailed execution plans for SQL queries.

No parameter schema in public metadata yet.

prepare_query_tuningAnalyzes query performance and suggests optimizations on a temporary branch.

Analyzes query performance and suggests optimizations on a temporary branch.

No parameter schema in public metadata yet.

complete_query_tuningFinalizes query tuning by applying or discarding optimizations and cleaning up the tuning branch.

Finalizes query tuning by applying or discarding optimizations and cleaning up the tuning branch.

No parameter schema in public metadata yet.

provision_neon_authProvisions Neon Auth for a branch.

Provisions Neon Auth for a branch.

No parameter schema in public metadata yet.

get_authGets Neon Auth configuration.

Gets Neon Auth configuration.

No parameter schema in public metadata yet.

disable_authDisables Neon Auth.

Disables Neon Auth.

No parameter schema in public metadata yet.

update_auth_configUpdates Neon Auth configuration.

Updates Neon Auth configuration.

No parameter schema in public metadata yet.

get_neon_auth_configReads Neon Auth configuration with secrets redacted.

Reads Neon Auth configuration with secrets redacted.

No parameter schema in public metadata yet.

list_auth_oauth_providersLists Neon Auth OAuth providers.

Lists Neon Auth OAuth providers.

No parameter schema in public metadata yet.

add_auth_oauth_providerAdds a Neon Auth OAuth provider.

Adds a Neon Auth OAuth provider.

No parameter schema in public metadata yet.

update_auth_oauth_providerUpdates a Neon Auth OAuth provider.

Updates a Neon Auth OAuth provider.

No parameter schema in public metadata yet.

delete_auth_oauth_providerDeletes a Neon Auth OAuth provider.

Deletes a Neon Auth OAuth provider.

No parameter schema in public metadata yet.

get_auth_oauth_serverGets Neon Auth configuration as an OAuth 2.1 authorization server.

Gets Neon Auth configuration as an OAuth 2.1 authorization server.

No parameter schema in public metadata yet.

update_auth_oauth_serverUpdates Neon Auth configuration as an OAuth 2.1 authorization server.

Updates Neon Auth configuration as an OAuth 2.1 authorization server.

No parameter schema in public metadata yet.

list_auth_oauth_clientsLists OAuth clients of the Neon Auth OAuth server.

Lists OAuth clients of the Neon Auth OAuth server.

No parameter schema in public metadata yet.

get_auth_oauth_clientGets an OAuth client of the Neon Auth OAuth server.

Gets an OAuth client of the Neon Auth OAuth server.

No parameter schema in public metadata yet.

create_auth_oauth_clientCreates an OAuth client of the Neon Auth OAuth server.

Creates an OAuth client of the Neon Auth OAuth server.

No parameter schema in public metadata yet.

update_auth_oauth_clientUpdates an OAuth client of the Neon Auth OAuth server.

Updates an OAuth client of the Neon Auth OAuth server.

No parameter schema in public metadata yet.

delete_auth_oauth_clientDeletes an OAuth client of the Neon Auth OAuth server.

Deletes an OAuth client of the Neon Auth OAuth server.

No parameter schema in public metadata yet.

rotate_auth_oauth_client_secretRotates the secret of an OAuth client of the Neon Auth OAuth server.

Rotates the secret of an OAuth client of the Neon Auth OAuth server.

No parameter schema in public metadata yet.

list_auth_trusted_domainsLists Neon Auth trusted domains.

Lists Neon Auth trusted domains.

No parameter schema in public metadata yet.

add_auth_trusted_domainAdds a Neon Auth trusted domain.

Adds a Neon Auth trusted domain.

No parameter schema in public metadata yet.

delete_auth_trusted_domainDeletes a Neon Auth trusted domain.

Deletes a Neon Auth trusted domain.

No parameter schema in public metadata yet.

create_auth_userCreates a Neon Auth user.

Creates a Neon Auth user.

No parameter schema in public metadata yet.

delete_auth_userDeletes a Neon Auth user.

Deletes a Neon Auth user.

No parameter schema in public metadata yet.

update_auth_user_roleUpdates the role of a Neon Auth user.

Updates the role of a Neon Auth user.

No parameter schema in public metadata yet.

provision_neon_data_apiProvisions the Neon Data API for a branch database.

Provisions the Neon Data API for a branch database.

No parameter schema in public metadata yet.

get_data_apiGets the Neon Data API for a branch database.

Gets the Neon Data API for a branch database.

No parameter schema in public metadata yet.

update_data_apiUpdates the Neon Data API for a branch database.

Updates the Neon Data API for a branch database.

No parameter schema in public metadata yet.

delete_data_apiDeletes the Neon Data API for a branch database.

Deletes the Neon Data API for a branch database.

No parameter schema in public metadata yet.

searchSearches across organizations, projects, and branches matching a query.

Searches across organizations, projects, and branches matching a query.

No parameter schema in public metadata yet.

fetchFetches detailed information about a specific organization, project, or branch using an ID.

Fetches detailed information about a specific organization, project, or branch using an ID.

No parameter schema in public metadata yet.

send_feedbackSends anonymous feedback to the Neon team.

Sends anonymous feedback to the Neon team.

No parameter schema in public metadata yet.

Sponsors

Readme

Neon Logo fallback

Neon MCP Server

Install MCP Server in Cursor Add to Kiro

Neon MCP Server is an open-source tool that lets you interact with your Lakebase Postgres databases on Neon in natural language.

License: MIT


View the full README on GitHub

Details

Repository
github.com/neondatabase/mcp-server-neon
Website
neon.com/docs/ai/neon-mcp-server
Category
Databases
Transport
HTTP
Auth
Required
Registry
MCP registry, active

Related Databases MCP servers

View all
1yawlabs avatarPostgreSQL MCP Serveryawlabs/postgres-mcpPostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants10stars
2mistersandfr avatarMistersandfr Supabase Mcp Selfhostedmistersandfr/supabase-mcp-selfhostedManage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…7stars
3edelciomolina avatarPostgres MCPedelciomolina/postgres-mcpPostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.5stars
4planetscale avatarPlanetScaleplanetscale/mcp-serverConnect to PlanetScale databases, branches, schema, query insights, and execute SQL0stars
5bluwork avatarPostgres Scout Mcpbluwork/postgres-scout-mcpScout your PostgreSQL databases with AI - safety features, monitoring, and data quality0stars
6daedalus avatarMcp Mysql Connectordaedalus/mcp-mysql-connectorMCP server exposing MySQL database functionalities as tools0stars