Skip to content

Supabase MCP server

  • MCP server
  • 27 callable tools
  • 6 capabilities
Installation guide

Overview

Supabase publishes this MCP server, which connects AI assistants to Supabase projects. It works with Supabase databases, Edge Functions, storage, branches and project settings.

Capabilities:

  • Query and change Postgres tables and run SQL
  • Apply and list database migrations
  • Deploy and inspect Edge Functions
  • Create, merge and manage project branches and projects
  • Search Supabase documentation
  • Read project logs and security and performance advisors

Works with

The products your agent can work with through this server.

Tools

The callable functions your agent uses to work with this server.

Supabase MCP server tools
ToolWhat it does
list_tablesList all tables in the database
list_extensionsList available/installed Postgres extensions
list_migrationsList database migrations
apply_migrationApply a database migration
execute_sqlExecute SQL queries
query_logsRun a read-only SQL query against project logs to filter, aggregate, or join across log fields.
get_advisorsGet security and performance advisors
get_project_urlGet the API URL for a project
get_publishable_keysGet publishable and legacy anon API keys for a project
generate_typescript_typesGenerate TypeScript types from schema
list_edge_functionsList all Edge Functions
get_edge_functionGet a specific Edge Function
deploy_edge_functionDeploy an Edge Function
create_edge_function_secretWhen available, request secret entry in the Supabase Dashboard.
list_projects/ get_project - List or get project details
create_project/ pause_project / restore_project - Manage projects
list_organizations/ get_organization - Organization management
get_cost/ confirm_cost - Cost information for tools that use the legacy cost confirmation workflow
search_docsSearch Supabase documentation
create_branch/ list_branches / delete_branch - Branch management
merge_branch/ reset_branch / rebase_branch - Branch operations
submit_feedbackSend feedback about Supabase tools to the Supabase team
delete_feedbackDelete feedback using the token returned by submit_feedback
list_notebooks/ get_notebook - List or get project notebooks
create_notebookCreate a notebook with Markdown, database, and log cells
run_notebookRun up to 50 query cells in a notebook, or only selected cells
delete_notebookDelete a notebook. See Notebook confirmations.

Installation

Add Supabase MCP server to Claude Code

Run this in your terminal:

claude mcp add --transport http supabase https://mcp.supabase.com/mcp

If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.

Sources

Documentation and source code reviewed on 10 November 2026.