Model Context Protocol
MCP integration guide
MuiRouter runs a streamable-HTTP MCP server so AI clients like Claude Desktop, Claude Code, Cursor and Cline can call it directly — your AI assistant can check your balance, view usage, list models, generate images and even start a top-up. Everything is authenticated with your own sk-gw- API key, so neither third parties nor AI clients need a new account.
1. Server endpoint
All MCP clients connect to the same URL using Bearer auth.
2. Connect in Claude Code
Edit ~/.claude/mcp.json and add the muirouter server.
3. Connect in Cursor / Claude Desktop
Fill in the same URL and Authorization header.
4. Available tools
Six tools covering account queries, pricing, image generation and top-ups.
5. Direct JSON-RPC calls
You can also call it directly with curl, without an MCP client.
6. Security notes