mcpField
M
MCP Server Copilot

MCP Server Copilot

Local
github.com/tshu-wAI & Agents17Updated 75w ago

About MCP Server Copilot

MCP Server Copilot is a meta MCP server for routing queries to relevant servers and tools. It helps LLM applications work across a large collection without exposing every server and tool directly.

Key features

  1. 01Route queries to relevant MCP servers
  2. 02Find relevant tools across servers
  3. 03Execute tools on selected servers

Use cases

  1. 01Select servers for a user query
  2. 02Find a tool among configured servers
  3. 03Run a tool after routing

MCP support

It acts as both an MCP server and a router for other MCP servers. Its tools locate relevant servers or tools, then execute a selected tool.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"copilot": {
"command": "uvx",
"args": [
"mcp-server-copilot"
]
}
}
}
Run commanduvx mcp-server-copilot

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimcp-server-copilot

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.