mcprouter MCP Server

by MCP-Mirror

320 downloads
Not rated
GitHub

About

mcprouter is a proxy that connects to remote MCP (Model Context Protocol) servers. It is designed for users who want to host MCP servers on MCP.so and access them through a local proxy in any MCP client.

Details

Author
MCP-Mirror
Downloads
320
Categories
Other

- Acts as a proxy for remote MCP servers.
- Uses a server key generated from MCP.so.
- Runs via npx without permanent installation.
- Works with any MCP client, including Claude Desktop.
- Supports debugging with the MCP Inspector.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcprouter MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Obtain a server key from MCP.so by selecting a hosting server and clicking Connect. Then configure your MCP client (e.g., Claude Desktop) with the command npx -y mcprouter and the environment variable SERVER_KEY set to your key. Alternatively, build the server from source using npm run build and point to the built index.js.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

{
    "fetch": {
        "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.

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.