Prerequisites
Before you begin, create an account and get your API Key.
Getting started
Connect to Supabase to manage database projects, execute SQL queries, handle migrations, and automate backend development workflows through AI agents.- API
- UI
- Open Source
1
Install the SDKs (optional)
2
Create a Strata MCP Server with Supabase
3
Authenticate
- OAuth (Recommended)
- API Key
Your Supabase MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.
Video Tutorial
Available Tools
Tools Information
Tools Information
Tool Name | Description |
---|---|
supabase_list_projects | Lists all Supabase projects for the user |
supabase_get_project | Gets details for a Supabase project |
supabase_get_cost | Gets the cost of creating a new project or branch |
supabase_confirm_cost | Ask the user to confirm their understanding of the cost |
supabase_create_project | Creates a new Supabase project |
supabase_pause_project | Pauses a Supabase project |
supabase_restore_project | Restores a Supabase project |
supabase_list_organizations | Lists all organizations that the user is a member of |
supabase_get_organization | Gets details for an organization including subscription plan |
supabase_list_tables | Lists all tables in a schema |
supabase_list_extensions | Lists all extensions in the database |
supabase_list_migrations | Lists all migrations in the database |
supabase_apply_migration | Applies a migration to the database |
supabase_execute_sql | Executes raw SQL in the Postgres database |
supabase_get_logs | Gets logs for a Supabase project by service type |
supabase_get_project_url | Gets the API URL for a project |
supabase_get_anon_key | Gets the anonymous API key for a project |
supabase_generate_typescript_types | Generates TypeScript types for a project |
supabase_create_branch | Creates a development branch on a Supabase project |
supabase_list_branches | Lists all development branches of a Supabase project |
supabase_delete_branch | Deletes a development branch |
supabase_merge_branch | Merges migrations and edge functions from a development branch to production |
supabase_reset_branch | Resets migrations of a development branch |
supabase_rebase_branch | Rebases a development branch on production |
For more details about tool input schema, use the get_tools API.