Data as of

Supabase MCP Server for Cursor: Setup & Config

Connect Cursor to Supabase projects for SQL, schema changes, debugging, and Edge Functions.

What you can do with Supabase in Cursor

A broad Supabase development interface with explicit project scoping and read-only controls.

  • Inspect project tables and run data queries.
  • Generate TypeScript types and deploy Edge Functions.
  • Manage development branches when the plan supports them.

Before you start: Supabase in Cursor

  • A Supabase account with access to the intended organization
  • An MCP client supporting hosted HTTP connections

No runnable server launch command is stated in the provided README. Configure the hosted URL and complete the client login flow. The README recommends project_ref scoping and read_only=true.

Supabase Cursor configuration

  1. Choose Cursor configuration scope

    For Supabase MCP Server, open Project: .cursor/mcp.json User: ~/.cursor/mcp.json. Merge into mcpServers at project or user scope.

  2. Add Supabase MCP Server to Cursor

    Use the supabase-mcp entry below in mcpServers. Keep Supabase MCP Server's documented http connection fields and your other Cursor entries.

  3. Check Supabase MCP Server in Cursor

    Supabase MCP Server: Enable in Cursor’s MCP settings; inspect tools.

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

JSON
{
  "mcpServers": {
    "supabase-mcp": {
      "url": "https://mcp.supabase.com/mcp"
    }
  }
}

Supabase tools available to Cursor

Supabase's stored tool list documents 33 tools; compare it with Cursor's connected tool list, because the stored list is not a live check.

search_docs

Find search_docs under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Search current Supabase documentation through a GraphQL request.

list_organizations

Find list_organizations under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

get_organization

Find get_organization under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

list_projects

Find list_projects under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

get_project

Find get_project under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

get_cost

Find get_cost under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

confirm_cost

Find confirm_cost under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

create_project

Find create_project under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

pause_project

Find pause_project under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

restore_project

Find restore_project under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

list_tables

Find list_tables under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

list_extensions

Find list_extensions under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

list_migrations

Find list_migrations under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

apply_migration

Find apply_migration under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

execute_sql

Find execute_sql under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

query_logs

Find query_logs under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

get_logs

Find get_logs under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

get_advisors

Find get_advisors under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Retrieve security and performance advisory notices for a project.

get_project_url

Find get_project_url under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Retrieve a project's API endpoint address.

get_publishable_keys

Find get_publishable_keys under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Retrieve client-safe publishable and legacy anonymous project keys.

generate_typescript_types

Find generate_typescript_types under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Create TypeScript definitions reflecting a project's database schema.

list_edge_functions

Find list_edge_functions under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Inspect the Edge Functions deployed to a project.

get_edge_function

Find get_edge_function under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Read the files belonging to an Edge Function.

deploy_edge_function

Find deploy_edge_function under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Deploy a new Edge Function or update one with a new version.

create_branch

Find create_branch under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Create a development database branch with production migrations but without production data.

list_branches

Find list_branches under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Inspect development branches and their operation status.

delete_branch

Find delete_branch under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Remove a development branch.

merge_branch

Find merge_branch under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Promote a branch's migrations and Edge Functions into production.

reset_branch

Find reset_branch under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Reset branch migrations, discarding untracked schema or data changes.

rebase_branch

Find rebase_branch under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Apply newer production migrations to a development branch.

list_storage_buckets

Find list_storage_buckets under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Inspect the storage buckets available in a project.

get_storage_config

Find get_storage_config under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Read project storage settings.

update_storage_config

Find update_storage_config under Supabase in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Change project storage settings; the README requires a paid plan.

Supabase: full stored tool descriptions

Troubleshooting Supabase in Cursor

  • Enable Supabase MCP Server in Cursor's MCP settings and inspect its tools. For mcp.supabase.com, check reachability, transport, and credential expiry if authentication fails.
  • Supabase MCP Server: check http connectivity to mcp.supabase.com from Cursor; a stdio command is not a replacement for this endpoint.
  • Transport mismatch: Supabase's catalog lists stdio; the displayed Cursor configuration uses http.
  • Known limitation: Broad access can mutate project data and infrastructure unless restricted.
  • Known limitation: Branching is experimental and requires a paid plan.
  • Known limitation: Local and self-hosted MCP variants provide fewer tools and lack OAuth 2.1.
  • General Cursor troubleshooting lives in the /clients/cursor guide.

Supabase MCP Server — details. Cursor guide

Frequently asked questions

Cursor's Supabase MCP Server entry belongs under mcpServers in .cursor/mcp.json (project) or ~/.cursor/mcp.json (user). Confirm the active scope in MCP settings.