Model Context Protocol (MCP) Router & Gateway
MCP Router & Integration Guide
MuiRouter provides a high-performance streamable-HTTP MCP server and router. Connect AI clients like Claude Desktop, Claude Code, Cursor, and Cline to route LLMs, aggregate multiple local and remote MCP servers, and access built-in account tools with your own API key.
1. Dual-Era Protocol Support
Built to support the latest 2026-07-28 stateless streamable-HTTP spec while seamlessly negotiating with legacy 2025-11-25 / 2025-06-18 clients.
2. Server Endpoint & Authentication
All MCP clients connect to the same streamable-HTTP URL using Bearer auth.
3. Multi-Server Aggregation (Claude Code)
Add MuiRouter alongside your local MCP servers in ~/.claude/mcp.json for centralized routing.
4. Connect in Cursor / Claude Desktop / Cline
Configure streamable-HTTP with the same endpoint and Authorization header.
5. Built-in Account & AI Tools
Six built-in tools covering model routing, account queries, image generation, and instant top-ups.
6. Direct JSON-RPC & curl Debugging
Test server discovery, tool listing, and tool calls directly using curl without an MCP client.
7. Security & Best Practices