promptrejectormcp for Cursor
io.github.revsmoke/promptrejectormcp
Security gateway for AI agents: detects prompt injections, jailbreaks, and common vulnerabilities.
client:Cursor
transport:stdio
runtime:npm
Install promptrejectormcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"promptrejectormcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs