MetaMCP MCP 服务器
https://metamcp.com :一个 MCP 来管理您所有的 MCP
MetaMCP MCP 服务器是一个代理服务器,它将多个 MCP 服务器合并为一个。它从 MetaMCP 应用获取工具/提示/资源配置,并将工具/提示/资源请求路由到正确的底层服务器。
MetaMCP 应用程序仓库: https://github.com/metatool-ai/metatool-app
安装
通过 Smithery 安装
Smithery 有时可以正常工作(已在 Windsurf 本地确认),但有时不稳定,因为 MetaMCP 比较特殊,它在其上运行其他 MCP。如果无法正常工作,请考虑手动安装。
要通过Smithery自动为 Claude Desktop 安装 MetaMCP MCP 服务器:
手动安装
用法
用作 stdio 服务器(默认)
用作 SSE 服务器
使用 SSE 传输选项,服务器将启动一个 Express.js Web 服务器,该服务器监听/sse
端点上的 SSE 连接并接受/messages
端点上的消息。
与 Docker 一起使用
在 Docker 容器内运行服务器并连接到主机上的服务时,使用--use-docker-host
选项自动转换 localhost URL:
这会将任何 localhost 或 127.0.0.1 URL 转换为host.docker.internal
,从而允许容器正确连接到主机上运行的服务。
命令行选项
环境变量
METAMCP_API_KEY
:MetaMCP 的 API 密钥METAMCP_API_BASE_URL
:MetaMCP API 的基本 URLUSE_DOCKER_HOST
:设置为“true”时,将 localhost URL 转换为 host.docker.internal 以实现 Docker 兼容性
发展
亮点
- 与任何 MCP 客户端兼容
- 多工作区层使您能够一键切换到另一组 MCP 配置。
- MCP 配置的 GUI 动态更新。
- 加入的 MCP 的命名空间隔离。
架构概述
致谢
- 灵感和一些代码(在本项目中重构)来自https://github.com/adamwattis/mcp-proxy-server/
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 服务器的代理服务器,通过 MetaMCP App 实现无缝的工具、提示和资源管理。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA configurable MCP server that dynamically loads capabilities from a remote configuration to bridge MCP clients with remote APIs for executing actions, accessing resources, and utilizing prompt templates.Last updated -6904TypeScript
- -securityAlicense-qualityA middleware server that enables multiple isolated instances of the same MCP servers to coexist independently with unique namespaces and configurations.Last updated -5457TypeScriptMIT License
- -securityFlicense-qualityAn MCP server that connects to the Resource Hub, allowing centralized configuration and management of tools and resources across different MCP environments.Last updated -2JavaScript
MCP-YNU FastMCP Serverofficial
-securityAlicense-qualityA dynamic MCP server implementation that automatically loads tools, resources, and prompts from their respective directories, allowing for easy extension and configuration.Last updated -PythonMIT License