smart-mcp-proxy/mcpproxy-go
Supercharge AI Agents, Safely
What it solves
MCPProxy addresses the limitations of AI agents when connecting to numerous Model Context Protocol (MCP) servers. It solves the problem of hitting tool limits in IDEs (like Cursor's 40-tool limit) and LLM APIs (like OpenAI's 128-function cap), while reducing the massive token cost associated with loading hundreds of tool schemas into an agent's context window.
How it works
It acts as a secure gateway between AI agents and multiple upstream MCP servers. Instead of the agent seeing every available tool, MCPProxy provides a small set of built-in tools. The agent uses a retrieve_tools function to search for needed tools via BM25 search; MCPProxy then returns only the most relevant matches. The agent only loads full schemas for the specific tools it intends to use. Additionally, it implements a security layer that quarantines new servers and allows for scanning via pluggable Docker-based security scanners (e.g., Snyk, Semgrep) before approval.
Who it’s for
Developers and AI power users who use MCP-compatible tools (Cursor, VS Code, Claude Desktop, Goose) and need to scale their agent's capabilities across hundreds of tools without sacrificing performance, token budget, or security.
Highlights
- Token Efficiency: Reduces token usage by up to 99% by loading only required tool schemas on demand.
- Security Quarantine: Automatically blocks "Tool Poisoning Attacks" by quarantining new servers until manually approved.
- Pluggable Scanning: Integrates with Docker-based scanners like Snyk and Trivy to evaluate quarantined servers.
- Cross-Platform: Distributed as a single binary for macOS, Windows, and Linux with an embedded web UI.
- Preflight Checks: Allows headless automations to verify tool availability before starting expensive agent sessions.
Related
- Project
- Dispatch
- Project
- Project
- Project