mcprouter

by chatmcp
Verified

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.

Integrations

  • Utilizes npm packaging for distribution, allowing users to quickly install and run the mcprouter server using npx

mcprouter MCP 服务器

远程 mcp 服务器的代理。

快速入门

  1. 获取远程 MCP 服务器密钥

前往MCP.so ,选择一个托管服务器,

点击Connect生成您的专属server_key。

  1. 在任何 MCP 客户端中配置 MCP 服务器

Claude Desktop为例:

{ "mcpServers": { "fetch": { "command": "npx", "args": ["-y", "mcprouter"], "env": { "SERVER_KEY": "xxx" } } } }

发展

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

安装

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "mcprouter": { "command": "/path/to/mcprouter/build/index.js" } } }

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

-
security - not tested
A
license - permissive license
-
quality - not tested

将 MCP 客户端连接到远程 MCP 服务器的代理服务,允许用户使用来自 MCP.so 的服务器密钥访问远程资源,而无需运行自己的服务器。

  1. Quick Start
    1. Development
      1. Installation
        1. Debugging
      ID: ia890nezzb