Skip to content
Zed

PromptGuard for Zed

co.promptguard/security

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

client:Zed transport:stdio runtime:npm

Install PromptGuard in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

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

Merge this into your existing settings object — do not replace the file. Zed docs

PromptGuard in other clients