Rls Doctor
Audits Postgres/Supabase RLS and runs rollback-only probes to verify row access.
Install Rls Doctor
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"rls-doctor": {
"command": "npx",
"args": [
"-y",
"rls-doctor"
],
"env": {
"DATABASE_URL": "YOUR_VALUE_HERE",
"SUPABASE_DB_URL": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.
npx -y rls-doctorNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Audit Supabase schemas for high-risk RLS policies
- Probe cross-tenant row visibility for application roles
- Explain the effective RLS configuration of a table
- Run read-only RLS checks against a production replica
- Compare static policy analysis with disposable-database behavior
Key features
- PostgreSQL and Supabase RLS catalog auditing
- Rollback-only behavioral row-access probes
- Role, membership, grant, and default-privilege analysis
- Severity-based findings with JSON and SARIF output
- Schema-file and migration analysis without a database
- Read-only MCP tools over stdio
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 9d ago via OSV.dev · rls-doctor (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Rls Doctor works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Rls Doctor
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/rls-doctor)<a href="https://allmcps.com/mcp/rls-doctor"><img src="https://allmcps.com/api/badge/rls-doctor?style=directory" alt="Rls Doctor on AllMCPs" /></a>