
mcprouter
โ 4from chatmcp
A proxy for routing requests to remote MCP servers.
mcprouter MCP Server
proxy for remote mcp servers.
Development
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchnpm installBefore it works, you'll need: SERVER_KEY
Quick Start
- Get Remote MCP Server Key
go to MCP.so, select a hosting server,
click Connect to generate your exclusive server_key.
- Configure MCP Server in any MCP Client
take Claude Desktop for example:
{
"mcpServers": {
"fetch": {
"command": "npx",
"args": ["-y", "mcprouter"],
"env": {
"SERVER_KEY": "xxx"
}
}
}
}Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcprouter": {
"command": "/path/to/mcprouter/build/index.js"
}
}
}Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ