# PromptGuard MCP server

Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client

## Facts

- Endpoint: https://api.promptguard.co/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: C (76/100, scanned 2026-11-12) · report https://gateturbo.com/report/9202ffb7-1a88-4bd7-8852-ccca7bfbab8e
- Tools: 13
- Category: Docs & AI · source: registry
- Repository: https://github.com/promptguardhq/promptguard
- Last probed: 2026-11-06 · first listed: 2026-11-04
- Directory page: https://gateturbo.com/mcp/promptguard · this document: https://gateturbo.com/mcp/promptguard.md · JSON: https://gateturbo.com/api/directory/servers/promptguard

## Tools (13)

- `promptguard_scan_text`: Scan text for security threats including prompt injection, jailbreaks, PII leakage, and toxic content. Returns a decision (allow/block), con
- `promptguard_scan_code`: Analyze code for LLM SDK usage patterns (OpenAI, Anthropic, Cohere, Google Gemini, Bedrock). Detects import statements and client instantiat
- `promptguard_redact`: Redact PII (emails, phone numbers, SSNs, credit cards, API keys) from text. Returns sanitized text with each entity replaced by a labeled pl
- `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 s
- `promptguard_list_events`: List your organization's most recent PromptGuard security events: what was blocked, redacted, flagged or allowed, with the threat type, conf
- `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 h
- `promptguard_list_policies`: List your organization's PromptGuard security policies across every project: name, type, whether it is active and enforced, its priority 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 mo
- … 5 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect PromptGuard to your gate (https://gateturbo.com/login?next=/discovery?connect=promptguard).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/promptguard/claude · Claude Desktop → https://gateturbo.com/mcp/promptguard/claude-desktop · ChatGPT → https://gateturbo.com/mcp/promptguard/chatgpt · Codex → https://gateturbo.com/mcp/promptguard/codex · Cursor → https://gateturbo.com/mcp/promptguard/cursor · Windsurf → https://gateturbo.com/mcp/promptguard/windsurf · VS Code → https://gateturbo.com/mcp/promptguard/vscode · Gemini CLI → https://gateturbo.com/mcp/promptguard/gemini-cli · OpenClaw → https://gateturbo.com/mcp/promptguard/openclaw · n8n → https://gateturbo.com/mcp/promptguard/n8n · A script or server → https://gateturbo.com/mcp/promptguard/script

### Direct: Claude Code

Add PromptGuard to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

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

### Direct: Cursor

Add PromptGuard to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "promptguard": {
      "url": "https://api.promptguard.co/mcp"
    }
  }
}
```

### Direct: VS Code

Add PromptGuard to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "promptguard": {
      "type": "http",
      "url": "https://api.promptguard.co/mcp"
    }
  }
}
```

### Direct: Codex

Add PromptGuard to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.promptguard]
url = "https://api.promptguard.co/mcp"
```

### Direct: Claude

Add PromptGuard as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "PromptGuard" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://api.promptguard.co/mcp
```

### Direct: ChatGPT

Add PromptGuard as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "PromptGuard" with the URL below.
3. Set authentication to none.

```
https://api.promptguard.co/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
