mcp-toolmux
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-toolmuxshow me the status of all downstream servers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-toolmux
mcp-toolmux is an independent MCP proxy-style tool multiplexer that exposes a small set of meta-tools and routes calls to downstream MCP servers with concurrency control, caching, and structured partial-failure handling.
It is inspired by callmux, but it is not a full clone. The current release focuses on a practical proxy shape: downstream registry, exposure modes, meta-tools, direct qualified calls, parallel calls, batch calls, dependent pipelines, tool search, schema compression, status, and lightweight caching.
中文说明:这是一个独立的 MCP proxy 项目,用来把多个下游 stdio MCP server 汇聚成一个上游可调用的 MCP server。本项目不是简单 demo,而是一个独立的 MCP 工具调用多路复用项目,目标是逐步完善工具路由、并发调度、批处理、流水线、缓存和协议层优化能力。
Architecture
flowchart LR
Client["Codex / Claude MCP client"] --> Proxy["mcp-toolmux stdio MCP server"]
Proxy --> Meta["Meta-tools\nstatus / search / call / parallel / batch / pipeline"]
Meta --> Registry["Downstream registry\nqualified + unqualified names"]
Registry --> Search["Tool search\ncompressed summaries"]
Meta --> Cache["Read-tool cache\nTTL + max entries"]
Registry --> Fake["fake stdio MCP server"]
Registry --> Other["other trusted stdio MCP servers"]Related MCP server: Multi MCP
Features
stdio MCP proxy server
downstream MCP server registry from config
tool exposure modes:
standardandmeta-onlymeta-tools:
toolmux_status,toolmux_search_tools,toolmux_call,toolmux_parallel,toolmux_batch,toolmux_pipelinedirect qualified tool calls in standard mode, using names like
server__toolunqualified tool calls when the tool name is not ambiguous
global concurrency limit for parallel calls
toolmux_batchfor multiple argument sets against the same downstream tooltoolmux_pipelinefor serial dependent tool chainsinput mapping with
$previous,$previous.result, and$steps.N.resulttoolmux_search_toolsfor downstream tool discoveryschema compression for compact tool summaries
partial failure handling with
failedIndexeslightweight TTL cache for read-style tool names
toolmux_parallel is for independent tool calls.
toolmux_batch is for multiple argument sets against the same tool.
toolmux_pipeline is for dependent tool chains where later steps consume earlier outputs.
Tool Exposure Modes
standard exposes meta-tools and qualified downstream tools. This mode is useful when you want transparent tool lists and direct calls such as fake__echo.
meta-only exposes only toolmux_* meta-tools. Downstream tools are discovered through toolmux_search_tools and invoked through toolmux_call, toolmux_parallel, toolmux_batch, or toolmux_pipeline.
Tool Search and Compression
toolmux_search_tools searches downstream tools by tool name, qualified name, description, and server name. It returns compressed summaries instead of full tool definitions by default.
Compressed tool summaries include:
nameserverqualifiedNametruncated
descriptionrequiredinputPropertiesoptional
inputSchema
Not Implemented Yet
HTTP/SSE listener
auth, dashboard, and metrics
advanced policy controls
persistent cache
The project is still evolving and does not yet include HTTP/SSE listener, auth, dashboard, advanced policy controls, or persistent cache.
Install
npm installBuild
npm run buildCLI Usage
npm install
npm run build
node dist/cli.js --help
node dist/cli.js init --output mcp-toolmux.config.json
node dist/cli.js doctor --config examples/mcp-toolmux.config.json
node dist/cli.js tools --config examples/mcp-toolmux.config.json
node dist/cli.js serve --config examples/mcp-toolmux.config.jsonserve starts the stdio MCP server mode. Logs are written to stderr so MCP protocol messages on stdout stay clean.
doctor checks config shape, defaults, command availability, and common mistakes before you start the proxy.
tools briefly connects to downstream MCP servers and prints compressed downstream tool summaries as JSON.
init creates a starter standard-mode config and refuses to overwrite an existing file.
Run the Fake Server
The fake server is meant to be launched by the proxy after build:
npm run build
node dist/examples/fake-mcp-server.jsRun the Proxy
Use the example config:
npm run build
node dist/src/index.js --config examples/mcp-toolmux.config.jsonThe proxy always exposes six MCP meta-tools:
toolmux_statustoolmux_search_toolstoolmux_calltoolmux_paralleltoolmux_batchtoolmux_pipeline
In standard mode it also exposes qualified downstream tools such as fake__echo.
Example Config
{
"mode": "standard",
"schemaCompression": {
"enabled": true,
"descriptionMaxLength": 180,
"includeInputSchema": false,
"includeRequired": true
},
"servers": {
"fake": {
"command": "node",
"args": ["dist/examples/fake-mcp-server.js"]
}
},
"maxConcurrency": 5,
"cache": {
"enabled": true,
"ttlSeconds": 300,
"maxEntries": 256
}
}By default, mcp-toolmux reads mcp-toolmux.config.json from the current directory. Pass --config path to use another file.
Tests
npm testThe handler tests use a mock upstream manager to keep the test suite fast. The fake MCP server remains available for manual stdio testing.
Security Note
Only configure trusted MCP server commands. mcp-toolmux never accepts arbitrary commands from tool input, and downstream server commands must come from the config file. Treat downstream MCP servers as executable code with your local privileges.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol server manager that acts as a proxy/multiplexer, enabling connections to multiple MCP servers simultaneously and providing JavaScript code execution with access to all connected MCP tools. Supports both stdio and HTTP transports with OAuth authentication, batch tool invocation, and dynamic server management.Last updated36MIT
- AlicenseBqualityDmaintenanceA flexible proxy server that aggregates multiple backend MCP servers into a single interface using STDIO or SSE transports. It supports dynamic server management via an HTTP API and utilizes namespacing to prevent tool conflicts across connected services.Last updated31MIT
- AlicenseAqualityBmaintenanceA stdio MCP proxy that connects to one or more upstream MCP servers and exposes their tools, resources, and prompts through a single endpoint with a configurable middleware pipeline.Last updated14323MIT
- Alicense-qualityCmaintenanceA flexible MCP proxy server that connects to and routes between multiple backend MCP servers over STDIO or SSE, enabling dynamic management and namespacing of tools.Last updated110MIT
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
MCP server for the FFmpeg Micro video transcoding API — create, monitor, download transcodes.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mxz-dddd/mcp-toolmux'
If you have feedback or need assistance with the MCP directory API, please join our Discord server