what is MCP Router?
MCP Router is a proxy server designed for connecting to remote MCP servers, facilitating communication between clients and servers in the Model Context Protocol (MCP).
how to use MCP Router?
To use MCP Router, obtain a remote MCP server key from MCP.so, configure it in your MCP client, and run the server using the provided commands.
key features of MCP Router?
- Connects to remote MCP servers seamlessly.
- Supports configuration in various MCP clients.
- Provides debugging tools through MCP Inspector.
use cases of MCP Router?
- Connecting to remote servers for data processing.
- Facilitating communication in distributed applications.
- Debugging MCP server interactions using the MCP Inspector.
FAQ from MCP Router?
- How do I get a remote MCP server key?
Visit MCP.so, select a hosting server, and click
Connect
to generate your server key.
- Can I use MCP Router with any MCP client?
Yes, MCP Router can be configured with any compatible MCP client, such as Claude Desktop.
- What if I encounter issues while debugging?
Use the MCP Inspector for enhanced debugging capabilities.
mcprouter MCP Server
proxy for remote mcp servers.
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"
}
}
}
}
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
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 inspector
The Inspector will provide a URL to access debugging tools in your browser.