Home / Servers / Supabase Management API / v1_update_project_legacy_api_keys

Disable or re-enable JWT based legacy (anon, service_role) API keys. This API en

An MCP tool from the Supabase Management API server, hosted on mcp.hjlabs.in.

Disable or re-enable JWT based legacy (anon, service_role) API keys. This API endpoint will be removed in the future… [PUT /v1/projects/{ref}/api-keys/legacy]

Name on the gateway: supabase_api__v1_update_project_legacy_api_keys · may change things.

Parameters

NameTypeDescription
ref requiredstringProject ref
enabled requiredstringBoolean string. Truthy values: true, 1, yes, on, y, enabled Falsy values…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "supabase_api__v1_update_project_legacy_api_keys",
  "arguments": {
    "ref": "…",
    "enabled": "…"
  }
}

Or connect the Supabase Management API server directly, which lists 167 tools including this one:

Run in your terminal
claude mcp add --transport http hj-supabase-api https://mcp.hjlabs.in/mcp/supabase-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the disable or re-enable jwt based legacy (anon, service_role) api keys. this api en tool with ref set to ….

More from Supabase Management API