FormingMCP serverclaude-codecodexcursorpublished fresh until

Let your agent inspect your Postgres database safely: Supabase, Neon or Postgres MCP Pro

Summary Give an agent scoped Postgres schema and query access through Supabase, Neon or Postgres MCP Pro. For the latter, start with --access-mode=restricted

Not for migration tests; see test-schema-change-on-neon-branch-before-main

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The options

Same job, different trade-offs. Pick one in Try it.

Option
AMCP server · v0.14.0Supabase MCP (official)
BMCP server · vunversionedNeon MCP (official)
How you use itYour agent calls its toolsYour agent calls its tools
What it can dowrites files · network · secrets access · runs shellinstalls software · writes files · network · secrets access · runs shell
What's inside
AMCP server · v0.14.0Supabase MCP (official)
How you use it
Your agent calls its tools
What it can do
writes files · network · secrets access · runs shell
What's inside
BMCP server · vunversionedNeon MCP (official)
How you use it
Your agent calls its tools
What it can do
installs software · writes files · network · secrets access · runs shell
What's inside

What this thread does

The need. Give the agent schema and query-plan evidence through a narrowly scoped database connection. As of November 2026, Supabase, Neon and Postgres MCP Pro retain different controls.

Do first: use a development branch or read-only role, scope to one project, and expose only the tool groups needed (Supabase guidance, Neon access controls).

  • Supabase MCP: hosted at https://mcp.supabase.com/mcp, OAuth login, no PAT needed. Use project_ref, read_only=true and features=database,docs to narrow access. The local CLI offers a smaller tool set; use the MCP URL from supabase status. As of November 2026, the repository package manifest is 0.19.0. Current docs recommend production access only when the task needs production evidence.
  • Neon MCP: hosted at https://mcp.neon.tech/mcp, with OAuth or API-key authentication. readonly=true, projectId, category and roleName limit access. OAuth URL parameters define a fixed authorization grant: changing the URL cannot widen an issued token; authorize again. run_sql uses READ ONLY transactions; run_sql_transaction is unavailable. A pinned role adds database-enforced grants and withholds its connection string. Management API tools still use your account's privileges, so combine role pinning with category and read-only controls. Neon recommends local development and IDE use rather than production (README).
  • Postgres MCP Pro: connects to any Postgres via DATABASE_URI, adding health, EXPLAIN and index-tuning tools. --access-mode=restricted uses read-only transactions and execution-time limits. Tagged release is v0.3.0; the commit history includes an August 2026 dependency pin. Install with pipx install postgres-mcp or use crystaldba/postgres-mcp; configure a read-only database role as well as restricted mode. Docker or Python 3.12+ is required (README).

Caveat. These servers act with your developer credentials. Prefer a dev branch or a read-only role over production.

Related: supabase-local-stack-per-worktree (a local database per agent worktree), duckdb-local-data-files-for-agents (local files) and data-analyst-plugin-sql-warehouse (company warehouses).

Sources

Started from a post by @supabase, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Let your agent inspect your Postgres database safely: Supabase, Neon or Postgres MCP Pro
Summary: Give an agent scoped Postgres schema and query access through Supabase, Neon or Postgres MCP Pro. For the latter, start with `--access-mode=restricted`

## Options
- A · Supabase MCP (official) · early, no verdict yet · writes files · network · secrets access · runs shell
- B · Neon MCP (official) · early, no verdict yet · installs software · writes files · network · secrets access · runs shell
Copy for agent
get the whatworks thread postgres-database-access-for-agents and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread postgres-database-access-for-agents

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Supabase MCP (official)

Supabase's hosted MCP server: manage tables, run queries, read config and docs for your Supabase projects. OAuth login via dynamic client registration. Scope it with ?project_ref=, ?read_only=true and ?features= on the URL.

Format
MCP server
Source
github:supabase/mcp#packages/mcp-server-supabase
Pinned
v0.14.0 · f46b3d2996d9
Content hash
f46b3d2996d93baa
Audit
scan passed
Can do
writes files · network · secrets access · runs shell
Works with
claude-code · codex · cursor
Check
The hosted Supabase MCP server is registered for this project; It is registered in read-only mode; It is scoped to one Supabase project
Author
@supabase
Kudos
0
Are you @supabase? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package supabase-mcp before installing

B · Neon MCP (official)

Neon's hosted MCP server for projects, branches, SQL queries, schema and performance diagnostics. OAuth or API key. URL parameters readonly, projectId, category and roleName restrict access; read-only mode runs SQL in READ ONLY transactions and withholds connection strings.

Format
MCP server
Source
github:neondatabase/mcp-server-neon
Pinned
vunversioned · 6955413b893f
Content hash
6955413b893f1361
Audit
scan passed
Can do
installs software · writes files · network · secrets access · runs shell
Works with
claude-code · cursor
Check
The hosted Neon MCP server is registered for this project; It is registered in read-only mode (SQL runs in READ ONLY transactions)
Author
@neondatabase
Kudos
0
Are you @neondatabase? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package neon-mcp before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package supabase-mcp

B · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package neon-mcp
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks