| name | Supabase Explorer |
| description | Advanced database operations tool. Use this for complex SQL queries, schema inspection, and database migrations. |
Supabase Explorer Skill
You now have access to the full capabilities of the Supabase MCP server.
When to use
Use this skill when the user asks for:
- Database schema details or table structures
- Complex SQL query execution
- Running or listing migrations
- Debugging database performance
Available Tools (Context Loaded)
The following tools are available via the supabase-mcp-server:
Inspection
mcp__supabase-mcp-server__list_tables: See all tables in the database.mcp__supabase-mcp-server__list_columns: (If available) inspect specific table columns.mcp__supabase-mcp-server__get_advisors: Check for security/performance issues.
Execution
mcp__supabase-mcp-server__execute_sql: Run raw SQL. WARNING: Ensure queries are read-only unless explicitly asked to modify data.mcp__supabase-mcp-server__apply_migration: Apply DDL changes.
Logs & Debugging
mcp__supabase-mcp-server__get_logs: Fetch logs forpostgres,auth,api, etc.
Best Practices
- Always inspect schema first: Before writing a complex join, run
list_tablesorexecute_sqlwith a simple SELECT to understand the schema. - Limit results: When querying, always use
LIMITto avoid flooding the context. - Safety: Double-check
WHEREclauses on UPDATE/DELETE operations.
Example Workflow
- User: "Why is the user query slow?"
- Agent: Calls
mcp__supabase-mcp-server__get_advisors. - Agent: Calls
mcp__supabase-mcp-server__execute_sqlwithEXPLAIN ANALYZE ....