Forge — Supabase RLS & Debugging MCP Server
v0.1.1Supabase Edge Functions MCP server with allowlisted tools and PostgreSQL RLS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_tables
List public tables and columns.
list_policies
List RLS policies on public tables.
list_functions
List public SQL functions.
explain_query
Run EXPLAIN (FORMAT JSON) on a read-only query.
| Parameter | Type | Description |
|---|---|---|
sql * | string |
propose_rls
Draft an RLS policy. Does NOT apply it.
| Parameter | Type | Description |
|---|---|---|
intent * | string | |
table * | string |
run_readonly_sql
Execute a single SELECT/WITH query as the signed-in user (RLS applies).
| Parameter | Type | Description |
|---|---|---|
sql * | string |