Skip to content
PromptGuard logo

PromptGuard MCP server

Inspects requests to LLM applications and blocks prompt injection, jailbreak attempts, and personally identifiable information leaks.

read 2026-11-19

← Back to PromptGuard

How to connect

Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:

{
  "mcpServers": {
    "security": {
      "type": "http",
      "url": "https://api.promptguard.co/mcp"
    }
  }
}

Add it

Claude Code, in a terminal

claude mcp add --transport http promptguard https://api.promptguard.co/mcp

Add to CursorAdd to VS Code

claude.ai, ChatGPT and other clients: add https://api.promptguard.co/mcp as a custom connector in the settings.

Also shipped through: npm, oci

Tools it offers13 tools · read 2026-12-01
  • promptguard_scan_text

    Scan text for security threats including prompt injection, jailbreaks, PII leakage, and toxic content. Returns a decision (allow/block), confidence score, threat type, and reason. Each call counts as one Request on your PromptGuard plan…

  • promptguard_scan_code

    Analyze code for LLM SDK usage patterns (OpenAI, Anthropic, Cohere, Google Gemini, Bedrock). Detects import statements and client instantiations via pattern matching. When to use: After generating new code that uses LLM SDKs, when…

  • promptguard_redact

    Redact PII from text. Returns the text with each entity replaced by a labeled placeholder, e.g. [EMAIL_REDACTED], [PHONE_REDACTED], [SSN_REDACTED], the PII types found, and `skipped`: the matches deliberately left in the text. Never…

  • promptguard_status

    Show whether PromptGuard is set up and signed in, with this server's version and the account or configuration details it knows (the hosted server reports your plan; the local CLI server reports its key type, proxy URL and providers). When…

  • promptguard_list_events

    List your organization's most recent PromptGuard security events: what was blocked, redacted, flagged or allowed, with the threat types, confidence, direction, surface, provider, project id and each finding's detector and rule. Newest…

  • promptguard_get_usage

    Show this billing month's PromptGuard usage against your plan: Requests used and remaining, the monthly limit, usage credit where the plan has one, and the days until it resets. Read-only. When to use: To check whether the account is…

  • promptguard_list_policies

    List your organization's PromptGuard security policies across every project: name, type, whether it is active and enforced, its priority and threat types, and how often it has triggered. Read-only; it cannot change a policy. Names and…

  • promptguard_list_audit_log

    List recent entries in your organization's PromptGuard audit trail (who changed what, sign-ins, key and policy changes), newest first, at most 50. Filter by category, action, severity, outcome or a start time. Needs a plan with audit…

  • promptguard_list_projects

    List the PromptGuard projects you are shown in your organization and how each is configured: strictness, fail mode, enforcement mode, zero retention, agent policy enforcement, and whether alerts go to a webhook or alert channels (the…

  • promptguard_get_fleet_status

    Show your organization's Shadow AI fleet: whether Shadow AI is required, its mode and fail-closed setting, how many Devices are active or revoked, and for each Device its platform, agent version, coverage, proxy state and when it was last…

  • promptguard_list_red_team_tests

    List the attacks PromptGuard's security testing (red team) runs against a project's guardrails: each test's name, category, what it tries and the result expected, and whether your organization's plan includes running them. It lists the…

  • promptguard_list_webhook_deliveries

    List recent alert deliveries to your projects' webhooks and alert channels, newest first, at most 50: whether each was delivered, is pending or failed, its attempts and the receiver's HTTP status. Never the payload, the URL or the…

  • promptguard_propose_suppressionchanges data

    Suppress one rule of one detector on one project until it expires: the rule stops deciding the project's requests, and its findings are still recorded, marked suppressed. Name the project by its id and the rule as a finding names it…

How we checked it

Should an agent connect it

Connect it
  • Its tools do every use case we checked: Block prompt injection before it reaches the model; Redact personal data from prompts before a model sees them.

Once connected

  • For "Block prompt injection before it reaches the model", the likely first call is promptguard_scan_text.
  • For "Redact personal data from prompts before a model sees them", the likely first call is promptguard_redact.

Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.

Measured daily

daily checks: 22, the first on 2026-11-10
  • INITE MCP score85 of 100answers 100 · does the job 100 · definitions 100 · context 100 · use 42 · connects 100 · lowered until one of our scenario runs passes
  • What an agent can do with it2 of 2 use cases
  • Use119 npm downloads a week
  • Answered100% of days22 of 22 daily checks
  • Median first answer136 msslowest in twenty: 355 ms
  • Space in an agent's context≈ 2,994 tokensthe definitions of all its tools (13), which an agent carries on every turn
  • Tool definitionsA · 100 of 100
  • Typed results13 of 13 toolsdeclared outputSchema: results come typed, read once
  • Every tool passes all six checks.

What an agent can do with it

  • can do · Block prompt injection before it reaches the model
  • can do · Redact personal data from prompts before a model sees them
  • not sure · Stop support tickets carrying hidden instructions to export data

Each of the product's use cases, put to Jev against this server's tool list: can an agent do it with these tools?

Worth a look

None of the five warning signs in these definitions.

A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →

Security2026-12-01

Grade A, 98 of 100, checked 2026-12-01 · 19 of 19 checks judged · 1 failed

Full report →

When we asked itchecked 2026-11-19
  • Stateanswerschecked 2026-11-19
  • Tools13
  • Server calls itselfpromptguard
  • Server version3.52.2
  • Protocol version2025-06-18

On 2026-11-19 the server answered initialize and tools/list without a sign-in. First answer in 128 ms.

Whose server it is
  • Registry nameco.promptguard/securityverified in the MCP registry

The registry name sits under promptguard.co. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.

OpenAPI spec

51 paths, read 2026-11-19. Open the spec ↗

Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.