Neon
Summary
Neon's official MCP server — manage serverless Postgres projects, branch databases, and run migrations.
Features
- Create and manage serverless Postgres projects and branches
- Run SQL and apply migrations safely on a branch first
- Database branching for testing schema changes
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
Neon's MCP server exposes its serverless Postgres platform to an AI assistant, and the branching model makes it unusually well suited to agent workflows.
What it enables
- Project and branch management. Create databases and branches on demand, which is fast and cheap on Neon because branches are copy-on-write.
- Safe migrations. The standout workflow: an assistant applies a schema change to a branch, verifies it works, and only then promotes it to the main branch. Getting a migration wrong costs a discarded branch rather than a production incident.
- SQL execution against any branch, with schema inspection
- Connection string retrieval for wiring the database into an application
Why branching matters here
The main risk of letting an agent touch a database is that mistakes are permanent. Branching converts that into a reversible operation, which changes what you are comfortable delegating.
Runs with npx @neondatabase/mcp-server-neon start <api-key>, or as a remote server for clients that support it.
Related MCP Servers
DBHub
by Bytebase
A universal database MCP server — one integration for PostgreSQL, MySQL, SQL Server, SQLite, and MariaDB.
MongoDB
by MongoDB
MongoDB's official MCP server — query databases, explore schemas, and manage Atlas clusters from an AI client.
Upstash Redis
by Upstash
Run Redis commands against Upstash's serverless Redis over HTTP, with documentation search built in.
dbt
by dbt Labs
dbt Labs' official MCP server — explore project metadata, run dbt commands, and query the Semantic Layer.