Supabase
The official Supabase MCP server connects AI assistants to your Supabase projects to manage tables, run SQL, apply migrations, inspect logs and security advisors, deploy Edge Functions, generate TypeScript types, and administer projects, database branches, and storage buckets across your organization.
Install Supabase
- Published by
- Official (vendor)
- Transport
- Remote (HTTP)
- Authentication
- OAuth
Claude Desktop, Claude Code and Cursor
Add this to the mcpServers object in your client's
config file, then restart the client.
{
"mcpServers": {
"supabase": {
"type": "http",
"url": "https://mcp.supabase.com/mcp"
}
}
}
VS Code uses a different key — show that config
Identical entry, filed under servers rather than
mcpServers. Put it in
.vscode/mcp.json for one workspace.
{
"servers": {
"supabase": {
"type": "http",
"url": "https://mcp.supabase.com/mcp"
}
}
}
Before it will answer
Dynamic client registration by default, so no personal access token is required — the client prompts you to log in during setup. CI runs pass a personal access token as a bearer token instead. Local development points at http://localhost:54321/mcp.
Tools
apply_migration
Apply a named SQL migration to the connected Supabase database.
create_branch
Create a new database branch for isolated development.
create_project
Create a new Supabase project within one of your organizations.
deploy_edge_function
Deploy a new Supabase Edge Function or update an existing one.
execute_sql
Execute a raw SQL query against the connected Supabase database.
generate_typescript_types
Generate TypeScript types from the database schema.
get_advisors
Get security and performance advisor findings for the project.
get_edge_function
Retrieve the source and metadata of an Edge Function.
get_logs
Retrieve service logs for API, Postgres, Auth, or Storage.
get_project
Retrieve configuration and status details for a Supabase project.
get_project_url
Get the API URL for the connected Supabase project.
get_publishable_keys
Get the publishable and anon API keys for the project.
list_branches
List the database branches that exist for the project.
list_edge_functions
List all Supabase Edge Functions deployed in the current project.
list_extensions
List the available and installed Postgres extensions.
list_migrations
List the database migrations applied to the project.
list_projects
List the Supabase projects available in your account or organization.
list_storage_buckets
List the storage buckets configured for the project.
list_tables
List all tables in the connected Supabase database.
merge_branch
Merge a development database branch into production.
pause_project
Pause a Supabase project to temporarily stop its running resources.
restore_project
Restore a Supabase project that was previously paused to active state.
search_docs
Search the official Supabase documentation for a topic or guide.