MCP ExplorerExplorer

Mcp Copilot

@tshu-won a year ago
10 MIT
FreeCommunity
AI Systems
#mcp-server#model-context-protocol#router#mcp-client
A Meta MCP server that seamlessly scales LLMs to 1000+ MCP servers through automatic routing.

Overview

What is Mcp Copilot

mcp-copilot is a Meta MCP server designed to seamlessly scale Large Language Models (LLMs) across more than 1000 MCP servers through automatic routing.

Use cases

Use cases for mcp-copilot include chatbots that require high availability, real-time language translation services, and large-scale data analysis tasks.

How to use

To use mcp-copilot, users need to set up the server environment, configure the routing parameters, and deploy their LLMs. The system will automatically manage the distribution of requests across the MCP servers.

Key features

Key features of mcp-copilot include automatic routing for load balancing, scalability to over 1000 MCP servers, and optimized performance for LLMs.

Where to use

mcp-copilot can be used in various fields such as artificial intelligence research, natural language processing applications, and any scenario requiring scalable LLM deployment.

Content

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.

mcp_copilot

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:

Using uvx
{
  "mcpServers": {
    "copilot": {
      "command": "uvx",
      "args": [
        "mcp-server-copilot",
        "--config",
        "~/.config/mcp-server-copilot/config.json"
      ]
    }
  }
}
Using pip installation
{
  "mcpServers": {
    "copilot": {
      "command": "python",
      "args": [
        "-m",
        "mcp_server_copilot",
        "--config",
        "~/.config/mcp-server-copilot/config.json"
      ]
    }
  }
}

TODOs

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers