A side-by-side look at the AI Firewall MCP and Safeprompt MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose AI Firewall MCP for security work as a local process; choose Safeprompt MCP for security as a local process. You can also run both side by side in one mcpServers block.
FIREWALL_MODE, SIMILARITY_THRESHOLD, LOG_LEVEL.analyze_prompt, get_threat_breakdown, sanitize_prompt.SAFEPROMPT_API_KEY.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Security | Security |
| Quality signal | 47/100 · Fair | 43/100 · Fair |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | Not declared |
| Pricing | Not declared | Not declared |
| Required env vars | FIREWALL_MODESIMILARITY_THRESHOLDLOG_LEVEL | SAFEPROMPT_API_KEY |
| Verified owner | Community listing | Community listing |
| GitHub stars | 0 | 2 |
| Directory activity | 2 views 0 installs 0 upvotes | 2 views 0 installs 0 upvotes |
| Tools | 5 | Not listed |
| Full listing | View AI Firewall MCP | View Safeprompt MCP |
analyze_promptAnalyze a prompt for injection, jailbreaks, exfiltration, and leakageget_threat_breakdownDetailed per-signal scoring breakdown from the last analysissanitize_promptClean a suspicious prompt while preserving legitimate contentget_firewall_statusHealth check: vector DB size, model status, uptimebenchmark_firewallRun the adversarial test suite and return detection statisticsNo tool names declared yet. Check the project README from the listing page.
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"ai-firewall-mcp": {
"command": "uvx",
"args": [
"ai-firewall-mcp"
],
"env": {
"FIREWALL_MODE": "YOUR_FIREWALL_MODE_HERE",
"SIMILARITY_THRESHOLD": "YOUR_SIMILARITY_THRESHOLD_HERE",
"LOG_LEVEL": "YOUR_LOG_LEVEL_HERE"
}
}
}
}
{
"mcpServers": {
"mcp-171": {
"command": "uvx",
"args": [
"safeprompt"
],
"env": {
"SAFEPROMPT_API_KEY": "YOUR_SAFEPROMPT_API_KEY_HERE"
}
}
}
}