MCP Server Copilot

by tshu-w

17 stars
302 downloads
Not rated
GitHub

About

A meta MCP server that seamlessly scales LLMs to 1000+ MCP servers through automatic routing.

Details

Author
tshu-w
GitHub stars
17
Downloads
302
Categories
Other

- Automatic routing of queries to relevant MCP servers.
- Automatic routing of queries to specific tools across servers.
- Execution of a chosen tool on a specified server.
- Scalable to over 1,000 MCP servers.
- Configurable top‑k results for routed servers and tools.

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 MCP Server Copilot
    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

Install via uvx (recommended, no manual installation needed) or via pip install mcp-server-copilot. Copy the sample configuration file to ~/.config/mcp-server-copilot, then add the server to your MCP client settings using either uvx mcp-server-copilot --config ~/.config/mcp-server-copilot/config.json or python -m mcp_server_copilot --config ~/.config/mcp-server-copilot/config.json.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "mcp server copilot": {
            "copilot": {
                "command": "uvx",
                "args": [
                    "mcp-server-copilot"
                ]
            }
        }
    }
}

McpServers

{
    "copilot": {
        "command": "uvx",
        "args": [
            "mcp-server-copilot"
        ]
    }
}

MCP Server Copilot

MCP Server
python
PyPI - Version
uv
Ruff

A meta Model Context Protocol (MCP) server that seamlessly scales LLMs to 1000+ MCP servers through automatic routing without expose all servers and tools to LLMs directly.

<p align="center">
mcp_copilot
</p>

Components

Tools

- router-servers: Route user query to appropriate MCP servers.
- query (string, required): User's query to find relevant servers.
- top_k (integer, optional): Maximum number of servers to return (default: 5).

- route-tools: Route user query to appropriate MCP tools across all servers.
- query (string, required): User's query to find relevant tools.
- top_k (integer, optional): Maximum number of tools to return (default: 5).

- execute-tool: Execute a specific tool on a specific server based on previous routing results.
- server_name (string, required): Name of the server hosting the tool.
- tool_name (string, required): Name of the tool to execute.
- params (object, optional): Parameters to pass to the tool, as a key-value dictionary (default: null or empty object).

Installation

Using uv (recommended)

When using uv no specific installation is needed. We will
use uvx to directly run mcp-server-copilot.

Using PIP

Alternatively you can install mcp-server-copilot via pip:

pip install mcp-server-copilot

After installation, you can run it as a script using:

python -m mcp_server_copilot

Configuration

Copy config/config.sample.json to ~/.config/mcp-server-copilot

Add to your MCP Client settings:

<details>
<summary>Using uvx</summary>

{
  "mcpServers": {
    "copilot": {
      "command": "uvx",
      "args": ["mcp-server-copilot", "--config", "~/.config/mcp-server-copilot/config.json"]
    }
  }
}
</details>

<details>
<summary>Using pip installation</summary>

{
  "mcpServers": {
    "copilot": {
      "command": "python",
      "args": ["-m", "mcp_server_copilot", "--config", "~/.config/mcp-server-copilot/config.json"]
    }
  }
}
</details>

TODOs

- [ ] Add Dockerfile
- [ ] Tune prompt and add show cases
- [ ] Manage Servers more easily
- [ ] Add Semantic Routing
- [ ] Add Planning Capabilities
- [ ] Resources & Prompts

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.