# Neon MCP server

> Ask in plain English to browse, change and debug your Neon Postgres projects, branches, tables and logs.

## Server URL

`https://mcp.neon.tech/mcp` (Streamable HTTP)

- Sign-in: Sign in with Neon
- Connect in RevampKey: https://revampkey.com/marketplace/neon

## Agent skills (5)

- [Neon connector essentials with AI: safe scope and approvals](https://revampkey.com/marketplace/neon/skills/essentials.md): Teaches the assistant to confirm the project, branch and Postgres role before any call, choose the right tool, and ask before changing anything. Read-only and pinned-role limits are respected.
- [Clean up Neon branches with AI: review before you delete](https://revampkey.com/marketplace/neon/skills/branch-environment-cleanup.md): Audits a Neon project's branches, sorts them into keep, review and delete candidates, and deletes only the branches you approve. It asks before removing anything.
- [Neon Migration Rollout with AI: Rehearse, Verify, Then Apply](https://revampkey.com/marketplace/neon/skills/migration-rollout.md): Plans and runs a schema migration on a Neon branch: rehearses it on an isolated child branch, compares schemas, verifies behaviour, and only applies to the target after you approve the plan.
- [Neon query performance tuning with AI: explain plans and safe index tests](https://revampkey.com/marketplace/neon/skills/query-performance-tuning.md): Reads the explain plan and table schema for a slow Postgres query, proposes an index or rewrite, and tests it on an isolated branch. It asks before creating a branch or changing anything.
- [Neon schema drift review with AI: compare branches safely](https://revampkey.com/marketplace/neon/skills/schema-drift-review.md): Compares the schema of one Neon branch against another and returns a risk-ranked list of differences for review. It only reads, so nothing is applied or migrated.

All skills: https://revampkey.com/marketplace/neon/skills.md

Neon is a serverless Postgres database platform. It is made by Neon, a Databricks, Inc. company, and has been part of the Databricks Platform since May 2025. Beyond databases, Neon bundles Authentication, Object Storage, Functions and an AI Gateway. Developers use it as the backend for apps and agents, and the company says more than 20 million developers build on it worldwide.

With Neon connected, you can ask about your projects, branches and tables in plain English. Ask for a list of your projects or the details of one. Look at the databases, tables and columns on a branch. Ask the agent to create or delete a project or branch, or to finish a database migration. It asks before it changes anything, so you approve each step.

Neon's other objects include SQL statements and their query plans, Neon Auth configuration, connection strings and log fields. The agent can explain a SQL statement, inspect a database, read the Neon Auth configuration, and list log fields and their values. It can also search Neon's docs and fetch individual pages.

## What you can do

### Test a schema change on a branch first

You want to add a column to the orders table without touching the main branch. Ask the agent to create a branch from main. It asks you to approve first. Then it compares the schema of the new branch with main, so you can review the differences before you run a migration.

### Find out why a query got slow

A report in your app takes several seconds. Paste the SQL into the chat and ask the agent to explain it. The agent reads the query plan and inspects the database, then tells you which step looks costly. Ask for the log fields to check the same time window. It only finishes a tuning step after you approve it.

### Check auth setup before a launch

Before you launch sign-in for a new app, ask the agent to read the Neon Auth configuration for your project. It reports the current configuration. If you ask for a change, it asks you to approve it first. You can also ask it to fetch the Neon docs page on setting up auth.

## Things to ask

- List my Neon projects and describe the one called billing-api.
- Create a branch called preview-login from main in my app project, and wait for my approval first.
- Show me the tables in the main branch of my shop project and the columns in the orders table.
- Explain this query plan for me: SELECT * FROM orders WHERE status = 'open' ORDER BY created_at;
- What log fields can I filter on for my app project, and what values does the environment field hold?

## What the agent can do

### Projects and organizations

See the organizations and projects in your Neon account, and read the details of a project. You can also create a project or delete one. The agent asks before it creates or deletes anything.

`list_organizations`, `list_projects`, `describe_project`, `create_project`, `delete_project`

### Branches and computes

Read the details of a branch and list its computes. You can create a branch from an existing one or delete a branch. The agent asks for your approval before it changes a branch.

`describe_branch`, `create_branch`, `delete_branch`, `list_branch_computes`

### Schema and migrations

List the tables in a database and read the columns of a table. Compare the schema of two branches to see what differs. You can finish a database migration, after you approve it.

`get_database_tables`, `describe_table_schema`, `compare_database_schema`, `complete_database_migration`

### Queries and tuning

Inspect a database and explain how a SQL statement runs. The agent can also finish a query tuning step. It asks for your approval before it applies one.

`inspect_database`, `explain_sql_statement`, `complete_query_tuning`

### Connections, auth and docs

Get a connection string for a database and read the Neon Auth configuration. You can change that configuration with your approval. You can also search the Neon docs and fetch a page.

`get_connection_string`, `get_neon_auth_config`, `configure_neon_auth`, `list_docs_resources`, `get_doc_resource`, `fetch`

### Logs

List the fields available in your Neon logs and the values each field holds. Use these to narrow down what happened in your project. The agent reads logs only and changes nothing.

`list_log_fields`, `list_log_field_values`

## FAQ

### What do I need to connect Neon to RevampKey?

You need a Neon account. Click Connect in RevampKey, then approve access on Neon's own sign-in page using OAuth. RevampKey does not ask you for a password or API key. Once Neon is connected, you can ask the agent about your projects, branches, tables and logs right away.

### What can the agent do in Neon, and what can it not do?

The agent can use the 24 Neon tools listed on this page. These cover projects, branches, schema, queries, auth, logs and docs. It cannot use anything outside that list. It asks you before it creates, deletes, migrates or changes a setting in Neon.

### Does the agent change my data without asking, and can I limit it?

No. The agent asks before it changes anything. When you authorize Neon, you can choose read-only scope on the authorization page. Check the agent's answers before you act on them, especially for schema changes and migrations.

### What is a Neon branch, and why does it matter for the agent?

A Neon branch is an isolated copy of your database. You can make a branch from an existing one and test changes there first. Ask the agent to create a branch, then compare its schema with the original. Once you approve the change, you can move it forward.

### What is the Neon MCP server URL?

The Neon MCP server URL is https://mcp.neon.tech/mcp. It uses the Streamable HTTP transport, so any client that supports remote MCP servers can connect to it.

### How does the Neon MCP server authenticate?

With Neon's own sign-in (OAuth). You approve access in your browser; no password is shared with the client.

### What can an AI agent do with the Neon MCP server?

It exposes 24 tools: 20 that read and 4 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Neon?

Yes. 5 SKILL.md playbooks teach an agent how to do real Neon work step by step. RevampKey installs them when you connect Neon; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (24)

- `compare_database_schema`
- `complete_database_migration`
- `complete_query_tuning`
- `configure_neon_auth`
- `create_branch` (changes data)
- `create_project` (changes data)
- `delete_branch` (changes data)
- `delete_project` (changes data)
- `describe_branch`
- `describe_project`
- `describe_table_schema`
- `explain_sql_statement`
- `fetch`
- `get_connection_string`
- `get_database_tables`
- `get_doc_resource`
- `get_neon_auth_config`
- `inspect_database`
- `list_branch_computes`
- `list_docs_resources`
- `list_log_field_values`
- `list_log_fields`
- `list_organizations`
- `list_projects`

## Details

- Maker: Neon (A Databricks, Inc. company)
- Setup: Sign in with your account
- Category: Data & analytics, Developer tools, Other, Productivity
- Documentation: https://neon.com/docs/ai/neon-mcp-server

Page: https://revampkey.com/marketplace/neon
