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