Skip to content
Cursor

PromptGuard for Cursor

co.promptguard/security

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

client:Cursor transport:stdio runtime:npm

Install PromptGuard in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "security": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@promptguard/mcp-server"
      ],
      "env": {
        "PROMPTGUARD_API_KEY": "<PROMPTGUARD_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

PromptGuard in other clients