Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-revsmoke-promptrejectormcp": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<YOUR_VALUE>",
"PORT": "3000",
"HF_TOKEN": "<VALUE>",
"START_MODE": "both",
"NVD_API_KEY": "<VALUE>",
"GITHUB_TOKEN": "<VALUE>",
"GEMINI_API_KEY": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"CANARY_HMAC_SECRET": "<VALUE>",
"TASTE_TESTER_MODEL": "claude-opus-4-7",
"TASTE_TESTER_ENABLED": "false",
"TASTE_TESTER_MAX_TURNS": "5",
"TASTE_TESTER_MAX_TOKENS": "4096",
"TASTE_TESTER_TIMEOUT_MS": "30000",
"PATTERN_INTEGRITY_SECRET": "<VALUE>",
"CANARY_DEFAULT_TTL_SECONDS": "86400",
"KEV_REFRESH_INTERVAL_HOURS": "24",
"ATLAS_REFRESH_INTERVAL_HOURS": "168"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-revsmoke-promptrejectormcp": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<YOUR_VALUE>",
"PORT": "3000",
"HF_TOKEN": "<VALUE>",
"START_MODE": "both",
"NVD_API_KEY": "<VALUE>",
"GITHUB_TOKEN": "<VALUE>",
"GEMINI_API_KEY": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"CANARY_HMAC_SECRET": "<VALUE>",
"TASTE_TESTER_MODEL": "claude-opus-4-7",
"TASTE_TESTER_ENABLED": "false",
"TASTE_TESTER_MAX_TURNS": "5",
"TASTE_TESTER_MAX_TOKENS": "4096",
"TASTE_TESTER_TIMEOUT_MS": "30000",
"PATTERN_INTEGRITY_SECRET": "<VALUE>",
"CANARY_DEFAULT_TTL_SECONDS": "86400",
"KEV_REFRESH_INTERVAL_HOURS": "24",
"ATLAS_REFRESH_INTERVAL_HOURS": "168"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-revsmoke-promptrejectormcp": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<YOUR_VALUE>",
"PORT": "3000",
"HF_TOKEN": "<VALUE>",
"START_MODE": "both",
"NVD_API_KEY": "<VALUE>",
"GITHUB_TOKEN": "<VALUE>",
"GEMINI_API_KEY": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"CANARY_HMAC_SECRET": "<VALUE>",
"TASTE_TESTER_MODEL": "claude-opus-4-7",
"TASTE_TESTER_ENABLED": "false",
"TASTE_TESTER_MAX_TURNS": "5",
"TASTE_TESTER_MAX_TOKENS": "4096",
"TASTE_TESTER_TIMEOUT_MS": "30000",
"PATTERN_INTEGRITY_SECRET": "<VALUE>",
"CANARY_DEFAULT_TTL_SECONDS": "86400",
"KEV_REFRESH_INTERVAL_HOURS": "24",
"ATLAS_REFRESH_INTERVAL_HOURS": "168"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-revsmoke-promptrejectormcp": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<YOUR_VALUE>",
"PORT": "3000",
"HF_TOKEN": "<VALUE>",
"START_MODE": "both",
"NVD_API_KEY": "<VALUE>",
"GITHUB_TOKEN": "<VALUE>",
"GEMINI_API_KEY": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"CANARY_HMAC_SECRET": "<VALUE>",
"TASTE_TESTER_MODEL": "claude-opus-4-7",
"TASTE_TESTER_ENABLED": "false",
"TASTE_TESTER_MAX_TURNS": "5",
"TASTE_TESTER_MAX_TOKENS": "4096",
"TASTE_TESTER_TIMEOUT_MS": "30000",
"PATTERN_INTEGRITY_SECRET": "<VALUE>",
"CANARY_DEFAULT_TTL_SECONDS": "86400",
"KEV_REFRESH_INTERVAL_HOURS": "24",
"ATLAS_REFRESH_INTERVAL_HOURS": "168"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-revsmoke-promptrejectormcp": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<YOUR_VALUE>",
"PORT": "3000",
"HF_TOKEN": "<VALUE>",
"START_MODE": "both",
"NVD_API_KEY": "<VALUE>",
"GITHUB_TOKEN": "<VALUE>",
"GEMINI_API_KEY": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"CANARY_HMAC_SECRET": "<VALUE>",
"TASTE_TESTER_MODEL": "claude-opus-4-7",
"TASTE_TESTER_ENABLED": "false",
"TASTE_TESTER_MAX_TURNS": "5",
"TASTE_TESTER_MAX_TOKENS": "4096",
"TASTE_TESTER_TIMEOUT_MS": "30000",
"PATTERN_INTEGRITY_SECRET": "<VALUE>",
"CANARY_DEFAULT_TTL_SECONDS": "86400",
"KEV_REFRESH_INTERVAL_HOURS": "24",
"ATLAS_REFRESH_INTERVAL_HOURS": "168"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-revsmoke-promptrejectormcp": {
"command": "npx",
"args": [
"-y",
"prompt-rejector"
],
"env": {
"YOUR_API_KEY": "<YOUR_VALUE>",
"PORT": "3000",
"HF_TOKEN": "<VALUE>",
"START_MODE": "both",
"NVD_API_KEY": "<VALUE>",
"GITHUB_TOKEN": "<VALUE>",
"GEMINI_API_KEY": "<VALUE>",
"ANTHROPIC_API_KEY": "<VALUE>",
"CANARY_HMAC_SECRET": "<VALUE>",
"TASTE_TESTER_MODEL": "claude-opus-4-7",
"TASTE_TESTER_ENABLED": "false",
"TASTE_TESTER_MAX_TURNS": "5",
"TASTE_TESTER_MAX_TOKENS": "4096",
"TASTE_TESTER_TIMEOUT_MS": "30000",
"PATTERN_INTEGRITY_SECRET": "<VALUE>",
"CANARY_DEFAULT_TTL_SECONDS": "86400",
"KEV_REFRESH_INTERVAL_HOURS": "24",
"ATLAS_REFRESH_INTERVAL_HOURS": "168"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| YOUR_API_KEY secret | Yes | Your API key for the service |
| PORT | No | Optional: API server port (default: 3000) Default: 3000 |
| HF_TOKEN | No | Optional: Hugging Face Hub security signals (consumed by scan_skill) |
| START_MODE | No | Optional: Startup mode - "api", "mcp", or "both" (default: both) Default: both |
| NVD_API_KEY | No | Optional: NVD API key for vulnerability feed scanning (5/30s → 50/30s). Get one at https://nvd.nist.gov/developers/request-an-api-key |
| GITHUB_TOKEN | No | Optional: GitHub token for advisory feed scanning (60/hr → 5000/hr) |
| GEMINI_API_KEY | Yes | Required: Your Google AI API key (get one at https://aistudio.google.com/apikey) |
| ANTHROPIC_API_KEY | No | Optional: Anthropic API key for Taste-Tester |
| CANARY_HMAC_SECRET | No | Optional: Canary tokens HMAC secret (falls back to PATTERN_INTEGRITY_SECRET when unset) |
| TASTE_TESTER_MODEL | No | Optional: Taste-Tester model (default: claude-opus-4-7) Default: claude-opus-4-7 |
| TASTE_TESTER_ENABLED | No | Optional: Taste-Tester sandbox (opt-in dual-agent detonator; off by default) Default: false |
| TASTE_TESTER_MAX_TURNS | No | Optional: Taste-Tester max turns (default: 5) Default: 5 |
| TASTE_TESTER_MAX_TOKENS | No | Optional: Taste-Tester max tokens (default: 4096) Default: 4096 |
| TASTE_TESTER_TIMEOUT_MS | No | Optional: Taste-Tester timeout in ms (default: 30000) Default: 30000 |
| PATTERN_INTEGRITY_SECRET | No | Optional: HMAC secret for pattern manifest signing. Without this, SHA-256 file hashes still verify integrity but not authenticity |
| CANARY_DEFAULT_TTL_SECONDS | No | Optional: Canary default TTL in seconds (default: 86400) Default: 86400 |
| KEV_REFRESH_INTERVAL_HOURS | No | Optional: Feed refresh cadence for KEV (default: 24) Default: 24 |
| ATLAS_REFRESH_INTERVAL_HOURS | No | Optional: Feed refresh cadence for ATLAS (default: 168) Default: 168 |