Supabase MCP server
- MCP server
- 27 callable tools
- 6 capabilities
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.
| Tool | What it does |
|---|---|
list_ | List all tables in the database |
list_ | List available/installed Postgres extensions |
list_ | List database migrations |
apply_ | Apply a database migration |
execute_ | Execute SQL queries |
query_ | Run a read-only SQL query against project logs to filter, aggregate, or join across log fields. |
get_ | Get security and performance advisors |
get_ | Get the API URL for a project |
get_ | Get publishable and legacy anon API keys for a project |
generate_ | Generate TypeScript types from schema |
list_ | List all Edge Functions |
get_ | Get a specific Edge Function |
deploy_ | Deploy an Edge Function |
create_ | When available, request secret entry in the Supabase Dashboard. |
list_ | / get_project - List or get project details |
create_ | / pause_project / restore_project - Manage projects |
list_ | / get_organization - Organization management |
get_ | / confirm_cost - Cost information for tools that use the legacy cost confirmation workflow |
search_ | Search Supabase documentation |
create_ | / list_branches / delete_branch - Branch management |
merge_ | / reset_branch / rebase_branch - Branch operations |
submit_ | Send feedback about Supabase tools to the Supabase team |
delete_ | Delete feedback using the token returned by submit_feedback |
list_ | / get_notebook - List or get project notebooks |
create_ | Create a notebook with Markdown, database, and log cells |
run_ | Run up to 50 query cells in a notebook, or only selected cells |
delete_ | Delete a notebook. See Notebook confirmations. |
Installation
Follow the installation guide for supported clients, authentication and required permissions.
Add Supabase MCP server to Claude Code
Run this in your terminal:
If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.
Add Supabase MCP server to Cursor
Add it with the Add to Cursor button below, or add it to .cursor/mcp.json in your project (~/.cursor/mcp.json for every project):
Add Supabase MCP server to VS Code
Add it to .vscode/mcp.json in your workspace. VS Code uses servers rather than mcpServers. Or run MCP: Add Server from the Command Palette and choose HTTP.
Add Supabase MCP server to Codex
Run this in your terminal:
Or add it to ~/.codex/config.toml:
If the server uses OAuth, sign in with codex mcp login supabase.
Add Supabase MCP server to Claude
Add it as a custom connector with this URL:
- Open Customize, then Connectors.
- Click + Add, then Add custom connector.
- Name it, paste the URL and click Continue.
- Choose how to sign in, then click Add.
On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.
Add Supabase MCP server to other clients
For any other client that connects to remote MCP servers over HTTP, use this URL:
Sources
Documentation and source code reviewed on 10 November 2026.