Meta MCP 代理
一个灵活的模型上下文协议 (MCP) 代理,支持跨多个 MCP 服务器和 JavaScript 函数发现和执行工具。如果您拥有大量工具,则可以减少上下文事件。此 MCP 充当其他 MCP(或库)的包装器,执行某种本地 RAG(检索增强生成)操作以缩减上下文大小,为 LLM 提供两种方法(发现和执行),并要求 LLM 简洁地进行发现。执行方法是一个简单的代理
我们极力建议添加配置discoverDescriptionExtras
来扩展有关工具用途的详细信息以及 llm 应该将其用于哪些类型的主题。
特征
- 🌉统一工具发现:跨多个 MCP 服务器搜索工具
- 🔌代理执行:将工具调用路由到适当的服务器
- 🔍智能搜索:通过模糊匹配找到最适合工作的工具
- 🧩 JavaScript 集成:将自定义 JavaScript 函数公开为 MCP 工具
- 📝可配置:从文件或命令行参数加载配置
用法
🧱 安装
编辑文件~/Library/Application Support/Claude/claude_desktop_config.json
并添加以下内容
配置文件格式
您的config.json
应该遵循以下结构:
例如
与 Claude 的 0-Shot 对话示例
该示例使用宠物商店的演示配置,几乎没有对 API 的描述
作为图书馆
您还可以在自己的 JavaScript 应用程序中将 Meta MCP Proxy 用作库:
使用 meta-mcp-proxy 作为库创建 mcp 的示例
执照
麻省理工学院
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
一种灵活的代理,可以跨多个模型上下文协议 (MCP) 服务器和 JavaScript 函数发现和执行工具,即使处理数百个工具也可以减少上下文大小。
Related MCP Servers
- -securityAlicense-qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.Last updated -43TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.Last updated -484TypeScript
- -security-license-qualityA specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.Last updated -1TypeScript
- -securityAlicense-qualityAn MCP (Model Context Protocol) server that chains calls to other MCP tools, reducing token usage by allowing sequential tool execution with result passingLast updated -10925JavaScriptMIT License