> ## Documentation Index
> Fetch the complete documentation index at: https://docs.condotta.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect the Neon MCP server

> Connect Neon's hosted MCP server to Condotta with OAuth or a Neon API key to manage Postgres projects, branches, and queries.

Neon hosts an MCP server for managing Neon Postgres: projects, branches, schema changes, and SQL queries. Connect it to Condotta to spin up a branch for a test run or run a check query from a workflow.

> [!NOTE]
>
> Condotta connects to this server through a [custom MCP server](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md) connection, so you add it with **Add custom server** rather than from the connector catalog. Neon maintains it and decides which tools it offers; see [Neon's MCP documentation](https://neon.com/docs/ai/neon-mcp-server) for the current list.

> [!WARNING]
>
> Neon states the MCP server is intended for development and testing only. Review actions an agent requests before they run.

## Before you start

* A Neon account with access to the projects you want to use.

## Server URL

```
https://mcp.neon.tech/mcp
```

The older SSE endpoint (`https://mcp.neon.tech/sse`) is deprecated.

## Connect in Condotta

**1. Add a custom server**

Go to **Connections** and click **Add custom server**. Enter a **Name** such as `Neon` and paste the **Server URL**.

**2. Keep Auto authentication**

Leave **Authentication** on **Auto**, choose a visibility, and click **Save & connect**.

**3. Authorize in Neon**

Neon opens its authorization page. Sign in and click **Authorize**. Condotta marks the connection **Connected** and refreshes the token automatically.

### Alternative: a Neon API key

For unattended workflows, create an [API key](https://neon.com/docs/manage/api-keys "Neon: API key") in the Neon Console. In Condotta choose **Token**, paste the key, keep **Header name** `Authorization` and **Prefix** `Bearer`, and click **Add**.

## Use it in a workflow

Add a **Connector** node, pick your Neon server under **Custom Servers**, and choose **Agent Mode** or **Direct Mode**. See [Use a custom server in a workflow](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md#use-a-custom-server-in-a-workflow).

## Learn more

* [Neon MCP Server overview](https://neon.com/docs/ai/neon-mcp-server)
* [Connect MCP clients to Neon](https://neon.com/docs/ai/connect-mcp-clients-to-neon)

> [card] [Try this free for 14 days](https://preview.condotta.ai/signup)
>
> Start a 14-day trial on Band 1. At day 14, choose your band, or stop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.