Security MCP servers compared
The best MCP server for checking Supabase RLS depends on what you can hand it.
You can ask Claude, ChatGPT, Cursor or Codex to check your app’s security through an MCP server. Some read your repo, some read your live Supabase project, some scan code on your machine. Here are eight, what each reads, what it needs from you, and when it is the better choice. We make one of them, so we have tried to state the others the way they describe themselves.
Short answer
Two checks, from two sides.
- Only a public repo, no account: PatchLabs at
https://api.patchlabs.dev/mcp/publicchecks the RLS in yoursupabase/migrationsand your site’s headers, free - You own the Supabase project: Supabase’s MCP server reads the live project’s Security Advisor with
get_advisors, so it sees changes made in the dashboard - Broad code scanning on your machine: GuardVibe (free, local), or Semgrep, Snyk or Aikido if your team already pays for one
- Leaked keys: GitGuardian, or the key checks in PatchLabs Code and the CLIs above
Where PatchLabs falls short
Said plainly.
- The free
rls_checkreads public repos only; private repos need the GitHub App, which is coming - It reads migrations, not your live database, so a policy added only in the Supabase dashboard is invisible to it
- It covers who can read your data and site headers, not every kind of code flaw
- The full lab check, which proves leaks and fixes on a rebuilt copy, needs the repo owner to commit a one-line file first
Side by side
Eight MCP servers, as they describe themselves.
What each reads, what you have to give it, and how it runs. Taken from each project’s own docs or README on the day we checked.
| Server | What it reads | What it checks | What you give it | How it runs |
|---|---|---|---|---|
| PatchLabs | A public GitHub repo’s supabase/migrations; one load of a public home page | RLS off, policies open to anyone or any signed-in user, always-true policies, exposed SECURITY DEFINER functions, public buckets, views that skip RLS; HTTPS, certificate, headers, cookies. Each finding has the SQL fix | Nothing: no account, key or OAuth | Remote, Streamable HTTP. Free; full lab check free for 1 app |
| Supabase MCP | Your live Supabase projects | get_advisors returns the Security Advisor’s security and performance advisories; also runs SQL, migrations and more | Sign-in to your Supabase organisation (OAuth), or a personal access token for CI | Remote at mcp.supabase.com; read-only mode and project scoping available |
| Database Sentinel | Your live Supabase database’s system catalogs (not table rows), plus an anonymous REST probe | RLS misconfigurations, exposed keys, risky functions; a scored report with fix SQL | A Postgres connection string (a read-only role is recommended), Supabase URL and anon key | Local (Claude Code plugin, Cursor, CLI). MIT, with the MCP server under AGPL-3.0 |
| GuardVibe | Your code, on your machine | Hundreds of rules for AI-generated code across Next.js, Supabase (RLS, anon vs service-role keys), auth, payments, secrets and dependencies | Nothing for core scans; an Anthropic or OpenAI key for its optional deep scan | Local over stdio via npm. Apache-2.0 |
| Semgrep MCP | Your code and your Semgrep AppSec Platform findings | Triage findings, generate fixes, debug scans, file tickets (Code, Supply Chain, Secrets) | A Semgrep account on a Teams or Enterprise plan (trials count) | Through the semgrep binary; beta. The older standalone server is archived |
| Snyk MCP | Your code, dependencies and infrastructure files | Snyk Code (SAST), Open Source (SCA) and IaC scans | A Snyk account, with the CLI authenticated | Local: snyk mcp -t stdio |
| Aikido MCP | Your code as the agent writes it, and your Aikido issue feed | SAST and secrets scans of new or changed files | An Aikido account and API key or token | Local via npm, or one click from Aikido’s IDE plugins |
| GitGuardian MCP | Your GitGuardian workspace and repos | Secrets detection; triage and fix leaked-secret incidents | A GitGuardian account (OAuth for hosted, a token for headless) | Remote (US or EU), local, or self-hosted Docker. MIT code |
Last checked 5 Dec 2026 against each project’s public docs or README. Prices beyond “free” or “account needed” are left out because most don’t publish them for the MCP server itself. Spotted something out of date? Tell us.
Which to pick
Match the server to the question you are asking.
“Is my Lovable or Supabase app leaking user data?”
Start with PatchLabs
minutesrls_checkon the repo: free, nothing to connect. If you own the project, also ask Supabase MCP forget_advisorsto catch anything changed in the dashboard.“Is the code my agent writes safe?”
A code scanner that runs as you work: GuardVibe for free and local, or Semgrep, Snyk or Aikido if your team already uses one.
while coding“Did a key leak?”
GitGuardian if you use it; otherwise the key and git-history checks in PatchLabs Code and the free key check.
today“Prove the fix works before I ship it.”
PatchLabs
after verificationstart_check: the database is rebuilt from your migrations with fake rows, read as a stranger, another user and the owner, and the fix is proven in that copy before your engineer approves it.
Try PatchLabs
Add it in under a minute.
No account. Full steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and Windsurf are in the MCP docs.
https://api.patchlabs.dev/mcp/publicclaude mcp add --transport http patchlabs https://api.patchlabs.dev/mcpcodex mcp add patchlabs --url https://api.patchlabs.dev/mcpQuestions
Asked about security MCP servers.
What is the best MCP server for checking Supabase RLS?
It depends on what you can give it. With only a public GitHub repo and no account, PatchLabs checks the RLS in your migrations for free. If you own the Supabase project and can sign in, Supabase’s own MCP server reads the live project’s Security Advisor through get_advisors. If you want a local audit of the live database catalog with a read-only connection string, Database Sentinel does that. Many teams use two: one on the code, one on the live project.
Is there a free MCP server for AI-app security checks with no account?
Yes. PatchLabs’ remote server at https://api.patchlabs.dev/mcp/public needs no account, key or OAuth and offers rls_check and headers_check. GuardVibe runs locally from npm with no account for its core scans. Supabase MCP, Semgrep, Snyk, Aikido and GitGuardian need an account with their service.
Should I connect an MCP server to my production database?
Only when the task needs production evidence. Supabase’s MCP docs warn that connecting an LLM to your projects carries security risks, and recommend project scoping, read-only mode and keeping manual approval of tool calls on. A static check of your repo never connects to the database at all. More in Supabase MCP with customer data: a safe setup.
Why does a static check miss things the live project shows?
Because it reads only what is in your migrations. If someone changed a policy in the Supabase dashboard and never wrote a migration, the repo and the live project disagree. That is why the two kinds of check work best together.
Sources
Where these facts come from.
- PatchLabs MCP server docs · tools, endpoints and install steps; official MCP registry entryours
- Supabase: Model context protocol (MCP) ·
get_advisors, OAuth or access token, read-only mode, project scoping and the security warnings quoted abovechecked 5 Dec 2026 - Database Sentinel README · connection string, system catalogs only, licenceschecked 5 Dec 2026
- GuardVibe README · local npm package, rules, no account for core scans, Apache-2.0checked 5 Dec 2026
- Semgrep: MCP server blog post (12 Nov 2026) · Teams or Enterprise plan; archived standalone repochecked 5 Dec 2026
- Snyk Studio: getting started ·
snyk mcp -t stdio, Snyk account andsnyk authchecked 5 Dec 2026 - Aikido MCP help · SAST and secrets scans, API key or tokenchecked 5 Dec 2026
- GitGuardian MCP README · hosted, local and self-hosted; account with OAuth or token; MITchecked 5 Dec 2026
Independent
PatchLabs is not affiliated with Supabase, Database Sentinel, GuardVibe, Semgrep, Snyk, Aikido or GitGuardian. Names are used only to identify them. Facts were checked on 5 Dec 2026 and may have changed since; we update this page when we hear about a change.
Free check
Rather paste a repo than set up a server? The first check is free.
Paste your public repo. You’ll get the leaks, the fix and the proof on one page, in a few minutes.