SM

smart-mcp-proxy/mcpproxy-go

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

403 stars 67 forks 质量 83 趋势 41MIT

安全地为AI特工充能

概览

📺 观看完整攻略  · 📚  阅读文档  ·  🌐 mcpproxy.app 上面的演示展示了 .MCPProxy——Web UI内置其中,无需额外服务。在 ,可选配置增加了一键便利(启动/停止、服务器健康、隔离、日志)。      macOS 菜单栏应用   ·   macOS 应用中的活动日志与审计 - – 联邦数百台MCP服务器,绕过Cursor的40工具限制和OpenAI的128功能限制。- – 代理只加载一个retrieve_tools函数,而非数百个模式。研究显示,使用该功能可减少~99%的令牌。- – 自动隔离阻止工具中毒攻击,直到你手动批准新服务器。- – 在批准前,对隔离服务器运行Snyk、Semgrep、Trivy、Cisco及其他基于Docker的扫描器;结果被归一化为SARIF,并获得综合风险评分。参见安全扫描插件。

概述(AI 翻译)

📺 观看完整攻略  ·  📚 阅读 文档 ·  🌐 mcpproxy.app

上面的演示展示了嵌入式网页UI。MCPProxy 核心是macOS、Linux和Windows的单一二进制文件——网页UI内置其中,无需额外服务。在macOS上,可选的菜单栏应用增加了一键便利(启动/停止、服务器健康、隔离、日志)。

    

macOS 菜单栏应用   ·   macOS 应用中的活动日志与审计

为什么是MCPProxy?

  • 超越API限制的扩展——联邦化数百台MCP服务器,同时绕过Cursor的40工具限制和OpenAI的128功能限制。
  • 在工具定义上花费更少的上下文——代理看到的是一小部分MCPProxy的发现和执行工具(retrieve_tools、describe_tool、call_tool_*变体及少数管理工具),而非完整的上游工具目录,按需获取模式(在retrieve_tools和code_execution路由中;direct路由单独暴露上游工具,详见路由模式)。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

📺 Watch the full walkthrough  ·  📚 Read the docs  ·  🌐 mcpproxy.app

The demo above shows the embedded web UI. The MCPProxy core is a single binary for macOS, Linux, and Windows — the web UI ships inside it, with no extra service to run. On macOS, an optional menu‑bar app adds one‑click convenience (start/stop, server health, quarantine, logs).

Why MCPProxy?

  • Scale beyond API limits – Federate hundreds of MCP servers while bypassing Cursor’s 40-tool limit and OpenAI’s 128-function cap.
在 GitHub 查看完整 README

安装

npx -y mcp-remote http://localhost:8080/mcp
新手?先看 mcpskill.org 教程 →

配置

{ "listen": "127.0.0.1:8080", "mcpServers": [ { "name": "local-python", "command": "python", "args": ["-m", "my_server"], "protocol": "stdio", "enabled": true }, { "name": "remote-http", "url": "http://localhost:3001", "protocol": "http", "enabled": true } ] }