behrensd/mcp-firewall
by Various
Deterministic security proxy for MCP tool calls — iptables for MCP
MCP
behrensd/mcp-firewall
Added 1 June 2026
Overview
A deterministic security proxy for MCP tool calls that enforces rules before forwarding or blocking requests. Inspired by iptables, it provides explicit rule-based control over which MCP tools can be invoked and by whom. Written in TypeScript, it runs as a middleware layer between the MCP client and server.
Best for
Best for
Developers needing a simple, deterministic firewall for MCP-based applications
Use cases
- Restrict MCP tool access to authorized clients only
- Audit and log all MCP tool invocations in deterministic order
- Enforce rate limiting or tool allowlists/denylists
Notes
A deterministic security proxy for MCP tool calls that enforces rules before forwarding or blocking requests. Inspired by iptables, it provides explicit rule-based control over which MCP tools can be invoked and by whom. Written in TypeScript, it runs as a middleware layer between the MCP client and server.
3 stars on GitHub. Last updated 2026-02-25.
Use cases
- Restrict MCP tool access to authorized clients only
- Audit and log all MCP tool invocations in deterministic order
- Enforce rate limiting or tool allowlists/denylists
Pros
- Deterministic behavior with explicit rule sets
- Lightweight and focused on a single security function
- Familiar iptables-style syntax for developers
Cons
- Niche tool with low community adoption (3 stars)
- Requires understanding of MCP and iptables-like rule syntax
- May not cover all MCP protocol edge cases or advanced threat patterns
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Deterministic behavior with explicit rule sets
- Lightweight and focused on a single security function
- Familiar iptables-style syntax for developers
Cons
- Niche tool with low community adoption (3 stars)
- Requires understanding of MCP and iptables-like rule syntax
- May not cover all MCP protocol edge cases or advanced threat patterns
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
browsermcp/mcp
Various
Browser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
executeautomation/playwright-mcp-server
Various
Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌
idosal/git-mcp
Various
Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
agent-infra/mcp-server-browser
Various
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra