Supabase MCP by usefulapi
v1.2.1Check project health and advisors, run read-only SQL, manage Edge Function secrets in Supabase.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
supabase_get_profile Get the account profile
Return the Supabase account that owns the access token: username and primary email. Use it to confirm which account is connected. Management API: GET /v1/profile.
supabase_list_organizations List organizations
List the organizations the account can access, with id, slug, and name. Use the slug to filter projects. Management API: GET /v1/organizations.
supabase_list_projects List projects
List all projects the account can access: ref, name, region, status, organization, and creation date. Start here to find a project ref. Management API: GET /v1/projects.
supabase_get_project Get a project
Get one project by ref: name, region, status, organization, creation date, and database details. Management API: GET /v1/projects/{ref}.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_get_project_health Get project service health
Check the health of selected project services (auth, db, pooler, realtime, rest, storage, pg_bouncer). Each result has status ACTIVE_HEALTHY, COMING_UP, or UNHEALTHY. Management API: GET /v1/projects/{ref}/health.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
services * | array | Services to check, for example ["auth", "db", "rest"]. |
timeout_ms | integer | Per-service timeout in milliseconds (0-10000). |
supabase_list_branches List database branches
List the database branches of a project (preview branching), with status, parent project, and whether each is the default. Management API: GET /v1/projects/{ref}/branches.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_list_functions List edge functions
List the Edge Functions deployed to a project: slug, status, version, and whether JWT verification is on. Management API: GET /v1/projects/{ref}/functions.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_get_function Get an edge function
Get one Edge Function's metadata by slug: status, version, verify_jwt, and entrypoint. It does not return the function source. Management API: GET /v1/projects/{ref}/functions/{function_slug}.
| Parameter | Type | Description |
|---|---|---|
function_slug * | string | The function slug (from supabase_list_functions). |
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_list_storage_buckets List storage buckets
List the Storage buckets of a project with name, owner, public flag, and timestamps. Management API: GET /v1/projects/{ref}/storage/buckets.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_list_secret_names List secret names
List the names and last-update times of a project's Edge Function secrets. Secret values are never returned. Management API: GET /v1/projects/{ref}/secrets (values removed).
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_list_migrations List applied migrations
List the database migrations applied to a project, by version and name, in order. Management API: GET /v1/projects/{ref}/database/migrations.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_get_security_advisors Get security advisor findings
Return the security lints for a project (for example tables without row level security, or exposed definitions). Management API: GET /v1/projects/{ref}/advisors/security.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_get_performance_advisors Get performance advisor findings
Return the performance lints for a project (for example unindexed foreign keys or slow policies). Management API: GET /v1/projects/{ref}/advisors/performance.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_get_typescript_types Generate TypeScript types
Generate TypeScript types for the database schemas of a project (default schema: public). Management API: GET /v1/projects/{ref}/types/typescript.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
included_schemas | string | Comma-separated schema names, for example "public,auth". Default: public. |
supabase_run_read_only_query Run a read-only SQL query
Run one SQL query on a project's database as the read-only role. Writes and DDL are rejected by the database. Use it to inspect data or counts. Management API: POST /v1/projects/{ref}/database/query/read-only.
| Parameter | Type | Description |
|---|---|---|
query * | string | One SQL statement to run (read-only role). |
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
parameters | array | Optional positional parameters for $1, $2 placeholders. |
supabase_set_secrets Set Edge Function secrets
Create or overwrite Edge Function secrets for a project (up to 100 per call). Names must not start with SUPABASE_. Values are sent to Supabase and never echoed back. Management API: POST /v1/projects/{ref}/secrets.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
secrets * | array |
supabase_delete_secrets Delete Edge Function secrets
Delete Edge Function secrets by name. Functions that read a deleted secret stop working until it is set again. Management API: DELETE /v1/projects/{ref}/secrets.
| Parameter | Type | Description |
|---|---|---|
names * | array | Secret names to delete. |
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_pause_project Pause a project
Pause a project. Its database and APIs stop serving requests until it is restarted. Use only when the user asks for it. Management API: POST /v1/projects/{ref}/pause.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |
supabase_restart_project Restart a project
Restart a project's services. Open connections are closed during the restart. Management API: POST /v1/projects/{ref}/restart.
| Parameter | Type | Description |
|---|---|---|
ref * | string | The project ref (20 lowercase letters, from supabase_list_projects). |