Prompt Leak Guard logo

Prompt Leak Guard

by KenjoUpdated Aug 7, 2026

Detect, redact, and block credentials, PII, payment data, and other sensitive values before they reach an AI model, MCP tool, or log.

securityprivacypii+5

Start using this server

Get Pro →

Connect Prompt Leak Guard

Pick where you'll use it. We'll show the one step you need.

  1. Get access

    Pro · $19/mo. Create an account and pick a plan to get your API key.

    Get Pro
  2. Add it to Claude

    Opens Claude with this server filled in as a custom connector. Click Add, then Connect and sign in with MCPize. Works on claude.ai, Claude Desktop and mobile.

    Unlocks once you have access above

    On Claude Team and Enterprise, only organization Owners can add custom connectors.

    Using Claude Code?

    terminal
    claude mcp add --transport http --scope user prompt-leak-guard-mcp https://prompt-leak-guard-mcp.mcpize.run --header "Authorization: Bearer YOUR_API_KEY"
    Manual setup & config

    Paste this JSON config

    JSON
    {
      "mcpServers": {
        "prompt-leak-guard-mcp": {
          "type": "http",
          "url": "https://prompt-leak-guard-mcp.mcpize.run",
          "headers": {
            "Authorization": "Bearer YOUR_API_KEY"
          }
        }
      }
    }

    Config file: Claude Code: .mcp.json (project) or ~/.claude.json (user). claude.ai, Claude Desktop and mobile: use Add to Claude above.

    Subscribe to get your API key

Config files for Claude, Cursor and VS Code

Replace the YOUR_ placeholder values with your own API key or credentials.

Claude Code

Run in your terminal.

claude mcp add --transport http --scope user prompt-leak-guard-mcp https://prompt-leak-guard-mcp.mcpize.run --header "Authorization: Bearer YOUR_API_KEY"

Cursor

Add to ~/.cursor/mcp.json, or .cursor/mcp.json in your project.

{
  "mcpServers": {
    "prompt-leak-guard-mcp": {
      "url": "https://prompt-leak-guard-mcp.mcpize.run",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

VS Code

Run in your terminal, or add the server to .vscode/mcp.json.

code --add-mcp '{"name":"prompt-leak-guard-mcp","type":"http","url":"https://prompt-leak-guard-mcp.mcpize.run","headers":{"Authorization":"Bearer YOUR_API_KEY"}}'

About Prompt Leak Guard

Stop sensitive data before it reaches a model, tool, log, or third-party service.

Prompt Leak Guard is a deterministic, stateless safety gate for AI agents and MCP workflows. It scans plain text and nested JSON for common credentials such as AWS access keys, GitHub and Slack tokens, bearer tokens, JWTs, private keys, and generic API keys. It also detects financial and identity data such as Luhn-validated payment cards, mod-97-validated IBAN candidates, email addresses, phone numbers, US Social Security numbers, IP addresses, and URLs containing embedded credentials.

Use four focused tools to protect a workflow:

  • scan_text identifies sensitive values with category, severity, confidence, and safe character offsets.
  • redact_text replaces findings with labels, masks, hashes, or a custom marker.
  • scan_json recursively inspects keys and values while reporting exact JSON paths.
  • evaluate_policy produces an explainable allow, review, or block decision from your own category, severity, and finding-count rules.

Raw matches are never returned in finding objects. Payloads are processed in memory, are not stored by the application, and are never written to application logs. The server requires no API keys, database, or external data provider and makes no outbound API requests.

Prompt Leak Guard is useful as a preflight check before sending customer messages to an LLM, passing MCP tool arguments, persisting agent traces, or forwarding automation payloads to another service. It is a detection and redaction aid, not a certification of GDPR, HIPAA, PCI DSS, or any other compliance standard.

Tools

Loading reviews...

Developer

K
@kenjo

Just a regular dude.