MetaMCP MCP Server

Official

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • The README includes a Mermaid sequence diagram to illustrate the architecture of the MetaMCP MCP Server, showing how it interacts with MCP clients, the MetaMCP App, and installed MCP servers.

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 服务器:

npx -y @smithery/cli install @metatool-ai/mcp-server-metamcp --client claude

手动安装

export METAMCP_API_KEY=<env> npx -y @metamcp/mcp-server-metamcp@latest
{ "mcpServers": { "MetaMCP": { "command": "npx", "args": ["-y", "@metamcp/mcp-server-metamcp@latest"], "env": { "METAMCP_API_KEY": "<your api key>" } } } }

用法

用作 stdio 服务器(默认)

mcp-server-metamcp --metamcp-api-key <your-api-key>

用作 SSE 服务器

mcp-server-metamcp --metamcp-api-key <your-api-key> --transport sse --port 12006

使用 SSE 传输选项,服务器将启动一个 Express.js Web 服务器,该服务器监听/sse端点上的 SSE 连接并接受/messages端点上的消息。

命令行选项

Options: --metamcp-api-key <key> API key for MetaMCP (can also be set via METAMCP_API_KEY env var) --metamcp-api-base-url <url> Base URL for MetaMCP API (can also be set via METAMCP_API_BASE_URL env var) --report Fetch all MCPs, initialize clients, and report tools to MetaMCP API --transport <type> Transport type to use (stdio or sse) (default: "stdio") --port <port> Port to use for SSE transport (default: "12006") -h, --help display help for command

环境变量

  • METAMCP_API_KEY :MetaMCP 的 API 密钥
  • METAMCP_API_BASE_URL :MetaMCP API 的基本 URL

发展

# Install dependencies npm install # Build the application npm run build # Watch for changes npm run watch

亮点

  • 与任何 MCP 客户端兼容
  • 多工作区层使您能够一键切换到另一组 MCP 配置。
  • MCP 配置的 GUI 动态更新。
  • 加入的 MCP 的命名空间隔离。

架构概述

致谢

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

统一多个 MCP 服务器的代理服务器,通过 MetaMCP App 实现无缝的工具、提示和资源管理。

  1. Installation
    1. Installing via Smithery
    2. Manual Installation
  2. Usage
    1. Using as a stdio server (default)
    2. Using as an SSE server
    3. Command Line Options
  3. Environment Variables
    1. Development
      1. Highlights
        1. Architecture Overview
          1. Credits
            ID: 0po36lc7i6