Skip to content
Grok

PromptGuard for Grok

co.promptguard/security

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

client:Grok transport:stdio runtime:npm

Install PromptGuard in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

PromptGuard in other clients