SuperAPIAI Directory

mcpproxy-go

github.com · AI developer platforms

Local MCP proxy that routes multiple servers through one endpoint, with BM25 tool filtering, quarantine security, activity logging and a web UI.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

MCPProxy is a local MCP (Model Context Protocol) proxy used to route multiple MCP servers uniformly through a single endpoint and to provide AI agents with a safer, more context-efficient way to access tools. At its core is a single binary file, supporting macOS (Intel and Apple Silicon), Windows (x64 and ARM64), and Linux (x64 and ARM64), with an embedded Web UI and no need to run an additional service; macOS also offers an optional menu bar app that supports one-click start/stop, viewing server health status, isolation, and logs.

Main capabilities

  • Aggregation and extension: It can federate hundreds of MCP servers, bypassing Cursor's 40-tool limit and OpenAI's 128-function cap.
  • On-demand discovery: Agents no longer load all upstream tool definitions, but instead see a small number of MCPProxy built-in tools (such as retrieve_tools, describe_tool, call_tool_* variants, and several management tools), use BM25 search to retrieve the needed tools by keyword, and then fetch the full schema on demand. The repository states that the savings are not a fixed percentage and depend on the number of tools, routing mode, client, and task; on a 45-tool reference corpus, the proxy's initial menu is actually larger than directly listing all upstream tools (retrieve_tools mode 2625 tokens, code_execution mode 1874, baseline 1730), and savings only appear once the number of tools exceeds the break-even point.
  • Isolation review: New servers enter the quarantine zone by default, and their tools are not exposed to agents until manually reviewed and approved; under the default manual trust mode, most subsequent changes to approved tool definitions are withheld for review again. Known exceptions include: input-only schema edits in non-scan mode, newly added output schemas, and adding descriptions to tools that originally had empty descriptions; scan mode allows clean changes through and may miss detections; automatic mode does not withhold changes. This mechanism is used to reduce the risk of tool poisoning attacks, but it does not guarantee absolute safety.
  • Pluggable security scanners: Before approval, Docker-based scanners such as Snyk, Semgrep, Trivy, and Cisco can be run against quarantined servers, with results normalized to SARIF and a composite risk score provided.
  • Invocation and auditing: Agents use call_tool_read,Variants such as call_tool_write and call_tool_destructive invoke tools according to their declared intent; the proxy verifies whether the intent matches the tool annotations and checks quarantine and approval status. All calls are recorded in a local activity log with a request ID, subject to a configurable retention policy (time, record count, size) and a maximum size limit for a single response, for inspection and debugging rather than as a compliance guarantee. Sensitive data detection flags potential secrets in parameters and responses in the log, and by default does not block calls; optional output sanitization can redact or block severe detections in supported text responses, but does not cover tool parameters, non-text content, direct routing mode, or upstream error responses.
  • Preflight gate: For headless automation tasks such as cron, CI, and n8n, a single preflight command can check whether the required tools are ready without contacting upstream servers, and report specific reasons (server quarantined, tool changed after approval, OAuth expired, ID typo, etc.).

How to use Installation: On macOS, the DMG installer is recommended (different files for Apple Silicon and Intel); Homebrew cask (menu bar app, includes CLI) or formula (CLI only) can also be used. On Windows, the installer is recommended (x64 and ARM64); it automatically installs the core server and system tray app, adds it to PATH, creates a Start menu shortcut, and supports silent installation. On Linux, apt and dnf repositories are provided (automatic updates, with a hardened systemd unit and automatic service startup), along with mcpproxy-bin on the Arch AUR, and a manually downloaded tarball; it can also be built in an environment with Go 1.26+. Configuration and connection: After adding a server, it must be reviewed and approved; ~/.mcpproxy/mcp_config.json can also be edited manually. Connect the proxy to IDEs/AI tools such as Cursor, VS Code, Claude Desktop, and Goose; Claude Desktop requires configuration in claude_desktop_config.json. HTTP is used by default, HTTPS is optional, a certificate is automatically generated on first startup, localhost, 127.0.0.1, and ::1 are supported, and trust can be installed with mcpproxy trust-cert.

Applicable scenarios and limitations Suitable for scenarios that require aggregating a large number of MCP servers, controlling the context footprint of tool definitions, reviewing and security-scanning third-party MCP servers, and performing preflight tool readiness checks for automation tasks. Limitations include: quarantine and scanning cannot guarantee security; token savings depend on the number of tools and configuration, the repository has not published unified token reduction or accuracy improvement figures, and no latency claims have been made; sensitive data detection does not block by default, and output sanitization has limited coverage; the activity log is a debugging aid rather than a compliance guarantee.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools