Direct answer
Supabase MCP lets a coding agent manage and query your Supabase projects: list and change tables, apply migrations, run SQL, read logs, deploy Edge Functions and fetch config. It runs over the remote URL https://mcp.supabase.com/mcp, or http://localhost:54321/mcp with the Supabase CLI running, needs Supabase sign-in through the browser, and exposes 40 tools.

What Supabase MCP does
Supabase MCP lets a coding agent manage and query your Supabase projects: list and change tables, apply migrations, run SQL, read logs, deploy Edge Functions and fetch config. It runs as a hosted remote server and signs you in to your Supabase organization through the browser.
Supabase maintains it. The latest release on npm is @supabase/mcp-server-supabase 0.16.1, published November 6, 2026. It is licensed under Apache-2.0.
How a coding agent uses Supabase MCP
The agent asks, Supabase MCP acts, and the result comes back into the session.

- The agent asks: Add the table this feature needs
- Supabase MCP acts: Applies a migration and regenerates TypeScript types
- The result comes back: The new table and typed client code
Install Supabase MCP in Claude Code
claude mcp add --scope project --transport http supabase "https://mcp.supabase.com/mcp"
# then, in a regular terminal:
claude /mcp
# select "supabase", then "Authenticate"Install Supabase MCP in Cursor
// .cursor/mcp.json
{
"mcpServers": {
"supabase": {
"url": "https://mcp.supabase.com/mcp"
}
}
}Install Supabase MCP in VS Code
// .vscode/mcp.json
{
"servers": {
"supabase": {
"type": "http",
"url": "https://mcp.supabase.com/mcp"
}
}
}Install Supabase MCP in Codex
codex mcp add supabase --url "https://mcp.supabase.com/mcp"
codex mcp login supabaseThe 40 tools Supabase MCP gives your agent
Supabase MCP lists these names in its own documentation, read on November 12, 2026. Your agent sees each one as a tool it can call.
- Database: list_tables, list_extensions, list_migrations, apply_migration, execute_sql
- Debugging: query_logs, get_advisors
- Development: get_project_url, get_publishable_keys, generate_typescript_types
- Edge Functions: list_edge_functions, get_edge_function, deploy_edge_function, create_edge_function_secret
- Account (hidden in project-scoped mode): list_projects, get_project, create_project, pause_project, restore_project, list_organizations, get_organization, get_cost, confirm_cost
- Docs: search_docs
- Branching (experimental, paid plan): create_branch, list_branches, delete_branch, merge_branch, reset_branch, rebase_branch
- Feedback (hidden in read-only mode): submit_feedback, delete_feedback
- Storage (off by default): list_storage_buckets, get_storage_config, update_storage_config
- Notebooks (hosted only): list_notebooks, get_notebook, create_notebook, run_notebook, delete_notebook
Settings worth knowing in Supabase MCP
| Setting | What it changes | Server |
|---|---|---|
read_only=true | What it changes Runs all queries as a read-only Postgres user. | Server Supabase MCP |
project_ref=<id> | What it changes Scopes the server to one project and disables account tools. | Server Supabase MCP |
features=<groups> | What it changes Enables only the listed groups, for example database,docs. | Server Supabase MCP |
skip_elicitations=<tools> | What it changes Skips form confirmations for create_project, create_branch, execute_sql, apply_migration, run_notebook or delete_notebook. | Server Supabase MCP |
Authorization: Bearer <personal access token> | What it changes Signs in without the browser, for CI environments. | Server Supabase MCP |
Sign-in, limits and caveats for Supabase MCP
Sign-in: Browser OAuth sign-in to your Supabase organization through dynamic client registration; no personal access token needed. For CI, a personal access token in an 'Authorization: Bearer ${SUPABASE_ACCESS_TOKEN}' header. Clients that need a client ID and secret can use a manually created Supabase OAuth app.
Limits and price: The server is open source under Apache-2.0, and Supabase's documentation states no separate price or rate limit for it. Branching tools, which are experimental, need a paid plan. create_project and create_branch can incur charges and ask for cost confirmation first. run_notebook runs at most 50 query cells per call and returns about 1 MB of rows.
- Prompt injection: data in your tables can carry instructions the LLM may follow; Supabase recommends manual tool-call approval, read-only mode, project scoping and restricted feature groups.
- Do not give the server to customers or end users: it runs with your developer permissions.
- The local CLI and self-hosted endpoints offer only a subset of tools and no OAuth 2.1; notebooks are not available there.
Use Supabase MCP for interface work
apply_migration, execute_sql and generate_typescript_types let an agent create the table a new feature needs and regenerate typed client code in the same session, then deploy_edge_function ships the backend logic.
Steal this workflow
Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.
Read the guide "Supabase MCP: install, tools and limits" at https://better-design.com/blog/supabase-mcp and help me apply it to my project.
Supabase MCP lets a coding agent manage and query your Supabase projects: list and change tables, apply migrations, run SQL, read logs, deploy Edge Functions and fetch config. It runs over the remote URL https://mcp.supabase.com/mcp, or http://localhost:54321/mcp with the Supabase CLI running, needs Supabase sign-in through the browser, and exposes 40 tools.
Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.
Questions
What does Supabase MCP do?
Supabase MCP lets a coding agent manage and query your Supabase projects: list and change tables, apply migrations, run SQL, read logs, deploy Edge Functions and fetch config. It runs as a hosted remote server and signs you in to your Supabase organization through the browser.
Does Supabase MCP need an API key or sign-in?
Browser OAuth sign-in to your Supabase organization through dynamic client registration; no personal access token needed. For CI, a personal access token in an 'Authorization: Bearer ${SUPABASE_ACCESS_TOKEN}' header. Clients that need a client ID and secret can use a manually created Supabase OAuth app.
Is Supabase MCP free?
The server is open source under Apache-2.0, and Supabase's documentation states no separate price or rate limit for it. Branching tools, which are experimental, need a paid plan. create_project and create_branch can incur charges and ask for cost confirmation first. run_notebook runs at most 50 query cells per call and returns about 1 MB of rows.
Which coding agents can use Supabase MCP?
Its documentation shows a setup for Claude Code, Cursor, VS Code, Codex. Any client that speaks MCP over the remote URL https://mcp.supabase.com/mcp, or http://localhost:54321/mcp with the Supabase CLI running can connect.
Where these Supabase MCP facts come from
Each fact on this page comes from Supabase MCP's own repository, documentation or package registry, read on November 12, 2026.
Related
Add design rules next to it
Supabase MCP gives the agent its tools. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.