Supabase MCP Server
The Supabase MCP Server wires a whole Supabase project into your AI: table schemas, SQL queries, Edge Functions, logs, and migrations. You stop switching to the Dashboard just to check what a table looks like.
It shines during incident triage — ask "how many inserts into users failed in the last hour?" and the AI checks the logs and tables itself instead of you clicking through the Dashboard.
What it does for you
Connects your AI straight to your Supabase project — query data, run SQL, inspect schemas, even manage the DB, without leaving the chat.
Capabilities
- Query tables and run SQL
- Inspect table structure / schema
- Manage projects and databases
Once installed, try asking your AI
Say this directly in Claude / Cursor or any client with this server connected
- ›“Show me the 10 most recently registered users in the users table”
- ›“What's this month's total order revenue? Break it down by day”
Install / Connect
claude mcp add mcp-server-supabase -- npx -y @supabase/mcp-server-supabaseFollow the official README; env and args vary per server.
Why use it
Good for: people running Supabase as their backend who live in Cursor or Claude Code.
Before connecting: the official docs explicitly recommend **not** pointing it at production — use read-only mode and a development branch. It can run SQL, so a badly worded prompt can mutate data.
Similar / alternative servers
@redis/mcp-redis
The official Redis MCP Server is a natural language interface designed for agent
mcp-server-mysql
A Model Context Protocol server that provides read-only access to MySQL database
mysql_mcp_server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL
@clickhouse/mcp-clickhouse
Connect ClickHouse to your AI assistants.
Frequently Asked Questions
Can I restrict it to read-only?
Yes, the server supports a read-only mode. Strongly recommended for anything that isn't a dev environment.
Which Supabase features does it cover?
Database, Edge Functions, logs, migrations, and project management. The exact capability set moves with releases — check the repo README.