MCP router that simplifies tool access through semantic search
Project description
mcp-mux
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 languageexecute- 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
- Initialize configuration:
uvx mcp-mux init
- 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"]
}
}
}
- 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:
search- Find tools using natural languageexecute- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33276835bcb89fb55d77fec4c713aa88f1cc950faa51d6a77312f8550f9338ea
|
|
| MD5 |
a8600346b3aa7b36339062d0064cd4a6
|
|
| BLAKE2b-256 |
2998e3b74bdc98066c3835e102753258d3136898ce5529f68d154d25a48ee980
|
Provenance
The following attestation bundles were made for mcp_mux-0.2.0.tar.gz:
Publisher:
release.yml on logandonley/mcp-mux
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_mux-0.2.0.tar.gz -
Subject digest:
33276835bcb89fb55d77fec4c713aa88f1cc950faa51d6a77312f8550f9338ea - Sigstore transparency entry: 346501452
- Sigstore integration time:
-
Permalink:
logandonley/mcp-mux@b514f224201e20b92dc6154f74bfb74c9ce2ac96 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/logandonley
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b514f224201e20b92dc6154f74bfb74c9ce2ac96 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e951e6a7dd2b01c2fb9e73938c7024623312b68662b93f83eee0a7e96e5899ca
|
|
| MD5 |
2fd76e97432d6c339fd64168e73820a0
|
|
| BLAKE2b-256 |
6ce7500044ca99f2e7cb56e93e33f26a2cc856ee1c21dce99bbe70732693fc15
|
Provenance
The following attestation bundles were made for mcp_mux-0.2.0-py3-none-any.whl:
Publisher:
release.yml on logandonley/mcp-mux
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_mux-0.2.0-py3-none-any.whl -
Subject digest:
e951e6a7dd2b01c2fb9e73938c7024623312b68662b93f83eee0a7e96e5899ca - Sigstore transparency entry: 346501472
- Sigstore integration time:
-
Permalink:
logandonley/mcp-mux@b514f224201e20b92dc6154f74bfb74c9ce2ac96 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/logandonley
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b514f224201e20b92dc6154f74bfb74c9ce2ac96 -
Trigger Event:
push
-
Statement type: