What it does
`@supabase/mcp-server-supabase` connects Claude Code, Cursor, and Windsurf to your Supabase projects with built-in `--read-only` and `--project-ref` scoping flags so agents can inspect schemas, generate TypeScript types, and debug Postgres logs safely.
Features
- 01
First-class `--read-only` and `--project-ref` CLI flags for least-privilege database inspection
- 02
Generates accurate TypeScript types directly from live Postgres table definitions
- 03
Reads Postgres, Auth, and Edge Function logs for faster debugging
Who it is for
- Keeping frontend TypeScript types synchronized with a staging Supabase branch
- Writing SQL queries and RLS policies against real schema metadata
These scenarios and steps are editorial guidance based on the official product scope, not independent hands-on results.
Plans, quotas & access
How to read these conditions
A reference plan, not a complete price comparison. API billing, region, taxes and annual payment may differ. Official documentation review does not confirm a hands-on card or checkout test.
Pricing model
Not verifiedNot verifiedView evidence · Pricing model
The official page does not provide enough evidence for this condition.
Plan price
Pricing not verifiedNot verifiedView evidence · Plan price
The official page does not provide enough evidence for this condition.
Free access and quota
Not verifiedNot verifiedView evidence · Free access and quota
The official page does not provide enough evidence for this condition.
Official API
UnknownNot verifiedView evidence · Official API
The official page does not provide enough evidence for this condition.
Card for free / trial
UnknownNot verifiedView evidence · Card for free / trial
The official page does not provide enough evidence for this condition.
Getting started
Read the official setup guide at https://github.com/supabase-community/supabase-mcp#readme
npx -y @supabase/mcp-server-supabase@latest --read-only --project-ref=<PROJECT_REF>
Test read-only queries first and verify permission prompts in your MCP host.
These scenarios and steps are editorial guidance based on the official product scope, not independent hands-on results.
What to watch out for
- Always pass `--read-only` and point `--project-ref` at a development/branch database rather than live customer data
- Prompt injection inside untrusted database rows is a documented risk—avoid querying untrusted user text with write tools enabled
Evidence & updates
Official product information was reviewed. ToolAha has not claimed an independent hands-on test.
Profile reviewed: 2026-11-27 · Version 3