MM

mcpmux/mcp-mux

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

27 stars 12 forks 质量 75 趋势 14GPL-3.0

配置一次MCP服务器,通过单一本地网关连接每个AI客户端

概览

Cursor、Claude Desktop、VS Code、Windsurf——它们都支持MCP,但每个都需要自己的配置文件。它们之间没有任何通信。 添加服务器?轮换API密钥?换新机器? 那些API密钥呢?坐在你机器上的任何人都能读取。 McpMux 是一个运行本地 MCP 网关的桌面应用。服务器只需配置一次——每个 AI 客户端通过同一个 URL 连接。 在 McpMux 中添加服务器,所有连接的客户端都会立即接手——无需重启,无需手动刷新。移除工具或更新提示?每个客户端都能立刻知道。 轻量级且跨平台——用Rust和Tauri 2构建,McpMux在Windows、macOS和Linux上运行时,CPU和内存极少,安静地运行在系统托盘中。 从内置注册表安装服务器——或者自行添加 把一个配置粘贴到每个AI客户端里(你最后需要的配置):

概述(AI 翻译)

一个应用管理你所有 MCP 服务器,跨越所有 AI 客户端。

网站 ·下载 ·发现服务器 ·功能 ·Discord


问题

Cursor、Claude Desktop、VS Code、Windsurf——它们都支持MCP,但每个都需要自己的配置文件。它们之间没有任何通信。

添加服务器?编辑四个文件。 旋转一个API密钥?**编辑四个文件。**新机器?从头开始。

那些API密钥呢?它们存储在纯文本JSON文件中,任何人在你机器上都能读取。

修理

McpMux 是一个运行本地 MCP 网关的桌面应用。服务器只需配置一次——每个 AI 客户端通过同一个 URL 连接。

在 McpMux 中添加服务器,所有连接的客户端都会立即接手——无需重启,无需手动刷新。移除工具或更新提示?每个客户端都能立刻知道。

轻量级且跨平台——用Rust和Tauri 2构建,McpMux在Windows、macOS和Linux上运行时,CPU和内存极少,安静地运行在系统托盘中。


工作原理

1. 从内置注册表安装服务器——或者自行添加服务器

2. 把一个配置粘贴到每个AI客户端里(你最后需要的配置):

3. 完成。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

McpMux

One app to manage all your MCP servers across every AI client.

Website · Download · Discover Servers · Features · Discord


The Problem

Cursor, Claude Desktop, VS Code, Windsurf — they all support MCP, but each one needs its own config file. None of them talk to each other.

┌─────────────────────────────────────────────────────────────────────────┐
│  Today: every client manages MCP servers independently                  │
│                                                                         │
│  Cursor       → config.json    → github, slack, db  + API keys         │
│  Claude       → config.json    → github, slack, db  + API keys  (dupe) │
│  VS Code      → settings.json  → github, slack, db  + API keys  (dupe) │
│  Windsurf     → config.json    → github, slack, db  + API keys  (dupe) │
│                                                                         │
│  ⚠ 4 config files  ·  4 copies of every API key  ·  all plain text     │
└─────────────────────────────────────────────────────────────────────────┘

Add a server? Edit four files. Rotate an API key? Edit four files. New machine? Start from scratch.

And those API keys? Sitting in plain-text JSON files anyone on your machine can read.

The Fix

McpMux is a desktop app that runs a local MCP gateway. You configure servers once — every AI client connects through a single URL.

┌─────────────────────────────────────────────────────────────────────────┐
│  With McpMux: one gateway, every client                                 │
│                                                                         │
│  Cursor       ─┐                                                        │
│  Claude       ─┤                  ┌──→  GitHub                          │
│  VS Code      ─┼──→  McpMux      ├──→  Slack                           │
│  Windsurf     ─┤   localhost:45818├──→  PostgreSQL                      │
│  Any client   ─┘                  └──→  + all your servers              │
│                                                                         │
│  ✓ 1 config  ·  credentials encrypted in OS keychain  ·  instant sync  │
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mcpmux": { "type": "http", "url": "http://localhost:45818/mcp" } } }