"Put a security gateway in front of any MCP server in 5 minutes" A developer has released mcp-guard, an open-source security gateway that sits between AI agents and MCP servers to enforce authentication, rate limiting, audit logging, and spending controls. The tool, installable via pip, can wrap any MCP server in 30 seconds and includes features like approval queues for expensive tool calls and CI/CD scanning via a GitHub Action. If you're shipping an AI agent, you've probably wired it up to one or more MCP servers — for filesystem, GitHub, web search, payments. But here's the uncomfortable truth: most MCP setups today have zero auth, no rate limit, no audit log, and no spending control . Anyone who can hit your MCP URL can drain your wallet, exfiltrate your files, or run up a bill on a paid API. There's no firewall. There's no if amount $5, ask me first . There's nothing. I just shipped mcp-guard , a tiny open-source gateway that sits between your agent and any MCP server. It's one pip install and one config file away from being useful. pip install bonanza-mcp-guard mcp-guard scan check your existing config for holes mcp-guard serve wrap any MCP server in 30 seconds Here's what it does, why I built it, and how to wire it into your stack today. When I started shipping agents that talk to paid APIs Stripe, OpenAI, Anthropic, Twilio, weather APIs , I wanted five things that MCP didn't give me out of the box: wallet pay to the value of $50 should require my approval. Always.MCP itself is great. It's a clean protocol. It doesn't try to be a security layer — and that's the right call for a protocol spec. But somebody has to build the security layer. So I did. mcp-guard is a transparent proxy . You put it in front of any MCP server stdio or HTTP and it enforces: 30 req/min , configurable per-agent or globally require approval above: 5.0 → tool calls ≥ $5 get held in the approval queue -32004 approval pending with an approval id . Human runs mcp-guard approvals approve