Allow Supabase MCP to access logs #34416
Replies: 4 comments
-
|
This feature would be life changing. +1 |
Beta Was this translation helpful? Give feedback.
-
|
+1 |
Beta Was this translation helpful? Give feedback.
-
|
+1, this one really hurts. My current debug loop on Edge Functions: function errors in prod, I hand it to Claude Code via MCP, it pulls schema, reads migrations, queries tables. Then it hits a wall because it cannot see the logs. So I alt-tab into the dashboard, open Logs, pick the source (Edge Functions / Postgres / API / Auth), set a time range, scroll, copy the stack trace, paste it back into the chat. Every single time. Everything else in the loop is already programmatic. This one step is the only reason I still keep the dashboard tab open. For intermittent bugs where you want to correlate logs across several invocations it basically kills the workflow, a 30 second fix turns into a 5 minute context switch, and anything you cannot reproduce locally is back to manual spelunking. What would help:
The data is already sitting in Logflare and Studio already queries it, there is no new infrastructure needed, only a programmatic surface on top. Even read only, rate limited, last 24 hours would cover most of the AI debugging cases I care about. Would really appreciate if this got some priority. Right now it is the one big gap between MCP being useful and MCP being the main way I debug. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I find Supabase MCP to be extremely valuable. Querying schema is great, but the real superpower is that MCP helps me quickly debug data related issues, like implementing role based permission in a project. I now have to use the Studio much less often.
One thing that I still have to do manually in Studio is check logs. It would be amazing if I could use your MCP to access the contents of all the logs in /logs and also specific Edge Function logs.
Closing this loop would make LLM accelerated dev with Supabase truly amazing. The speed and ease of developing postgres functions and Edge Functions would greatly increase if the LLM could see the errors and console logs.
note: Maybe I am asking you to open the various logs in a logs schema, which can just be sql queried? But I don't care about that feature to be honest. If I could just use MCP to access the logs, that would be enough for me.
Beta Was this translation helpful? Give feedback.
All reactions