Prompt injection detection API for AI agents. Scan untrusted text before passing it to an LLM.
promptrejector MCP Server
Published by revsmokeSecurity gateway for AI agents: detects prompt injections, jailbreaks, and common vulnerabilities.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 1.0.1
- SOURCE CHECKED
- Dec 3, 2026
Quick answers
How do I add promptrejector MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'YOUR_API_KEY=<your-your-api-key>' --transport stdio promptrejectormcp -- npx -y prompt-rejectorReplace the <your-…> placeholder with your own YOUR_API_KEY.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"promptrejectormcp": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<your-your-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own YOUR_API_KEY.
CodexCommand
Run this in your terminal:
codex mcp add promptrejectormcp --env 'YOUR_API_KEY=<your-your-api-key>' -- npx -y prompt-rejectorReplace the <your-…> placeholder with your own YOUR_API_KEY.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"promptrejectormcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<your-your-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own YOUR_API_KEY.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"promptrejectormcp": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<your-your-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own YOUR_API_KEY.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use promptrejector MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does promptrejector MCP Server need an API key?
To run it on your computer, set YOUR_API_KEY first, with values from the publisher.
Is promptrejector MCP Server official?
It's published by revsmoke. The Official MCP Registry accepts names under io.github.revsmoke only from the GitHub account or organisation revsmoke. We last checked its listing on Dec 3, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · prompt-rejector@1.0.1