MCP server: Investigate query errors
The PlanetScale MCP server can now pull query errors from Insights to help debug failing queries.
Two new tools:
planetscale_list_query_error_patterns— failing queries on a branch, grouped by error fingerprintplanetscale_list_query_error_executions— the individual failed executions behind a given error fingerprint, including the normalized SQL and other metadata
Try it out with questions like:
- "What queries are failing on my production branch?"
- "Show me the most frequent errors from the last hour"
- "Find the actual queries behind that duplicate key error"