Skip to main content

Supabase

Manage Supabase organizations, projects, databases, branches, migrations, auth config, edge functions, secrets, and API keys.

What you can ask​

  • List the largest tables in the prod schema by row count.
  • Find rows in users created in the last 24 hours.
  • Show me Edge Functions invoked more than 10,000 times in the last 7 days.

Set up​

Supabase connects with credentials from your Supabase account. Have these values ready:

  • Access token
  1. Go to Organization > Connectors and find Supabase.
  2. Click Enable and choose which tools to allow.
  3. Each member enters their own values the first time they use it.

To use one account for the whole organization, turn on Share one connection with everyone. Every member's agents then act as that account, with exactly the access it has.

Tools​

Supabase offers 42 tools. Admins choose which ones agents can use. See Tool permission groups.

Read (19)​

View and search information without changing it.

ToolWhat it does
diff_branchGet the SQL diff between a database branch and its parent project.
get_api_keyGet details of a specific API key.
get_auth_configGet the auth configuration for a Supabase project.
get_branchGet details of a database branch by ID.
get_branch_by_nameGet a database branch by name.
get_edge_functionGet details of an edge function.
get_projectGet details of a Supabase project by its reference ID.
get_project_healthGet health status of a Supabase project's services.
get_snippetGet a SQL snippet's details and content by ID.
list_api_keysList all API keys for a Supabase project.
list_branchesList all database branches for a Supabase project.
list_edge_functionsList all edge functions for a Supabase project.
list_migrationsList database migration history for a Supabase project.
list_organization_membersList members of a Supabase organization.
list_organizationsList all organizations the authenticated user belongs to.
list_projectsList all Supabase projects the authenticated user has access to.
list_secretsList all secrets for a Supabase project.
list_snippetsList all SQL snippets accessible to the authenticated user.
validate_credentialValidate Supabase credentials by making a test API call.

Write (5)​

Create or send data.

ToolWhat it does
create_api_keyCreate a new API key for a Supabase project.
create_branchCreate a new database branch for a Supabase project.
create_edge_functionCreate a new edge function in a Supabase project.
create_migrationCreate and execute a database migration for a Supabase project.
create_projectCreate a new Supabase project in an organization.

Delete or overwrite (18)​

Remove or replace existing data.

ToolWhat it does
create_secretsCreate or update secrets for a Supabase project (bulk).
delete_all_branchesDelete all database branches for a project.
delete_api_keyDelete an API key from a Supabase project.
delete_branchDelete a database branch.
delete_edge_functionDelete an edge function from a Supabase project.
delete_projectDelete a Supabase project.
delete_secretsDelete secrets from a Supabase project by name (bulk).
execute_queryExecute a SQL query against a Supabase project's database.
merge_branchMerge a database branch into the parent project.
pause_projectPause a Supabase project.
push_branchPush a database branch's migrations to the parent project.
reset_branchReset a database branch to match the parent project's schema.
restore_projectRestore a paused Supabase project.
update_api_keyUpdate an API key's name or description.
update_auth_configUpdate auth configuration for a Supabase project.
update_branchUpdate a database branch's name or git branch association.
update_edge_functionUpdate an edge function's name, body, or JWT settings.
update_projectUpdate a Supabase project's name.
⌘J