Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"MCP_DOCKER": {
"args": [
"mcp",
"gateway",
"run"
],
"command": "docker"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
iptables for MCP. Blocks dangerous tool calls, scans for secret leakage, logs everything. No AI, no cloud, pure rules.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'mcpwall' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked mcpwall against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in security
An evil MCP server used for redteam testing
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
mcpki-server is the backend infrastructure for https://www.mcpki.org, enabling secure public key management and autonomous certificate handling for large language models (LLMs).
MCP Security Weekly
Get CVE alerts and security updates for io.github.behrensd/mcpwall and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
iptables for MCP. Blocks dangerous tool calls, scans for secret leakage, logs everything. No AI, no cloud, pure rules.
Sits between your AI coding tool (Claude Code, Cursor, Windsurf) and MCP servers, intercepting every JSON-RPC message and enforcing YAML-defined policies.
MCP servers have full access to your filesystem, shell, databases, and APIs. When an AI agent calls tools/call, the server executes whatever the agent asks — reading SSH keys, running rm -rf, exfiltrating secrets. There's no built-in policy layer.
mcpwall adds one. It's a transparent stdio proxy that:
.ssh/, .env, credentials, browser datarm -rf, pipe-to-shell, reverse shellsmcpwall check gives instant pass/fail on any tool callnpm install -g mcpwall
Or use directly with npx:
npx mcpwall -- npx -y @modelcontextprotocol/server-filesystem /path/to/dir
If you use Docker MCP Toolkit (the most common setup), change your MCP config from:
{
"mcpServers": {
"MCP_DOCKER": {
"command": "docker",
"args": ["mcp", "gateway", "run"]
}
}
}
To:
{
"mcpServers": {
"MCP_DOCKER": {
"command": "npx",
"args": ["-y", "mcpwall", "--", "docker", "mcp", "gateway", "run"]
}
}
}
That's it. mcpwall now sits in front of all your Docker MCP servers, logging every tool call and blocking dangerous ones. No config file needed — sensible defaults apply automatically.
npx mcpwall init
This finds your existing MCP servers in Claude Code, Cursor, Windsurf, and VS Code configs and wraps them. Optionally pick a security profile:
npx mcpwall init --profile company-laptop # stricter rules for managed machines
npx mcpwall init --profile strict # deny-by-default whitelist mode
Change your MCP config from:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/me/projects"]
}
}
}
To:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y", "mcpwall", "--",
"npx", "-y", "@modelcontextprotocol/server-filesystem", "/Users/me/projects"
]
}
}
}
npx mcpwall wrap filesystem
┌──────────────┐ stdio ┌──────────────┐ stdio ┌──────────────┐
│ Claude Code │ ──────────▶ │ mcpwall │ ──────────▶ │ Real MCP │
│ (MCP Host) │ ◀────────── │ (proxy) │ ◀────────── │ Server
... [View full README on GitHub](https://github.com/behrensd/mcp-firewall#readme)