---
title: "Which managed Postgres providers have an official MCP server?"
date: "2026-11-23"
author: "Al Brown"
category: "Engineering"
excerpt: "Which managed Postgres providers ship an official MCP server: endpoints, auth, read-only controls and what agents can change, verified November 2026."
---

# Which managed Postgres providers have an official MCP server?

As of November 2026, managed Postgres providers with an official MCP server include **Neon**, **Supabase**, **Prisma Postgres**, **Google Cloud SQL and AlloyDB**, **AWS** (Aurora and RDS), **Microsoft Azure**, **Aiven**, **PlanetScale**, **Tiger Data**, **pgEdge**, **DigitalOcean**, **Render**, **Heroku**, **Xata** and **ClickHouse Managed Postgres**. The biggest difference between them is scope. Some servers let an agent create and branch databases, while others only query and observe.

Hosted remote servers with OAuth are now the norm. Neon (`mcp.neon.tech/mcp`), Supabase (`mcp.supabase.com/mcp`), Prisma, Google, Aiven, PlanetScale, Xata and ClickHouse (`mcp.clickhouse.cloud/mcp`) all run one, while the AWS, Microsoft, Tiger Data and pgEdge servers run locally. Crunchy Bridge (now Snowflake Postgres), Databricks Lakebase on Databricks, IBM Cloud Databases and EDB had no official server as of this check.

## Managed Postgres MCP servers compared

The table below lists every official server we found from a provider that sells managed Postgres or a Postgres-compatible database. Rows are alphabetical. For agent-specific hosting criteria beyond MCP, see our guide to [Postgres hosting providers for AI agents](https://clickhouse.com/resources/engineering/postgres-hosting-ai-agents).

*Official MCP servers from managed Postgres providers, verified 23 November 2026. Tool counts are from vendor docs or live endpoints on that date.*

| Provider | Official server | Hosted or local | Auth | Data-plane tools | Control-plane tools | Read-only controls | Tools | Status |
|---|---|---|---|---|---|---|---|---|
| [Aiven](https://github.com/Aiven-Open/mcp-aiven) | Aiven MCP server | Both. Hosted `https://mcp.aiven.live/mcp`; local `npx mcp-aiven` | OAuth (hosted); `AIVEN_TOKEN` (local) | `aiven_pg_read`, `aiven_pg_write`, query statistics, `aiven_pg_optimize_query` | Create, update, list services; plans; PgBouncer; metrics; logs | `?read_only=true`; `write_allowlist` | 15+ | npm 1.21.0 |
| [AWS: Aurora and RDS for PostgreSQL](https://github.com/awslabs/mcp/tree/main/src/postgres-mcp-server) | AWS Labs Postgres MCP server | Local only (uvx or Docker, stdio) | AWS IAM; Secrets Manager or IAM DB auth | `run_query`, `get_table_schema` | `create_cluster` (Aurora) | Read-only by default; `--allow_write_query`; keyword and function blocklist | Not counted | PyPI 1.2.5 |
| [AWS: Aurora DSQL](https://github.com/awslabs/mcp/tree/main/src/aurora-dsql-mcp-server) | AWS Labs Aurora DSQL MCP server | Local only (stdio) | AWS IAM | `readonly_query`, `transact`, `get_schema` | None | Read-only by default; `--allow-writes` | 7 | PyPI 1.1.6 |
| [ClickHouse Managed Postgres](https://clickhouse.com/docs/products/cloud/features/ai-ml/remote-mcp) | ClickHouse Cloud remote MCP server | Hosted `https://mcp.clickhouse.cloud/mcp`; enabled per service | OAuth 2.0 or Cloud API key. Postgres SQL needs OAuth | `run_postgres_select_query`, slow-query patterns and details, metrics, logs | Read-only listing (`get_services_list`, `get_service_details`). No create, resize, branch, restore or delete | Read-only by design; no write tools | Not counted | GA on AWS |
| [CockroachDB Cloud](https://www.cockroachlabs.com/blog/cockroachdb-ai-agents-managed-mcp-server) (Postgres-compatible) | CockroachDB Cloud MCP server | Hosted `https://cockroachlabs.cloud/mcp` | OAuth or service account | `select_query`, `create_table`, `insert_rows` | List and get clusters; `create_database` | OAuth `mcp:read` / `mcp:write`; no DROP or TRUNCATE | Not counted | March 2026 |
| [DigitalOcean](https://docs.digitalocean.com/reference/mcp/) | DigitalOcean MCP (databases) | Both. Hosted `https://databases.mcp.digitalocean.com/mcp`; local `npx @digitalocean/mcp` | OAuth 2.0 or PAT | None (no SQL tool) | Create, delete, resize, upgrade clusters; backups list; firewall; users | Tool annotations only | 15+ | npm 1.6.8 |
| [Google AlloyDB](https://docs.cloud.google.com/alloydb/docs/ai/use-alloydb-mcp) | AlloyDB remote MCP server | Hosted `https://alloydb.googleapis.com/mcp` | Google IAM, OAuth | `execute_sql`, `execute_sql_read_only` (PG 17+) | Clusters, instances, backups, `restore_cluster`, users | `executeSqlReadOnly` IAM permission; audit logs | 17 | Global endpoint GA |
| [Google Cloud SQL for PostgreSQL](https://docs.cloud.google.com/sql/docs/postgres/use-cloudsql-mcp) | Cloud SQL remote MCP server | Hosted `https://sqladmin.googleapis.com/mcp`; `/mcp/readonly` toolset | Google IAM, OAuth 2.0 | `execute_sql`, `execute_sql_readonly` | `create_instance`, `clone_instance`, backups, restore, users | Read-only toolset URL; `cloudsql.readonly` scope; IAM | 15 | Announced 2026-02-18 |
| [Heroku Postgres](https://devcenter.heroku.com/articles/heroku-mcp-server) | Heroku Platform MCP Server | Local only (`heroku mcp:start`) | Heroku CLI session or API key | `pg_psql`, `pg_ps`, `pg_locks`, `pg_outliers`, `pg_kill` | `create_addon`, `pg_upgrade`, `pg_backups`, `pg_credentials` | None documented | 11 | Early development; npm 1.2.15 |
| [Microsoft: Azure Database for PostgreSQL](https://github.com/microsoft/mcp) | Azure MCP Server (`azmcp postgres`) | Local (`npx @azure/mcp`, VS Code, Docker) | Entra ID or Postgres password | `postgres database query`, table schema | List servers, databases, tables; get and set parameters | `--read-only` server flag | 6 | 3.0.0 stable; 4.0.0 beta |
| [Microsoft: any Postgres](https://github.com/microsoft/postgres-mcp) | Postgres MCP Server (`@microsoft/postgres-mcp`) | Local (npx, stdio) | Keyring profiles; Entra ID on Azure | `postgres_mcp_query`, `postgres_mcp_modify`, `postgres_mcp_get_metrics_group` | Connection profiles only | Profile `access_mode: ro` | 13 | Preview; npm 0.3.1 |
| [Neon](https://neon.com/docs/ai/neon-mcp-server) | Neon MCP Server | Hosted `https://mcp.neon.tech/mcp` | OAuth (`read` / `write` scopes) or API key | `run_sql`, `explain_sql_statement`, `list_slow_queries`, `compare_database_schema` | Projects, branches, `restore_snapshot`, `reset_from_parent`, compute | `?readonly=true`; OAuth read scope; `roleName`; `projectId` | 141, or 59 read-only | Docs updated 2026-11-17 |
| [Oracle OCI Database with PostgreSQL](https://github.com/oracle/mcp/tree/main/src/oci-postgresql-runtime-mcp-server) | OCI PostgreSQL Runtime MCP server | Local (uvx, stdio) | Connection profiles | `execute_query`, `list_schemas`, `list_tables` | None | Read-only transactions; no write option | 6 | PyPI 1.0.0 |
| [pgEdge](https://github.com/pgEdge/pgedge-postgres-mcp) | pgEdge Postgres MCP Server | Self-hosted (stdio or HTTP) | User and token auth | `query_database`, `get_schema_info`, `execute_explain`, `similarity_search` | None | Read-only transactions by default, with bypass defense | 10 | GA (2026-04-02) |
| [PlanetScale](https://planetscale.com/docs/connect/mcp) | PlanetScale MCP server | Hosted `https://mcp.pscale.dev/mcp/planetscale` | OAuth (per-database scope) or service token | `planetscale_execute_read_query`, `planetscale_execute_write_query`, Insights, `planetscale_get_postgres_logs` | Read-only listing of orgs, databases, branches. No create | OAuth scope; insights-only URL; DDL needs confirmation | 38 | Launched 2026-01-29 |
| [Prisma Postgres](https://www.prisma.io/docs/ai/tools/mcp-server) | Prisma MCP server | Hosted `https://mcp.prisma.io/mcp` | Prisma account sign-in | `execute_sql_query`, `introspect_database_schema` | Create, delete, list databases; recovery; Compute apps and logs | None documented | 31 | Docs modified 2026-09-22 |
| [Render](https://render.com/docs/mcp-server) | Render MCP Server | Hosted `https://mcp.render.com/mcp`; local binary | OAuth or API key | `query_render_postgres` (read-only) | `create_postgres`, list, get. No delete | SQL tool is read-only | 4 Postgres | No label |
| [Supabase](https://supabase.com/docs/guides/ai-tools/mcp) | Supabase MCP Server | Hosted `https://mcp.supabase.com/mcp`; local via Supabase CLI | OAuth 2.1 or PAT | `execute_sql`, `apply_migration`, `query_logs`, `get_advisors` | Projects (with cost confirmation), branches, Edge Functions, storage | `read_only=true` (read-only Postgres user); `project_ref` | 40 | npm 0.19.0 |
| [Tiger Data](https://github.com/timescale/tiger-cli) | Tiger MCP server (in Tiger CLI) | Local only (`tiger mcp start`) | Tiger CLI login | `db_query`, `db_schema` | `service_create`, `service_fork`, resize, delete, `service_logs` | `read_only` = `all` / `prod` / `off` | 20 | Tiger CLI v0.29.0 |
| [Xata](https://xata.io/docs/platform/mcp) (joining ClickHouse) | Xata MCP server 2.0 | Hosted only `https://api.xata.tech/mcp` | OAuth or API key | `run_sql`, `describe_schema` | Generic read, write and destructive operations (branches, projects) | Read-only by default; writes need `write=true` and `confirm=true` | 11 | Launched August 2026 |
| [YugabyteDB](https://github.com/yugabyte/yugabytedb-mcp-server) (Postgres-compatible) | YugabyteDB MCP Server | Self-hosted (stdio or HTTP) | Optional OAuth | `run_read_only_query`, `run_write_query` | None | Writes off by default | 3 | 2.0.0rc2 only |

## What a Postgres MCP server is, and what "official" means

The Model Context Protocol (MCP) lets an AI agent call named tools exposed by a server. A local server runs on your machine and talks to the client over stdio. A remote server runs at an HTTPS endpoint and usually authenticates with OAuth. For background on the protocol, see [what MCP is and how MCP servers work](https://clickhouse.com/resources/engineering/mcp-data-warehouse-everthing-you-need-to-know).

A Postgres MCP server comes in one of two shapes. Generic servers such as Postgres MCP Pro, DBHub and MCPg take a connection string and connect to any Postgres database. They can run SQL and read the schema, and that is all. Provider servers also call the provider's own API, so an agent can list projects, create a branch, read server logs or restore a backup without leaving the conversation.

That second shape is what this article covers. A server counts as official here if the provider maintains it and documents it on its own site. Two vendor-official servers sit in between. Microsoft's `@microsoft/postgres-mcp` and Google's MCP Toolbox for Databases are built by the cloud vendors but work against any Postgres, including databases on other clouds. We include them because many readers on Azure and Google Cloud will reach for them first.

## Control plane, data plane and observability

Choosing a Postgres MCP server usually comes down to whether you need infrastructure management or database-native access. That is the usual split between control plane and data plane. We add observability as a third axis, because several servers do little else.

- **Control plane:** create, resize, branch, back up, restore and delete instances or projects.
- **Data plane:** run SQL, inspect the schema and apply migrations.
- **Observability:** slow queries, metrics, logs and `EXPLAIN` plans.

| Scope | Providers |
|---|---|
| Control plane plus data plane | Aiven, Google Cloud SQL and AlloyDB, Heroku, Neon, Prisma Postgres, Supabase, Tiger Data, Xata |
| Data plane only, or data plane plus configuration | Microsoft `postgres-mcp`, Azure MCP Server, pgEdge, Oracle OCI, AWS Aurora DSQL, CockroachDB. The AWS Labs Postgres server is data plane plus a single `create_cluster` |
| Data plane plus observability, with read-only listing of services | ClickHouse Managed Postgres (read-only), PlanetScale (with write SQL), Render (read-only SQL plus `create_postgres`) |
| Control plane only | DigitalOcean, Railway and the generic AWS MCP Server |

Scope decides what an agent can break. An agent with control-plane tools can create a branch, test a migration on it and throw it away, which Neon and Supabase both build into their tools. The same agent can also delete a project. An agent with read-only data-plane tools cannot drop a table, but it also cannot try a schema change anywhere safe. Pick the scope that matches the job, then restrict it further with the controls in the next section.

## What an agent can safely do on each platform

The matrix shows which operations each server exposes. "Gated" means the tool exists but is off until a flag, scope or role allows it. "n/d" means not documented.

| Provider | Read SQL | Write SQL or DDL | Create or delete DB | Branch, fork or clone | Backup or restore | Postgres logs | Slow queries or metrics | Read-only gate |
|---|---|---|---|---|---|---|---|---|
| Aiven | Y | Gated (`write_allowlist`) | Y | n/d | n/d | Y | Y (query statistics) | `?read_only=true` URL flag |
| AWS Labs (Aurora, RDS) | Y | Gated (`--allow_write_query`) | Create only (Aurora `create_cluster`) | N | N | N | N | Read-only default; keyword and function blocklist |
| ClickHouse Managed Postgres | Y (OAuth only) | N | N | N | N | Y | Y (query patterns, metrics) | Read-only by design; opt-in per service |
| DigitalOcean | N | N | Y | N | List backups | n/d | n/d | Tool annotations |
| Google Cloud SQL | Y | Y (`execute_sql`) | Y | Y (`clone_instance`) | Y | n/d | Separate Database Insights server | `/mcp/readonly` toolset, scope, IAM |
| Microsoft `postgres-mcp` | Y | Gated (`access_mode: ro` blocks) | N | N | N | N | Y | Profile flag |
| Neon | Y | Gated | Y | Y (`create_branch`) | Y (`restore_snapshot`) | Y (`query_logs`) | Y (`list_slow_queries`) | URL flag, OAuth scope, `roleName` |
| PlanetScale | Y (replica) | Y (DDL needs confirmation) | N | N | N | Y | Y (Insights) | OAuth per-database scope; insights-only URL |
| Prisma Postgres | Y | Y | Y | N | Recovery to a new DB | Compute logs only | N | None documented |
| Supabase | Y | Gated | Y (with cost confirmation) | Y (experimental, paid plan) | n/d | Y (`query_logs`) | Advisors | `read_only=true` (read-only Postgres user) |
| Tiger Data | Y | Gated | Y | Y (`service_fork`) | n/d | Y (`service_logs`) | Y | `read_only` = `all` / `prod` / `off` |
| Xata | Y | Gated (`write=true` and `confirm=true`) | Via generic operations | Y (copy-on-write branch) | n/d | n/d | n/d | Read-only by default |

Tool annotations such as `readOnlyHint` and `destructiveHint` tell the client how to treat a tool, for example whether to ask before calling it. They are hints. Enforcement comes from the database or the provider's IAM.

## Serverless and developer platforms

### Neon

The [Neon MCP Server](https://neon.com/docs/ai/neon-mcp-server) is hosted at `https://mcp.neon.tech/mcp` over Streamable HTTP. The local npm package is deprecated and the older SSE transport is retired. Auth is OAuth, where you can pick a read-only scope at consent, or an API key. URL parameters narrow the server further: `readonly=true`, `projectId`, `category`, `roleName` (to connect as a specific Postgres role) and `secrets=none`. Neon's public `list-tools` endpoint returned 141 tools in full mode and 59 in read-only mode on 23 November 2026, the most of any provider. Its migration tools, `prepare_database_migration` and `complete_database_migration`, apply schema changes on a temporary branch before touching the main branch. Neon's docs add, "We recommend MCP for development and testing only, not production environments." Neon is now part of Databricks. If you are comparing providers more broadly, see [Neon alternatives](https://clickhouse.com/resources/engineering/neon-alternatives-managed-postgres).

### Supabase

The [Supabase MCP Server](https://supabase.com/docs/guides/ai-tools/mcp) is hosted at `https://mcp.supabase.com/mcp` with OAuth 2.1 and dynamic client registration, and it also runs locally through the Supabase CLI. It is official, even though the repo sits under the `supabase-community` GitHub org, because Supabase documents it on supabase.com. We counted 40 tools across projects, branches, database, Edge Functions, storage, logs and advisors. Before it creates a project or branch, the server calls `get_cost` and `confirm_cost`. Setting `read_only=true` "runs all queries as a read-only Postgres user", and `project_ref` scopes the server to one project. Supabase also publishes the clearest prompt-injection guidance of any provider, including the line "Treat elicitations as a guardrail, not a guarantee." Branching is experimental and needs a paid plan.

### Prisma Postgres

Prisma's [MCP server](https://www.prisma.io/docs/ai/tools/mcp-server) is hosted at `https://mcp.prisma.io/mcp`. An older local server (`npx prisma mcp`) shipped in Prisma ORM 6.6 to 7.x and is not part of Prisma 8. Of its 31 tools, only 3 touch the data plane. The rest create, delete and recover databases and manage Prisma Compute apps, logs and environment variables. Prisma documents no read-only mode, and its CLI guardrails "apply to Prisma CLI commands, not MCP tool calls."

### PlanetScale

The [PlanetScale MCP server](https://planetscale.com/docs/connect/mcp) launched on 29 January 2026 and is hosted at `https://mcp.pscale.dev/mcp/planetscale`. OAuth lets you grant none, read-only or full access per database, and an insights-only URL exposes just the performance tools. Read queries run on a replica under a role with `pg_read_all_data`, which "does not bypass row-level security". DDL asks for human confirmation, and `UPDATE` or `DELETE` without a `WHERE` clause is blocked, as is `TRUNCATE`. PlanetScale's 38 tools can list and get organizations, databases and branches, but none of them create a database or a branch.

### Tiger Data

Tiger's MCP server is built into the [Tiger CLI](https://github.com/timescale/tiger-cli) and runs locally with `tiger mcp start`. The current README lists 20 tools, including `service_create`, `service_fork`, resize and delete, plus metrics tools. Its read-only setting is tag-aware: `all` protects every service ("the MCP write tools aren't registered at all"), `prod` protects only services tagged PROD, and `off` disables it. The hosted endpoint at `mcp.tigerdata.com/docs` is a documentation server, not the database server.

### Xata

Xata, which is joining ClickHouse, runs its own [MCP server](https://xata.io/docs/platform/mcp). Version 2.0 launched in August 2026 and is hosted only, at `https://api.xata.tech/mcp`, with "no local (npm) version". Its 11 tools pair `run_sql` and `describe_schema` with generic read, write and destructive operations over Xata's API. SQL is read-only by default, writes need `write=true` and `confirm=true`, and destructive operations need `confirm=true`. Xata sums it up as "Reads run, writes ask." Its main workflow is to "let a coding agent branch your Postgres, work in the copy, and delete it", using copy-on-write branches. Following [ClickHouse acquiring Xata](https://clickhouse.com/blog/managed-postgres-ga-xata-acquisition), Xata's branching and scale-to-zero are being integrated into ClickHouse Managed Postgres.

## Cloud and enterprise providers

### Google Cloud: Cloud SQL and AlloyDB

Google announced managed remote MCP servers for Cloud SQL, AlloyDB and Spanner on 18 February 2026. They use IAM "rather than shared keys", and "every query and action" is recorded in Cloud Audit Logs. The [Cloud SQL server](https://docs.cloud.google.com/sql/docs/postgres/use-cloudsql-mcp) lives at `https://sqladmin.googleapis.com/mcp` and splits its tools into toolsets with their own URLs: `/mcp/readonly`, `/mcp/instance_manage` and `/mcp/query_execution`. Tools include `execute_sql`, `execute_sql_readonly`, `create_instance` and `clone_instance`, and a separate Database Insights server covers performance. The [AlloyDB server](https://docs.cloud.google.com/alloydb/docs/ai/use-alloydb-mcp) is at `https://alloydb.googleapis.com/mcp`. Its global endpoint is generally available and its regional endpoints are in preview. `execute_sql_read_only` needs Postgres 17 or later.

These managed servers are different from [MCP Toolbox for Databases](https://github.com/googleapis/mcp-toolbox), Google's open-source server (formerly genai-toolbox) that you run yourself and point at any Postgres. Toolbox does have a read-only setting for Cloud SQL and AlloyDB, but it is off by default. For other options, see [AlloyDB alternatives](https://clickhouse.com/resources/engineering/alloydb-alternatives) and [Cloud SQL alternatives](https://clickhouse.com/resources/engineering/cloud-sql-alternatives).

### AWS: Aurora, RDS and Aurora DSQL

AWS has three artifacts that often blur together. The [AWS Labs Postgres MCP server](https://github.com/awslabs/mcp/tree/main/src/postgres-mcp-server) supports Aurora PostgreSQL and RDS for PostgreSQL. It "can only be run locally", authenticates with IAM and Secrets Manager, and is read-only unless you start it with `--allow_write_query`. Its read-only mode relies on a keyword and function blocklist, which AWS describes as "a best-effort, defense-in-depth mechanism, not a security boundary." The same server can also create an Aurora cluster with `create_cluster`. Aurora DSQL has its own server, read-only by default with an `--allow-writes` flag and no cluster creation. The third artifact, the hosted AWS MCP Server, went GA on 6 May 2026. It can call any AWS API under your IAM policies, but it has no Postgres-specific tools. See [AWS RDS alternatives](https://clickhouse.com/resources/engineering/aws-rds-alternatives) and [Amazon Aurora alternatives](https://clickhouse.com/resources/engineering/aws-aurora-alternatives) for the wider comparison.

### Microsoft Azure

Microsoft also has more than one server. The [Azure MCP Server](https://github.com/microsoft/mcp) includes `azmcp postgres` commands for Azure Database for PostgreSQL: query a database, read a table schema, list servers and databases, and get or set server parameters. It cannot create or delete servers. It uses Entra ID by default and has a `--read-only` flag. The 3.0.0 release on 12 October 2026 changed the query tools, which "are now marked destructive and non-read-only, and no longer filter statements by SQL verb." If you relied on the query tool refusing writes, use `--read-only` or a read-only database role instead.

The second server, [`@microsoft/postgres-mcp`](https://github.com/microsoft/postgres-mcp), is in preview and runs locally against Postgres on Azure, AWS, Google Cloud or your laptop. It has 13 tools, stores connection profiles in the OS keyring, and supports `access_mode: ro` per profile. Its README sums up the security model in one line, "The server doesn't decide what's allowed — your database does." An earlier Azure preview server from April 2025 is historical. See [Azure Database for PostgreSQL alternatives](https://clickhouse.com/resources/engineering/azure-postgresql-alternatives).

### Aiven

The [Aiven MCP server](https://github.com/Aiven-Open/mcp-aiven) is both hosted, at `https://mcp.aiven.live/mcp` with OAuth, and local, via `npx mcp-aiven` with an `AIVEN_TOKEN`. It covers the service lifecycle as well as SQL, and Aiven says it "can create, modify, and delete Aiven services and data on your behalf." Adding `?read_only=true` to the URL turns on read-only mode, and `write_allowlist` limits which writes are allowed. It also has query statistics and an `aiven_pg_optimize_query` tool.

### ClickHouse Managed Postgres

[ClickHouse Managed Postgres](https://clickhouse.com/cloud/postgres) is NVMe-backed Postgres, generally available on AWS since 9 November 2026 and in private preview on Google Cloud, with high availability, point-in-time recovery, read replicas and 90+ extensions. Agents reach it through the [ClickHouse Cloud remote MCP server](https://clickhouse.com/docs/products/cloud/features/ai-ml/remote-mcp) at `https://mcp.clickhouse.cloud/mcp`, which authenticates with OAuth 2.0 or a Cloud API key. MCP is off by default. You turn it on per service in the Connect panel. The Postgres tools are `run_postgres_select_query`, `list_postgres_slow_query_patterns`, `get_postgres_slow_query_pattern_details`, `get_postgres_metrics` and `get_postgres_logs`. SQL through MCP needs OAuth and is unavailable with API keys. "All tools exposed by the remote MCP server are read-only."

The server has no tools to create, resize, branch, restore or delete a service. Provisioning goes through the Cloud API, [`clickhousectl`](https://clickhouse.com/docs/products/cloud/features/cli) or the Terraform provider. It suits an agent that should investigate a production database without any path to change it. Shipsidekick, which moved from Neon, now uses ClickHouse Agents for performance investigations.

> "As an AI company working with large volumes of data, we need reliable infrastructure that help us move fast. We moved from Neon to ClickHouse Managed Postgres for better reliability and performance, and our users immediately noticed how much faster everything felt. Xata's branching has been a great fit for our devs (and AI coding agents!), making it easy to build and test in parallel. Bringing both together means high-performance Postgres and instant branching in a single platform, simplifying our infrastructure and giving our team more time to build."
>
> Jarrod Servilla, Platform Engineer, David AI ([source](https://clickhouse.com/blog/managed-postgres-ga-xata-acquisition))

ClickHouse is [acquiring Xata](https://clickhouse.com/blog/managed-postgres-ga-xata-acquisition), and Xata's copy-on-write branching, cloning and scale-to-zero are coming to ClickHouse Managed Postgres in the coming months. That will bring the branch-per-agent workflow described in the Xata section above to NVMe-backed Postgres.

### pgEdge

The [pgEdge Postgres MCP Server](https://github.com/pgEdge/pgedge-postgres-mcp) went GA on 2 April 2026 and works with any Postgres 14 or later. "All queries run in read-only transactions by default", and the server rejects attempts to escape that through `DO` blocks or `set_config()`. It is self-hosted over stdio or HTTP. pgEdge describes a managed option in pgEdge Cloud, but we found no public hosted endpoint. Its tools include `similarity_search` and `generate_embedding` alongside SQL and `EXPLAIN`.

### Other platforms with official servers

**DigitalOcean**'s [databases MCP service](https://docs.digitalocean.com/reference/mcp/) is hosted at `https://databases.mcp.digitalocean.com/mcp`. It manages clusters (create, delete, resize, upgrade, firewall, users) but has no SQL tool.

**Render**'s [MCP server](https://render.com/docs/mcp-server) at `https://mcp.render.com/mcp` can create and list Postgres instances and run read-only SQL with `query_render_postgres`. For deletions, Render says to "use the Render Dashboard or REST API".

**Heroku**'s [Platform MCP Server](https://devcenter.heroku.com/articles/heroku-mcp-server) runs locally and is "currently in early development". Its `pg_*` tools cover psql, locks, outliers, backups and upgrades, and `pg_psql` runs any command. No read-only gate is documented, so the credential decides.

**Railway** bundles an [MCP server](https://docs.railway.com/ai/mcp-server) in its CLI and also hosts one at `https://mcp.railway.com`. It manages services and environments but has no SQL tool.

**Oracle** publishes an [OCI PostgreSQL Runtime MCP server](https://github.com/oracle/mcp/tree/main/src/oci-postgresql-runtime-mcp-server) that is strictly read-only: every query runs in a read-only transaction and there is "no write-enabling option".

**CockroachDB and YugabyteDB** are Postgres-compatible, not Postgres. CockroachDB Cloud has a hosted server at `https://cockroachlabs.cloud/mcp` that does not support `DROP` or `TRUNCATE`. YugabyteDB's self-hosted server keeps writes off by default and has only a release candidate published.

## Providers without an official Postgres MCP server

As of 23 November 2026, we found no official MCP server in the vendor's docs for these managed Postgres services:

- **Crunchy Bridge and Snowflake Postgres.** Snowflake has a Cortex Code CLI skill that "helps create and manage Snowflake Postgres instances", but no MCP server. See [Crunchy Bridge alternatives](https://clickhouse.com/resources/engineering/crunchy-bridge-alternatives).
- **Databricks Lakebase on Databricks.** The Databricks managed MCP list has no Lakebase entry. Lakebase on Neon uses the Neon server.
- **IBM Cloud Databases for PostgreSQL.**
- **EDB.** A post from October 2025 listed MCP servers as "coming soon".
- **Fly.io.** `fly mcp server` is marked experimental and has no Managed Postgres tools.

## Community and generic Postgres MCP servers

The original reference server, `@modelcontextprotocol/server-postgres`, is archived. npm marks it "Archived and unmaintained; no security guarantees", and its last release was 0.6.2 in December 2024. Datadog Security Labs showed that stacked statements could end its read-only transaction and run unrestricted SQL. If you still use it, migrate to your provider's server or a maintained alternative.

- **Postgres MCP Pro** (crystaldba) has `--access-mode=restricted` and `unrestricted` modes. Its last PyPI release was 0.3.0 in May 2025.
- **DBHub** (Bytebase) is a multi-database server that takes a connection string.
- **MCPg** is a community server with a large tool list. It is not a managed Postgres provider.
- **MCP Toolbox for Databases** and **`@microsoft/postgres-mcp`** are vendor-built but work with any Postgres.

These are good choices for self-managed Postgres. A connection string, though, knows nothing about branches, backups or the provider's IAM.

## How to connect an agent safely

- **Prefer hosted servers with OAuth.** Keep API keys for CI and other non-interactive use.
- **Start read-only, and check how read-only is enforced.** A read-only database role or read-only transaction (Supabase, Oracle, pgEdge) is stronger than a SQL parser or blocklist, which AWS calls "not a security boundary". It is also stronger than tool annotations. For general guidance, [start MCP connections in read-only mode](https://clickhouse.com/resources/engineering/mcp-data-warehouse-everthing-you-need-to-know).
- **Connect as a least-privilege role.** Neon's `roleName` parameter and Microsoft's "your database does" model both put the database in charge of permissions.
- **Scope the server to one project or service.** Use Supabase's `project_ref`, Neon's `projectId`, or ClickHouse's per-service MCP toggle.
- **Run migrations on a branch, not on the primary.** Neon, Supabase, Tiger Data and Xata all support this through MCP.
- **Point agent reads at a read replica.** Shipsidekick learned this on Neon. Its agents and MCP servers used a small read replica, and when an agent query hit the primary instead, CPU jumped to 40 to 50%. "I was like, okay, wake-up call. Your AI reads can impact your primary performance," said Sawyer Bateman, Shipsidekick's founder and CEO.
- **Treat rows as untrusted input.** Data returned by a query can carry instructions aimed at the agent. Supabase's docs walk through a prompt-injection example.
- **Require confirmation for destructive operations.** Supabase uses elicitations, Xata requires `confirm=true`, and PlanetScale asks before DDL.
- **Audit tool calls.** Google records MCP actions in Cloud Audit Logs and AWS in CloudTrail. See [observing what AI agents do](https://clickhouse.com/resources/engineering/what-is-ai-agent-observability).

## Which server should you use?

| If you need | Look at | Why |
|---|---|---|
| Agents that investigate production performance without any path to change it | ClickHouse Managed Postgres | Read-only SQL, slow-query patterns, metrics and logs on NVMe-backed Postgres, scoped per service and off by default |
| One agent connection to both Postgres and an analytics database | ClickHouse Managed Postgres | The same remote MCP server covers Managed Postgres and ClickHouse services |
| Agents that create and branch dev databases | Neon, Supabase, Tiger Data, Xata | Branch or fork tools plus migration workflows |
| Full platform management, including compute and storage | Prisma Postgres, Supabase | Control-plane tools beyond the database |
| A hyperscaler with IAM and audit | Google Cloud SQL or AlloyDB, AWS Labs, Azure MCP Server | Cloud IAM, audit logs, read-only toolsets or flags |
| Other read-only performance tooling | PlanetScale (insights-only URL), pgEdge, Microsoft `postgres-mcp` with `access_mode: ro` | Slow queries, metrics or `EXPLAIN` without write access |
| Any self-managed Postgres | Microsoft `postgres-mcp`, pgEdge, MCP Toolbox | Provider-agnostic, maintained by a vendor |

For most teams, price, performance, availability and the regions you need still matter more than MCP support. ClickHouse Managed Postgres pairs local NVMe storage, high availability with up to two standbys and read replicas with an MCP server that keeps agent access read-only, and Xata's branching is on the way. For the full checklist, see [how to choose a managed Postgres provider](https://clickhouse.com/resources/engineering/choose-managed-postgresql-provider).

---

*Changelog: 2026-11-23, first published.*


## FAQ

### Question 1: What is a Postgres MCP server?

A Model Context Protocol server that exposes Postgres operations as named tools an AI agent can call, such as running SQL or inspecting the schema. Provider servers add the provider's own API, such as creating branches or reading logs.### Question 2: Which managed Postgres providers have an official MCP server?

As of 23 November 2026: Neon, Supabase, Prisma Postgres, Google Cloud SQL and AlloyDB, AWS (Aurora and RDS), Microsoft Azure, Aiven, PlanetScale, Tiger Data, pgEdge, DigitalOcean, Render, Heroku, Xata and ClickHouse Managed Postgres. Crunchy Bridge, Databricks Lakebase, IBM and EDB had none.### Question 3: What is the difference between an official and a community Postgres MCP server?

An official server is maintained and documented by the database provider and can reach its control plane. Community servers such as Postgres MCP Pro or DBHub connect to any Postgres with a connection string and only run SQL.### Question 4: Which Postgres MCP servers are hosted, and which run locally?

Neon, Supabase, Prisma, Google, Aiven, PlanetScale, Xata, Render, DigitalOcean and ClickHouse run hosted remote servers with OAuth or API keys. AWS Labs, Microsoft, Tiger Data, pgEdge, Heroku and Oracle run locally over stdio.### Question 5: Can an AI agent create or branch a Postgres database through MCP?

Yes on Neon, Supabase (paid plan for branching), Prisma, Tiger Data, Aiven, Google Cloud SQL (clone) and Xata. PlanetScale's and ClickHouse's servers can list databases but not create them, and ClickHouse Managed Postgres is provisioned through its Cloud API, `clickhousectl` or Terraform.### Question 6: Is it safe to let an AI agent write to Postgres through MCP?

Use a read-only mode enforced by a database role or read-only transaction, scope the server to one project, and run migrations on a branch. Tool annotations and SQL parsers are hints, and AWS describes its blocklist as "not a security boundary".### Question 7: Do Amazon RDS and Aurora have an official MCP server?

Yes. The AWS Labs Postgres MCP server supports Aurora PostgreSQL and RDS for PostgreSQL, runs locally, and is read-only unless `--allow_write_query` is set. Aurora DSQL has a separate server.### Question 8: Does Google Cloud SQL have an MCP server?

Yes. Google runs a managed remote server at `sqladmin.googleapis.com/mcp` with IAM auth and a read-only toolset, and AlloyDB has its own endpoint. MCP Toolbox for Databases is a separate, self-hosted option.### Question 9: Does ClickHouse Managed Postgres have an MCP server?

Yes. The ClickHouse Cloud remote MCP server at `mcp.clickhouse.cloud/mcp` gives agents read-only SQL, slow-query patterns, metrics and logs for Managed Postgres services. It has no tools that create or change services.### Question 10: Should I still use `@modelcontextprotocol/server-postgres`?

No. It is archived with "no security guarantees", and a SQL-injection bypass of its read-only mode has been documented. Use your provider's official server or a maintained alternative.