Prompt Rejector MCP Server
by revsmokeio.github.revsmoke/promptrejectormcpv1.0.1
Security gateway for AI agents: detects prompt injections, jailbreaks, and common vulnerabilities.
context tax
queued
security
queued
cold start
queued
freshness
Active9d ago
Install Prompt Rejector MCP server
Install in Claude Code
claude mcp add prompt-rejector -e YOUR_API_KEY='<your-api-key>' -- npx -y prompt-rejectorInstall in Cursor
{
"mcpServers": {
"prompt-rejector": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<your-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"prompt-rejector": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<your-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"prompt-rejector": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<your-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"prompt-rejector": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<your-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| YOUR_API_KEY | yes | yes | Your API key for the service |
Freshness
Active — last maintenance signal 9d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-01 · 9d ago · GitHub
Latest release
2026-10-01 · 9d ago · GitHub · v2.0.0
Package published
no data · npm/PyPI
Registry entry updated
2026-01-28 · 9mo ago · official registry · v1.0.1
FAQ
›How do I install the Prompt Rejector MCP server in Claude Code?
Run: claude mcp add prompt-rejector -e YOUR_API_KEY='<your-api-key>' -- npx -y prompt-rejector. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Prompt Rejector require an API key?
Yes. It expects YOUR_API_KEY, of which 1 is a secret.
›Can I use Prompt Rejector as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Prompt Rejector in the official MCP registry?
Yes, as io.github.revsmoke/promptrejectormcp.
Alternatives to Prompt Rejector
Other security MCP servers.