Supabase's official MCP server connects AI assistants to Supabase projects for table management, SQL execution, migrations, edge functions, logs, advisors and docs search. The hosted server uses OAuth dynamic client registration and supports read-only mode, project scoping and feature-group filtering via URL parameters.
Also available as
Connect
- 1Connect it in ChatGPT
Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.supabase.com/mcp as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.
- 2Or add it to Codex or the API
codex mcp add supabase --url https://mcp.supabase.com/mcp codex mcp login supabaseThe login command opens a browser to finish OAuth.
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 10
list_tablesexecute_sqlapply_migrationlist_migrationsget_logsget_advisorsgenerate_typescript_typesdeploy_edge_functionlist_edge_functionssearch_docsThings to ask
- “List the tables in my Supabase project”
- “Create a migration that adds a profiles table with RLS”
- “Generate TypeScript types for my database”
- “Check the security advisors for my project”