Home / Servers / Supabase Management API / v1_update_project_api_key
Updates an API key for the project
An MCP tool from the Supabase Management API server, hosted on mcp.hjlabs.in.
Updates an API key for the project [PATCH /v1/projects/{ref}/api-keys/{id}]
Name on the gateway: supabase_api__v1_update_project_api_key · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
ref required | string | Project ref |
id required | string | id parameter |
reveal | string | Boolean string. Truthy values: true, 1, yes, on, y, enabled Falsy values… |
name | string | |
description | string | |
secret_jwt_template | object |
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:
{
"name": "supabase_api__v1_update_project_api_key",
"arguments": {
"ref": "…",
"id": "…"
}
}Or connect the Supabase Management API server directly, which lists 167 tools including this one:
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 updates an api key for the project tool with ref set to ….