A side-by-side look at the AI Firewall MCP and MCP Shield 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 MCP Shield 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.scan_package, scan_directory, check_prompt_injection.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Security | Security |
| Quality signal | 47/100 · Fair | 57/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | No auth required |
| Pricing | Not declared | Free |
| Required env vars | FIREWALL_MODESIMILARITY_THRESHOLDLOG_LEVEL | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 0 | 2 |
| Directory activity | 2 views 0 installs 0 upvotes | 3 views 0 installs 0 upvotes |
| Tools | 5 | 4 |
| Full listing | View AI Firewall MCP | View MCP Shield |
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 statisticsscan_packageDownload an npm MCP package and scan it for malicious patternsscan_directoryScan a local MCP server directory (cloned from GitHub, etc.)check_prompt_injectionCheck tool descriptions or responses for hidden injectionsaudit_supply_chainGet trust score, CVEs, maintainer count, and age for any npm packagePaste 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": {
"muhannad-hash-mcp-shield": {
"command": "npx",
"args": [
"-y",
"mcp-shield"
]
}
}
}