A favicon of MCP Router

MCP Router

mcprouter for remote mcp servers

Installation

Installing for Claude Desktop

Option 1: One-Command Installation

npx mcpbar@latest install chatmcp/mcp-server-router -c claude

This command will automatically install and configure the MCP Router MCP server for your selected client.

Option 2: Manual Configuration

Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

After opening your configuration file, copy and paste this configuration:

View JSON configuration
{
  "mcpServers": {
    "MCP Router": {
      "command": "npx",
      "args": [
        "-y",
        "mcprouter"
      ],
      "env": {
        "SERVER_KEY": "xxx"
      }
    }
  }
}

mcprouter MCP Server

proxy for remote mcp servers.

Quick Start

  1. Get Remote MCP Server Key

go to MCP.so, select a hosting server,

click Connect to generate your exclusive server_key.

  1. 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.

Share:
Details:
  • Stars


    3
  • Forks


    4
  • Last commit


    22 days ago
  • Repository age


    3 months
  • License


    MIT
View Repository

Auto-fetched from GitHub .

MCP servers similar to MCP Router:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


MCP Router: MCP Server – MCP.Bar