GuardLayer
Scans Next.js application source files for security issues such as exposed service role keys, unprotected API routes and Server Actions, and permissive Supabase access patterns, providing fixes for each finding.
Checks a live Supabase project read-only by retrieving catalog snapshots (tables, columns, RLS flags, policies, grants, triggers, functions, bucket settings) and Auth settings, then reports security issues and confirms which fixes closed them.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
GuardLayer for Claude Code
Security check for Next.js + Supabase apps, run by your AI agent. GuardLayer scans the code, checks the live Supabase project read-only, and after a fix confirms what actually closed.
It catches the holes AI-built apps usually ship with: tables anyone can read, RLS off, policies that only check for a signed-in user (public in practice when anyone can sign up), users who can change their own role or plan, service role keys in frontend code or NEXT_PUBLIC_ / VITE_ variables, and API routes, Server Actions and Edge Functions that don't check the caller.
Install (Claude Code)
claude plugin marketplace add solvionholdings/guardlayer-plugin
claude plugin install guardlayer@guardlayerThe plugin adds the GuardLayer MCP server and a skill that tells Claude when to use it: before a deploy, after changing tables or policies, or when it's about to loosen access to get past a permission error. Then ask: "Check this app for security issues with GuardLayer."
Related MCP server: shipsafe-mcp
Other MCP clients
The server is a remote MCP server over Streamable HTTP, no install needed:
https://www.guardlayer.io/api/mcpCursor (.cursor/mcp.json):
{ "mcpServers": { "guardlayer": { "url": "https://www.guardlayer.io/api/mcp" } } }Tools
Tool | What it does |
| Static scan of the files your agent sends. Each finding comes with the fix. |
| A read-only query for the project's catalog: table and column names, RLS flags, policies, grants, triggers, functions, bucket settings. Never rows. |
| Checks the snapshot together with your Auth settings. With |
Privacy
Code and snapshots sent to the server are checked in memory and discarded. Your Supabase access token stays on your machine; Auth settings are reduced to on/off flags and numbers before they are read. See the privacy policy.
Data the plugin sends, and where
Destination | What is sent | When |
GuardLayer MCP server ( | The source files the agent chooses to scan; the read-only catalog snapshot (table and column names, RLS flags, policies, grants, triggers, function and bucket settings, never rows); the project's Auth settings reduced to on/off flags and numbers | When |
Supabase Management API ( | The read-only snapshot query, and a read of the project's Auth settings | Only if the agent uses this route to run the snapshot query. The user can instead run it in the Supabase SQL editor or through the Supabase MCP server |
Nothing is retained by GuardLayer. Supabase's handling of API requests is covered by Supabase's privacy policy. Usage is counted by tool name only (which tool ran, which client connected), never by content.
More: guardlayer.io/mcp · Browser version: guardlayer.io/check-supabase
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Scan a deployed app URL for exposed keys, open Supabase tables and missing security headers.
Scan, monitor and fix a live web app from your editor: graded security reports with fix prompts.
Code security scanner for founders and small teams: leaked secrets, missing RLS, injection, CVEs
Scan a site or AI-built app for exposed databases, keys and MCP endpoints, then verify the fixes.
Related MCP Servers
- AlicenseAqualityDmaintenanceAudits PostgreSQL/Supabase schemas for security issues like missing RLS, permissive policies, and sensitive data exposure during AI conversations.3MIT

shipsafe-mcpofficial
AlicenseAqualityCmaintenanceEnables AI coding assistants to scan projects for security issues such as leaked API keys, missing Supabase RLS, open Firebase rules, unauthenticated routes, and hallucinated packages, then fix and verify the results.81MIT- 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.451MIT
- AlicenseAqualityCmaintenanceEnables AI coding assistants to check whether an API key is safe to expose, audit Supabase Row Level Security, generate owner-based RLS policy templates, and run a builder-specific pre-launch security checklist. Runs locally over stdio with no network calls, telemetry, or file access.5MIT