Home / Servers / Supabase Management API / v1_get_project_logs
Gets all project's logs in a single log stream
An MCP tool from the Supabase Management API server, hosted on mcp.hjlabs.in.
Gets all project's logs in a single log stream Executes an SQL or LQL query on the project's unified logs stream. Either the iso_timestamp_start and iso_timestamp_end parameters must be provided. If both are not provided, only the last 1 minute… [GET /v1/projects/{ref}/analytics/endpoints/logs]
Name on the gateway: supabase_api__v1_get_project_logs · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
ref required | string | Project ref |
sql | string | Custom SQL query to execute on the logs. See querying logs for more details. |
iso_timestamp_start | string | iso_timestamp_start parameter |
iso_timestamp_end | string | iso_timestamp_end parameter |
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_get_project_logs",
"arguments": {
"ref": "…"
}
}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 gets all project's logs in a single log stream tool with ref set to ….