Deadbolt
Server Details
Check Supabase SQL for who can read and write each table: RLS gaps, open policies, grants, fix SQL.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 2 tools
The two tools are a clean pipeline: one emits a read-only catalog SQL query, the other analyzes migration SQL or that catalog JSON. Their triggers (live project vs. migration SQL) are explicitly distinguished, so an agent can pick correctly with no overlap.
Both names share the `deadbolt_` prefix and snake_case convention, which makes them obviously a matched pair. Minor deviation: `catalog_query` is a noun phrase while `check_supabase_access` is verb-led, but the grouping is still readable.
Two tools is thin in absolute terms, but they form a deliberate inspect-then-analyze workflow for a narrow security-audit purpose, so neither is padding. Slightly under-scoped only because a lot of capability is packed into a single analysis tool.
Coverage of the stated domain is strong: both the live-database state and migration-file paths are handled, and the analysis returns findings plus ready-to-run fix SQL, which closes the loop. Gaps are minor — no dedicated tool for verifying post-fix state or for exporting a standalone report, though replaying the SQL effectively serves verification.
Available Tools
2 toolsdeadbolt_catalog_queryGet the read-only SQL that snapshots a live Supabase database for DeadboltARead-onlyIdempotentInspect
Use when you need to check a live Supabase project rather than migration files: returns a read-only SQL query that reads table RLS settings, grants for anon and authenticated, policies, SECURITY DEFINER functions and storage buckets (never row data) and returns one JSON value. Run it with the user's Supabase SQL Editor or a Supabase MCP execute_sql tool, then pass the JSON to deadbolt_check_supabase_access.
Inputs: no named parameters.
deadbolt_check_supabase_accessCheck who can read and write Supabase tables (RLS, policies, grants)ARead-onlyIdempotentInspect
Use when you write, review or are about to apply Supabase / PostgreSQL migration SQL (CREATE TABLE, RLS, CREATE POLICY, GRANT, views, SECURITY DEFINER functions, storage buckets), or when a user asks whether their Supabase data is exposed, whether RLS is set up right, or why a query returns 42501 permission denied or no rows. Replays the SQL with real Postgres rules and returns, per table, what signed-out (anon) and signed-in (authenticated) users can SELECT/INSERT/UPDATE/DELETE (all rows, own rows, some rows, none, or denied for a missing grant), plus findings with severity and ready-to-run fix SQL: RLS off, policies written but RLS never enabled, using(true) writes, personal columns readable by anyone, views that bypass RLS, SECURITY DEFINER functions anyone can call, user_metadata in policies, public bucket listing, grants missing after the Oct 30 2026 default change. Also accepts the JSON produced by deadbolt_catalog_query for the live database. Deterministic; never connects to any database. Up to 200,000 characters.
Inputs: sql (required), project_created_before_2026_10_30.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Test two-user PostgreSQL races from SQL or public migrations. Review Supabase RLS and grants.
Finds personal-data leaks in Supabase/Lovable apps: free RLS and headers checks, proven fixes.
Supabase RLS simulator, app key-leak check, email sender check, DMARC and payment-fraud checks.
Security checks for Next.js + Supabase apps: code scan, read-only live DB check, fix confirmation.
Related MCP Servers
- AlicenseAqualityBmaintenanceRead-only Supabase Row Level Security review. Analyzes an exported catalog query (no keys needed) for RLS turned off, policies that are just true, anon-callable SECURITY DEFINER functions, views exposing auth.users, public Storage buckets and more, and explains each rule.5192 PyPIMIT
- AlicenseBqualityBmaintenanceRead-only security audit for Supabase. Surfaces RLS gaps, permissive policies, exposed functions and grants, and returns scored findings with fix SQL that is never executed.450MIT
- AlicenseAqualityDmaintenanceAudits PostgreSQL/Supabase schemas for security issues like missing RLS, permissive policies, and sensitive data exposure during AI conversations.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to audit Supabase or Postgres databases for Row Level Security and multi-tenant isolation holes, reading tables, grants, policies and functions for static findings and optionally probing those policies inside a rolled-back transaction. It reports each hole with an explanation and a fix, so an agent can verify the migrations it just wrote before declaring them done.1MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.