GuardLayer is an MCP server published by io.github.solvionholdings, hosted at www.guardlayer.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 3 tools, including scan_files, get_supabase_snapshot_sql, check_supabase_snapshot.
Security checks for Next.js + Supabase apps: code scan, read-only live DB check, fix confirmation.
352 connections through 5 shared values. Tap any node.
Static security scan of a Next.js + Supabase codebase: secrets in code or public env vars (NEXT_PUBLIC_, VITE_), service role keys in client code, RLS off or open policies in supabase/migrations, unauthenticated API routes, Server Actions and Edge Functions, unsafe redirects and more. Send source files (ts, tsx, js, jsx, sql, .env*, config files) with paths relative to the project root; skip node_modules, build output and lockfiles. Up to 300 files and 4 MB per call; split bigger projects. Files are scanned in memory and discarded.
| Parameter | Type | Description |
|---|---|---|
| files * | array | |
| ignore | string | Optional contents of a .guardlayerignore (gitignore syntax) to skip fixtures. |
{
"name": "scan_files",
"title": "Scan code for security issues",
"description": "Static security scan of a Next.js + Supabase codebase: secrets in code or public env vars (NEXT_PUBLIC_, VITE_), service role keys in client code, RLS off or open policies in supabase/migrations, unauthenticated API routes, Server Actions and Edge Functions, unsafe redirects and more. Send source files (ts, tsx, js, jsx, sql, .env*, config files) with paths relative to the project root; skip node_modules, build output and lockfiles. Up to 300 files and 4 MB per call; split bigger projects. Files are scanned in memory and discarded.",
"inputSchema": {
"type": "object",
"required": [
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"description": "Path relative to the project root, e.g. app/api/user/route.ts"
},
"content": {
"type": "string",
"description": "Full file contents"
}
}
},
"maxItems": 300
},
"ignore": {
"type": "string",
"description": "Optional contents of a .guardlayerignore (gitignore syntax) to skip fixtures."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Returns the read-only SQL for the live Supabase check and how to run it. It reads only catalog metadata (table and column names, RLS flags, policies, grants, triggers, SECURITY DEFINER functions, bucket settings), never table rows, and returns one JSON value.
No parameters.
{
"name": "get_supabase_snapshot_sql",
"title": "Get the read-only Supabase snapshot query",
"description": "Returns the read-only SQL for the live Supabase check and how to run it. It reads only catalog metadata (table and column names, RLS flags, policies, grants, triggers, SECURITY DEFINER functions, bucket settings), never table rows, and returns one JSON value.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Checks the JSON from get_supabase_snapshot_sql: tables anyone can read, RLS off, policies that only check for a signed-in user (public in practice when sign-ups are open), users who can update their own role or plan columns, exposed SECURITY DEFINER functions, public buckets. Pass auth_config (the project's Auth settings) when you can: it decides whether 'any signed-in user' means anyone. Pass previous_issue_keys from an earlier result to see what is closed, still open or new. Returns each issue with its SQL fix and a fix prompt.
| Parameter | Type | Description |
|---|---|---|
| snapshot * | any | The single value returned by the snapshot SQL (the guardlayer_snapshot column), as a JSON string or object. |
| auth_config | object | Optional. The project's Auth settings from the Supabase Management API (GET /v1/projects/{ref}/config/auth). Only these fields are read; everything else is dropped: disable_signup, external_email_enabled, external_anonymous_users_enabled, password_hibp_enabled, password_min_length, mailer_autoconfir… |
| previous_issue_keys | array | Optional. issue_keys from the previous check of the same project, to confirm which fixes landed. |
{
"name": "check_supabase_snapshot",
"title": "Check a live Supabase project",
"description": "Checks the JSON from get_supabase_snapshot_sql: tables anyone can read, RLS off, policies that only check for a signed-in user (public in practice when sign-ups are open), users who can update their own role or plan columns, exposed SECURITY DEFINER functions, public buckets. Pass auth_config (the project's Auth settings) when you can: it decides whether 'any signed-in user' means anyone. Pass previous_issue_keys from an earlier result to see what is closed, still open or new. Returns each issue with its SQL fix and a fix prompt.",
"inputSchema": {
"type": "object",
"required": [
"snapshot"
],
"properties": {
"snapshot": {
"description": "The single value returned by the snapshot SQL (the guardlayer_snapshot column), as a JSON string or object."
},
"auth_config": {
"type": "object",
"description": "Optional. The project's Auth settings from the Supabase Management API (GET /v1/projects/{ref}/config/auth). Only these fields are read; everything else is dropped: disable_signup, external_email_enabled, external_anonymous_users_enabled, password_hibp_enabled, password_min_length, mailer_autoconfirm, mailer_otp_exp, mailer_secure_email_change_enabled, security_update_password_require_reauthentication, refresh_token_rotation_enabled, security_captcha_enabled, mfa_totp_verify_enabled, mfa_phone_verify_enabled, mfa_web_authn_verify_enabled"
},
"previous_issue_keys": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional. issue_keys from the previous check of the same project, to confirm which fixes landed."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}GuardLayer checks Next.js + Supabase apps for security holes. scan_files: send the project's code and supabase/migrations files for a static scan. check_supabase_snapshot: the live database check. Call get_supabase_snapshot_sql first, run that read-only SQL against the project, and pass its single JSON value (plus the project's Auth settings if you can read them). After fixing, call check_supabase_snapshot again with previous_issue_keys from the last result to confirm what closed. Fix database issues in a migration and apply it; never disable RLS, add using (true) or grant to anon to make an error go away. Nothing sent to these tools is stored.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.