Official · by supabase

Supabase MCP server

The Supabase MCP server lets an AI assistant manage tables, run SQL, handle migrations, and work with Edge Functions in a Supabase project.

  • Hosted (remote)
  • Apache-2.0 licence
  • ★ 2,961 on GitHub
  • Verified against its source 19 Oct 2026

What the Supabase MCP server does

An assistant can list tables and extensions, apply and list migrations, execute SQL and read project logs, and check security and performance advisors. It can also fetch project URLs and API keys, generate TypeScript types, deploy and inspect Edge Functions, and search Supabase documentation. The hosted server is reached at a remote https://mcp.supabase.com/mcp URL.

Tools it gives your assistant

16 tools or toolsets, as its documentation lists them.

  • list_tables Lists tables in the database
  • list_extensions Lists available or installed Postgres extensions
  • list_migrations Lists database migrations
  • apply_migration Applies a database migration
  • execute_sql Runs SQL queries
  • query_logs
  • get_advisors Gets security and performance advisors
  • get_project_url Gets the API URL for a project
  • get_publishable_keys Gets publishable and legacy anon API keys
  • generate_typescript_types Generates TypeScript types from schema
  • list_edge_functions Lists Edge Functions
  • get_edge_function Gets a specific Edge Function
  • deploy_edge_function Deploys an Edge Function
  • create_edge_function_secret Requests secret entry in the Dashboard when available
  • search_docs Searches Supabase documentation
  • list_storage_buckets Lists storage buckets

How to install it

Hosted server

Add this address to your assistant's MCP settings:

https://mcp.supabase.com/mcp

What you need

In the supabase documentation's own words:

  • “By default the hosted Supabase MCP server uses dynamic client registration to authenticate with your Supabase org”
  • “To authenticate the MCP server in a CI environment, create a scoped personal access token (PAT) and pass it as a header”
  • “Branching (experimental) # Requires a paid plan”
  • “Storage (disabled by default) #”

Commands and settings change between versions. Check the official instructions before you install.