Skip to main content

MCP router that simplifies tool access through semantic search

Project description

mcp-mux

CI Python Version PyPI License: MIT

A Model Context Protocol (MCP) multiplexer that intelligently routes to the right tool from hundreds of available options using semantic search.

Why mcp-mux?

Problem: Managing multiple MCP servers means dealing with hundreds of tools, making it hard for LLMs to find the right one.

Solution: mcp-mux acts as an intelligent router that exposes just two tools:

  • search - Find tools using natural language
  • execute - Run the tool you found

This dramatically simplifies tool discovery and improves LLM performance with MCP servers.

Requirements

  • Python 3.10+
  • MCP-compatible client (e.g., Claude Desktop)

Installation

# Using uvx (recommended)
uvx mcp-mux init

# Or install globally
pip install mcp-mux

Quick Start

  1. Initialize configuration:
uvx mcp-mux init
  1. Configure your MCP servers in ~/.mux/config.json:
{
  "mcpServers": {
    "filesystem": {
      "command": "uvx",
      "args": ["mcp-server-filesystem", "/Users/me/projects"]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"]
    }
  }
}
  1. Add mcp-mux to your MCP client configuration:
{
  "mcpServers": {
    "mux": {
      "command": "uvx",
      "args": ["mcp-mux"]
    }
  }
}

How It Works

Instead of exposing hundreds of tools from multiple servers, mcp-mux exposes just two:

  1. search - Find tools using natural language
  2. execute - Run a specific tool

Configuration

# List available embedding models
uvx mcp-mux model --list

# Switch to a different model
uvx mcp-mux model BAAI/bge-small-en-v1.5

License

MIT

Development Status

This project is in early development. Features may change.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_mux-0.2.0.tar.gz (162.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_mux-0.2.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file mcp_mux-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_mux-0.2.0.tar.gz
  • Upload date:
  • Size: 162.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcp_mux-0.2.0.tar.gz
Algorithm Hash digest
SHA256 33276835bcb89fb55d77fec4c713aa88f1cc950faa51d6a77312f8550f9338ea
MD5 a8600346b3aa7b36339062d0064cd4a6
BLAKE2b-256 2998e3b74bdc98066c3835e102753258d3136898ce5529f68d154d25a48ee980

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_mux-0.2.0.tar.gz:

Publisher: release.yml on logandonley/mcp-mux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_mux-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_mux-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcp_mux-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e951e6a7dd2b01c2fb9e73938c7024623312b68662b93f83eee0a7e96e5899ca
MD5 2fd76e97432d6c339fd64168e73820a0
BLAKE2b-256 6ce7500044ca99f2e7cb56e93e33f26a2cc856ee1c21dce99bbe70732693fc15

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_mux-0.2.0-py3-none-any.whl:

Publisher: release.yml on logandonley/mcp-mux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page