promptrejectormcp for Grok
io.github.revsmoke/promptrejectormcp
Security gateway for AI agents: detects prompt injections, jailbreaks, and common vulnerabilities.
client:Grok
transport:stdio
runtime:npm
Install promptrejectormcp in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"promptrejectormcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<YOUR_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