← Registry
MCP Official

Supabase MCP Server

Official MCP server that connects AI assistants like Cursor, Claude, and Windsurf to your Supabase projects to manage tables, query data, deploy edge functions, and handle config.

Install

npx -y @supabase/mcp-server-supabase@latest --read-only --project-ref=<project-ref>
$

An MCP server that connects assistants like Cursor, Claude, and Windsurf to your Supabase projects so they can manage tables, run SQL and migrations, deploy Edge Functions, fetch config and logs, and search the docs. Tools are grouped into feature areas (Account, Database, Edge Functions, Storage, Branching, and more) that you can selectively enable. Add the read_only flag to run queries as a read-only Postgres user and project_ref to scope it to a single project - both recommended, since the server otherwise reaches your whole account.