Skip to content
manra399 avatar

PatchLabs

manra399/patchlabs

Free RLS and security-header checks for Supabase and Lovable apps, plus paid leak proofs and tested fixes.

CCM score
62 of 100
tools
7
auth
Secret needed
transport
HTTP
last updated
Nov 20, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Runs rls_check on a public GitHub repo's supabase/migrations for row-level-security mistakes, and headers_check for HTTPS, TLS, security headers, and cookie flags, with no sign-up needed
  • Requests full lab checks through start_check and reads results with get_check and list_checks, after the repo owner proves ownership with a one-line verification file
  • Manages monitored apps with list_apps, run_check, and list_checks, which need an X-API-Key from the workspace and count against the plan's monthly runs
  • Designed for developers shipping AI-built apps who want to catch personal-data exposure before strangers or other users can read it

Install

$ npx -y add-mcp https://api.patchlabs.dev/mcp --name patchlabs --header 'X-API-Key: ${X_API_KEY}'

Adds the server to every agent config it finds in this project. add-mcp asks for each value it needs.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http patchlabs https://api.patchlabs.dev/mcp --header 'X-API-Key: YOUR_X_API_KEY'

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 7 tools

Verified live against the running server on Nov 27, 2026.

rls_checkFree, no sign-up. Reads a public GitHub repo's supabase/migrations and lists row-level-security mistakes that could let strangers or other users read personal data (findings PL-001..PL-008 and PL-014, each with a fix). Static analysis only: it never connects to the live app or...1 params

Free, no sign-up. Reads a public GitHub repo's supabase/migrations and lists row-level-security mistakes that could let strangers or other users read personal data (findings PL-001..PL-008 and PL-014, each with a fix). Static analysis only: it never connects to the live app or...

Parameters* required
repo*string
Public GitHub repo, e.g. owner/name or https://github.com/owner/name
headers_checkGrade a public site's HTTPS, TLS certificate, security headers and cookie flags from one load of its home page (no sign-up). Returns findings PL-027..PL-036 and PL-040 (third-party scripts with no CSP limit on where they send data) with fixes.1 params

Grade a public site's HTTPS, TLS certificate, security headers and cookie flags from one load of its home page (no sign-up). Returns findings PL-027..PL-036 and PL-040 (third-party scripts with no CSP limit on where they send data) with fixes.

Parameters* required
url*string
A public site, e.g. https://app.example.com
start_checkRequest the full lab check: the database is rebuilt from the repo with fake rows, leaks are proven as each kind of user, and a tested fix is written. Creates a check and emails the report address; nothing runs until the repo owner proves ownership with a one-line file. Returns...2 params

Request the full lab check: the database is rebuilt from the repo with fake rows, leaks are proven as each kind of user, and a tested fix is written. Creates a check and emails the report address; nothing runs until the repo owner proves ownership with a one-line file. Returns...

Parameters* required
email*string
Where the report goes
repo*string
Public GitHub repo, e.g. owner/name or https://github.com/owner/name
get_checkRead one check by id. Read-only, safe to call again to poll. Returns status: awaiting_verification (includes the one-line file the repo owner must add, then nothing runs until they do), queued, running, done, no_leaks, needs_review or failed. When finished it also returns the...1 params

Read one check by id. Read-only, safe to call again to poll. Returns status: awaiting_verification (includes the one-line file the repo owner must add, then nothing runs until they do), queued, running, done, no_leaks, needs_review or failed. When finished it also returns the...

Parameters* required
check_id*string
The check id that start_check or run_check returned
list_appsList the apps monitored in the API key's workspace, each with its id (pass it as app_id to run_check), its last finished check (id and status, for get_check) and any open_check_id. Needs X-API-Key.

List the apps monitored in the API key's workspace, each with its id (pass it as app_id to run_check), its last finished check (id and status, for get_check) and any open_check_id. Needs X-API-Key.

No parameters. Call it with no arguments.

list_checksList past and running checks for the API key's workspace, newest first, optionally for one app. Each has its id (pass it to get_check for the full report and fix), app_id, client_label, repo, status, trigger (schedule, api, manual), created/finished times and the tables found...2 params

List past and running checks for the API key's workspace, newest first, optionally for one app. Each has its id (pass it to get_check for the full report and fix), app_id, client_label, repo, status, trigger (schedule, api, manual), created/finished times and the tables found...

Parameters* required
app_idstring
Optional: only this app's checks (an id from list_apps)
limitinteger
How many, newest first (default 20)
run_checkQueue a new check for a monitored app now (counts toward the plan's monthly runs). Needs X-API-Key.1 params

Queue a new check for a monitored app now (counts toward the plan's monthly runs). Needs X-API-Key.

Parameters* required
app_id*string

Readme

PatchLabs

Leak checks and tested fixes for AI-built apps: https://patchlabs.dev

PartWhereRuns on
docs/Website: landing page, check status and report page, privacyGitHub Pages (patchlabs.dev)
api/FastAPI: checks, accounts, workspaces, monitored apps, receipts, free RLS tool, MCP (see API below)Azure Container Apps (api.patchlabs.dev)
db/schema.sqlPostgres schema, idempotent and additive; applied by the API on startAzure Database for PostgreSQL, database patchlabs
worker/Takes verified checks, runs the lab pipeline (Docker + Claude Code), posts reports; deletes run folders older than 30 daysManraj's Mac, kept alive by launchd

View the full README on GitHub

Details

Repository
github.com/manra399/patchlabs
Website
patchlabs.dev/docs/mcp
Categories
Security, Databases
Transport
HTTP
Auth
Required
Registry
MCP registry, active
Tools verified
Nov 27, 2026

Questions

What does the PatchLabs MCP server let an agent do?

PatchLabs finds personal-data leaks in Supabase and Lovable apps and offers proven fixes. Its free rls_check tool reads a public GitHub repo's supabase/migrations and lists row-level-security mistakes that could let other users read personal data, and headers_check grades a public site's HTTPS, certificate, security headers and cookie flags.

Which tools does the PatchLabs MCP server expose?

The server lists 7 tools: rls_check and headers_check, which work without sign-up, plus start_check, get_check, list_apps, list_checks and run_check for full lab checks. The lab checks rebuild the database with fake rows, prove leaks as each kind of user, and write a tested fix. The app tools need an X-API-Key.

How do I install the PatchLabs MCP server in Claude Code?

Run this command in a terminal: claude mcp add --transport http patchlabs https://api.patchlabs.dev/mcp --header 'X-API-Key: YOUR_X_API_KEY'. Then the agent can call the free RLS and headers checks and, with a valid key, the full lab check tools.

Where does PatchLabs stand among Security MCP servers?

PatchLabs is listed in the Security category on Claude Marketplaces, alongside Jshookmcp, OpenOSINT, JS Reverse, Semgrep and EVMole. It focuses on personal-data exposure in Supabase and Lovable apps rather than general code scanning.

Do I need an API key to use PatchLabs?

No, the free rls_check and headers_check tools work without an API key. The X-API-Key header is only needed for the app tools such as start_check, list_apps and run_check, and the only environment variable listed is X-API-Key.

Similar to PatchLabs

More Security