rls-check
v0.1.2Read-only Supabase RLS check: explains in Arabic which tables anyone can read or change.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rls_check_query RLS check: the read-only query
Returns a read-only SQL query that lists every table and view in the public schema of a Supabase (Postgres) project with its RLS state, grants to anon/authenticated, column names and policies. It reads no row of data. Run it in the project (SQL Editor, or a Supabase MCP execute_sql tool), then pass the single JSON result cell to rls_check_explain.
rls_check_explain RLS check: explain the result
Explains the output of rls_check_query table by table, worst first: which tables anyone with the public (anon) key can read or change, which any signed-in user can read across users, which are locked, which are safe. Findings are in Arabic for founders (labels also given in English) and link to Arabic lessons on muhandis.online. Works offline on the pasted result.
| Parameter | Type | Description |
|---|---|---|
result * | string | The JSON result cell of rls_check_query, as text (it starts with {"tool":"muhandis-rls-check"...) |