
mcpproxy-go
by smart-mcp-proxy·★ 218·综合分 51
MCPProxy 是一个智能代理服务器,通过安全机制、令牌节省和工具发现来整合多个 MCP 服务器。
概述
MCPProxy 是一个基于 Go 的桌面应用程序,作为 MCP 服务器的智能代理,解决了直接 MCP 连接的关键限制。它使用户能够整合数百个 MCP 服务器,同时绕过 Cursor 和 OpenAI 等平台施加的工具限制。代理通过仅加载一个 'retrieve_tools' 函数而不是数百个模式来实现显著的令牌节省,研究表明可减少约 99% 的令牌使用并提高 43% 的准确性。此外,它还包含安全功能,如自动隔离,可在手动批准新服务器之前阻止工具注入攻击。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要扩展 AI 代理突破平台限制,同时最大化令牌效率,并对恶意 MCP 服务器需要强大的安全保护时,选择 MCPProxy。
什么时候不要选它
如果您只需要简单的 MCP 服务器连接而不需要代理的开销,或者您在严格隔离的环境中工作且无法访问互联网,请不要选择 MCPProxy。
此 server 暴露的工具
从 README 抽取出 1 个工具retrieve_toolsRetrieve a limited set of tools from the proxy based on relevance and usage patterns
说明:MCPProxy acts as a proxy that exposes a limited 'retrieve_tools' function to clients rather than exposing the full set of tools from upstream servers directly. The actual tools available depend on the configuration of upstream servers.
可对比工具
安装
安装
**macOS(推荐 - DMG 安装程序):**
- Apple Silicon (M1/M2): 下载
mcpproxy-*-darwin-arm64.dmg - Intel Mac: 下载
mcpproxy-*-darwin-amd64.dmg
**Windows(推荐 - 安装程序):**
- x64 (64位): 下载
mcpproxy-setup-*-amd64.exe - ARM64: 下载
mcpproxy-setup-*-arm64.exe
**其他安装方法:**
# macOS (Homebrew)
brew install smart-mcp-proxy/mcpproxy/mcpproxy
# Linux (Debian/Ubuntu)
sudo apt update && sudo apt install mcpproxy
# 使用 Go 安装
go install github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy@latestClaude Desktop 配置
添加到 Claude Desktop 配置文件:
{
"mcpServers": {
"MCPProxy": {
"command": "mcpproxy",
"args": ["serve"]
}
}
}FAQ
- MCPProxy 如何节省令牌?
- MCPProxy 只加载一个 'retrieve_tools' 函数而不是数百个单独的工具模式,将令牌使用减少约 99%,同时将准确性提高 43%。
- MCPProxy 提供哪些安全功能?
- MCPProxy 包含自动隔离功能,在手动批准之前阻止可能有害的 MCP 服务器,防止工具注入攻击。它还使用操作系统原生的密钥环进行安全密钥管理。
mcpproxy-go 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。