Koskamo

GuardLayer MCP

An MCP server for AI agents like Claude Code and Cursor that performs static code scans for security issues, queries live Supabase project catalogs for read-only snapshots, and verifies that applied fixes actually resolve vulnerabilities in the database configuration.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

GuardLayer MCP logo, by GuardLayerCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by GuardLayer
MCP endpoint (Streamable HTTP)
https://www.guardlayer.io/api/mcp
Vendor documentation

What its tools do

3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

3 of 3 have a description · 3 of 3 declare behavior hints · 1 of 2 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Scan code for exposed keys and missing RLS
  • Check live Supabase project catalog
  • Confirm fixes closed security gaps

Source and maintenance

Community listingRegistry 1.0.1
Maintenance checked

Protocol and capabilities

Server
guardlayer 1.0.0
MCP protocol negotiated in check
2025-06-18
Tools
3 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

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.

Tools

3 advertised

scan_files — Scan code for security issues
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

scan_files input schema
{
  "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."
    }
  }
}
scan_files annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
get_supabase_snapshot_sql — Get the read-only Supabase snapshot query
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

get_supabase_snapshot_sql input schema
{
  "type": "object",
  "properties": {}
}
get_supabase_snapshot_sql annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
check_supabase_snapshot — Check a live Supabase project
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

check_supabase_snapshot input schema
{
  "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."
    }
  }
}
check_supabase_snapshot annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (49 of 49 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 4 of 4 checks answered
  12. 2026-11-25: 4 of 4 checks answered
  13. 2026-11-26: 4 of 4 checks answered
  14. 2026-11-27: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
635 ms
95th percentile latency
758 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 745 ms · 3 tool(s)
  • · probe · passed · 759 ms · 3 tool(s)
  • · probe · passed · 400 ms · metadata changed · 3 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http guardlayer-mcp https://www.guardlayer.io/api/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add guardlayer-mcp --url https://www.guardlayer.io/api/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable guardlayer-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "guardlayer-mcp": {
      "url": "https://www.guardlayer.io/api/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "guardlayer-mcp": {
      "type": "streamableHttp",
      "url": "https://www.guardlayer.io/api/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start guardlayer-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "guardlayer-mcp": {
      "type": "http",
      "url": "https://www.guardlayer.io/api/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http guardlayer-mcp https://www.guardlayer.io/api/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://www.guardlayer.io/api/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "guardlayer-mcp": {
      "serverUrl": "https://www.guardlayer.io/api/mcp"
    }
  }
}

Let your agent find its tools

Find servers like GuardLayer MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.