Skip to main content

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.

Metadata

Release files for mcp-mux 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-mux 0.2.0
File Size Uploaded
mcp_mux-0.2.0.tar.gz 162.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-mux 0.2.0
File Interpreter ABI Platform
mcp_mux-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 179.5 kB

Release files / mcp_mux-0.2.0.tar.gz

Download URL mcp_mux-0.2.0.tar.gz
Size 162.8 kB
Tags Source
SHA-256 checksum
How to use checksums
33276835bcb89fb55d77fec4c713aa88f1cc950faa51d6a77312f8550f9338ea
BLAKE2b-256 checksum
How to use checksums
2998e3b74bdc98066c3835e102753258d3136898ce5529f68d154d25a48ee980
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 3, 2025.

Transparency log

Release files / mcp_mux-0.2.0-py3-none-any.whl

Download URL mcp_mux-0.2.0-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e951e6a7dd2b01c2fb9e73938c7024623312b68662b93f83eee0a7e96e5899ca
BLAKE2b-256 checksum
How to use checksums
6ce7500044ca99f2e7cb56e93e33f26a2cc856ee1c21dce99bbe70732693fc15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 3, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page