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.
https://www.guardlayer.io/api/mcpWhat its tools do
3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
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
- 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
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
3 advertised
scan_files — Scan code for security issues
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.
{
"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."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}get_supabase_snapshot_sql — Get the read-only Supabase snapshot query
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.
{
"type": "object",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false
}check_supabase_snapshot — Check a live Supabase project
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.
{
"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."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}Prompts
Not advertised
Resources
Not advertised
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.
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 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.
Claude Code
claude mcp add --transport http guardlayer-mcp https://www.guardlayer.io/api/mcpCodex
codex mcp add guardlayer-mcp --url https://www.guardlayer.io/api/mcpCursor
{
"mcpServers": {
"guardlayer-mcp": {
"url": "https://www.guardlayer.io/api/mcp"
}
}
}Cline
{
"mcpServers": {
"guardlayer-mcp": {
"type": "streamableHttp",
"url": "https://www.guardlayer.io/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"guardlayer-mcp": {
"type": "http",
"url": "https://www.guardlayer.io/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http guardlayer-mcp https://www.guardlayer.io/api/mcpClaude Desktop
https://www.guardlayer.io/api/mcpWindsurf
{
"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.