原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Starmux — All-in-One Self-Hosted Remote MCP Server & Gateway

作者:cookyecat版本 0.16.2i★ –i在你的电脑上运行
注册名称io.github.cookyecat/starmux

安装

概览

作者提供的说明(英文原文)

All-in-one remote MCP server & gateway: built-in file, terminal, process & stdio tools over HTTP.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: Streamable HTTP
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "starmux": {
      "command": "npx",
      "args": [
        "-y",
        "starmux"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add starmux -- npx -y starmux

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "starmux": {
      "command": "npx",
      "args": [
        "-y",
        "starmux"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "starmux": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "starmux"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 cookyecat 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4924 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4924 个服务器的 95% 更新
  • 基础检查结果等于或优于此分类中其他 4924 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Starmux — All-in-One Self-Hosted Remote MCP Server & Gateway 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.16.2)于前天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT5天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT17天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Starmux — All-in-One Self-Hosted Remote MCP Server & Gateway

One turnkey daemon for remote filesystem, terminal, background processes, auth, and stdio MCP multiplexing—no manual component assembly required.

All-in-One Remote MCP Server · Streamable HTTP Gateway · Built-in Filesystem, Terminal, Process & Git Tools · `stdio` Multiplexer · MIT

Why Starmux? · All-in-One vs. DIY Stacks · Quick Start · Auth & Multi-Instance Permissions · Use Cases · macOS App · Documentation


Why Starmux?

Cloud AI assistants (like ChatGPT Web, Claude, or Doubao) are isolated in the browser, and many desktop coding agents (like WorkBuddy, Cursor, Claude Code, Codex, Antigravity, DSH-Harness, Kimi Code, Minimax Code, or ZCode) lack native apps for headless Linux servers or ARM64 edge boards.

Normally, solving this requires manually assembling 3–4 separate open-source tools: a local tool server (DesktopCommanderMCP or filesystem-mcp), a stdio-to-HTTP transport adapter (supergateway or mcp-proxy), an authentication/aggregation gateway (MCPHub or ContextForge), and a process supervisor.

Starmux (Star topology + Multiplexer) replaces that entire fragmented chain with a single, turnkey self-hosted daemon (starmux up):

Traditional DIY Stack:  [Filesystem/Terminal MCP] + [supergateway / mcp-proxy] + [Auth/Aggregator Gateway] + [Supervisor]

Starmux (All-in-One): [ Single 'starmux up' Daemon (127.0.0.1:18893/mcp) ]

  • Turnkey Filesystem, Diff File Editing, Terminal & Process Management ([Desktop Commander](https://github.com/wonderwhy-er/DesktopCommanderMCP) Engine): Out of the box—with zero external MCP servers to install—AI clients can read/write local files (read_file, write_file, list_directory), run ripgrep code searches (start_search), perform surgical diff edits (edit_block), control interactive PTY/Shell terminal sessions (start_process, interact_with_process, read_process_output), manage background processes (list_processes, kill_process, force_terminate), and run Git workflows.
  • Operate Headless Linux, NVIDIA Jetson (`ARM64`), macOS & Windows Remotely: Desktop AI clients like WorkBuddy or ChatGPT have no native Linux or ARM64 desktop app. Run Starmux on your target Linux workstation, NVIDIA Jetson Orin, or server, and drive its filesystem and terminal remotely from your Mac/PC or browser.
  • Built-in `stdio`-to-`Streamable HTTP` Bridge & Multi-Server Aggregator: Exposes a native Streamable HTTP (/mcp) endpoint directly and can multiplex your own extra local stdio MCP servers (upstreams) behind the same port—no separate supergateway or mcp-proxy wrapper needed.
  • Integrated Read-Only Safety Gate, Revocable API Keys, OAuth 2.0 & Local Admin UI: Starts in Global Read-Only mode (readOnly) by default so AI can safely inspect files and directories without running shell commands or modifying disk. Switch to Coding mode (--code) when needed, lock down remote access with per-client revocable Bearer API keys or OAuth 2.0 + PKCE, and manage everything from the CLI or private local Admin UI / Web Dashboard.

All-in-One vs. Fragmented DIY Stacks

Instead of wiring together separate tool backends, transport bridges, and auth proxies—or deploying heavy control planes that still lack host tools—Starmux provides a unified end-to-end runtime:

CapabilityStarmux *(All-in-One Daemon)*DIY Stack *(DesktopCommanderMCP + supergateway / mcp-proxy)*Pure MCP Gateways *(MCPHub / ContextForge / MetaMCP)*SSH MCP Bridges *(ssh-mcp / ssh-mcp-server)*Vendor-Hosted Relays *(Hosted Remote Desktop Commander)*
Built-in Filesystem, Diff Edit, Terminal & Process Tools✅ Built-in (25+ tools)⚠️ Requires separate tool server❌ None (must wire external servers first)✅ Via OpenSSH / SFTP✅ Built-in
Native `Streamable HTTP` `/mcp` Endpoint✅ Built-in⚠️ Requires transport adapter✅ Built-in❌ Local stdio only (no direct Cloud AI HTTP)✅ Hosted cloud endpoint
Works with Cloud/Browser AI (ChatGPT Web, Claude)✅ Direct HTTPS or Tunnel⚠️ Manual proxy + auth wiring✅ With external tool backends❌ Requires local stdio host✅ Via vendor cloud
Headless Linux `x64` / `ARM64` & NVIDIA Jetson Support✅ Single-command CLI (starmux up)⚠️ Manual multi-process setup⚠️ Often requires Docker / DB stack✅ Via SSH target⚠️ Depends on host agent
Enforced Global Read-Only vs. Coding Mode Switch✅ 1-command switch (--read / --code)❌ No unified read-only gate❌ No host-tool read/code mode❌ Relies on OS SSH user⚠️ Vendor-defined
Per-Client Revocable Bearer API Keys & OAuth 2.0✅ Built-in + Local Admin UI❌ Requires external auth proxy✅ Built-in❌ SSH keys only✅ Vendor OAuth
Multiplex Extra Local `stdio` MCP Servers (`upstreams`)✅ Built-in namespaced router⚠️ Adapter-dependent✅ Built-in❌ No❌ No
100% Self-Hosted (Zero Mandatory Third-Party Relay)✅ Your network & keys✅ Self-hosted✅ Self-hosted✅ Self-hosted❌ Traffic routes via vendor relay

Quick Start

1. Install

Requires Node.js 22.12+ on macOS, Linux (x64 / ARM64 / NVIDIA Jetson), or Windows.

npm install -g starmux

*(Upgrading? Run starmux down before installing the new version—see the Upgrade Guide.)*

2. Start in your project directory
cd /path/to/your/project

Option 1: Read-only mode (default — safely inspect files, folders & code)

starmux up

or, Option 2: Coding mode (enable file edits, interactive terminal, process management & Git)

starmux up --code

Starmux starts in the background on http://127.0.0.1:18893/mcp with Authentication: `None` by default for immediate local connection:

● Starmux is running  (instance: default)

Instance Listen http://127.0.0.1:18893/mcp (this computer only) Project /path/to/your/project Mode Read-only (global · OS account) (run 'starmux up --code' to enable edits & shell) Auth None (no token required)

*(Switch between Read-only and Coding permissions anytime with starmux up --code and starmux up --read.)*

3. Expose for Remote / Cloud AI *(Skip if your AI client runs on this same computer)*

Starmux defaults to 127.0.0.1:18893. Choose direct LAN access or a proxy/tunnel according to your network.

Network scenarioSetupClient URL
A1. Trusted LAN / Tailscale / WireGuard (Direct HTTP)starmux up --allow-lanhttp:// :18893/mcp
A2. Public Domain / Cloud AI Requiring HTTPSKeep starmux up --local; use Caddy or Tailscale Serve/Funnel for HTTPShttps://mcp.example.com/mcp
B. Behind NAT / CGNATKeep starmux up --local; run an outbound tunnelYour tunnel's HTTPS URL ending in /mcp

A1 — Direct LAN / virtual-network access:

starmux up --allow-lan  # Listen on 0.0.0.0; no Caddy or tunnel needed

starmux status # Show detected LAN / Tailscale IPv4 MCP URLs starmux up --local # Return to loopback only (alias: --no-allow-lan)

The network mode is saved per instance; a later starmux up keeps it. Switching modes on a running instance restarts its Worker. --allow-lan listens on all IPv4 interfaces, so limit network reachability to your intended clients. Authentication settings stay unchanged; use starmux auth key "My AI Client" for per-client credentials. /access, /dashboard, and all other management routes remain local to 127.0.0.1: or localhost: .

A2 — Public domain / HTTPS:

starmux up --local

caddy reverse-proxy --from mcp.example.com --to 127.0.0.1:18893

Caddy and Tailscale Serve/Funnel can forward the original domain Host without rewriting it. Enable API key, OAuth, or authenticated ingress for public access. Keep the original public Host so forwarded requests cannot reach local management pages.

B — Outbound tunnel behind NAT:

cloudflared tunnel --url http://127.0.0.1:18893

No Host rewrite option is needed. Other tunnels such as ngrok, frp, and SSH remote forwarding can also preserve the original Host on /mcp, /healthz, and OAuth resource discovery routes. For OpenAI Secure MCP Tunnel and other networking setups, see Installation & Networking.

4. Connect your AI client

With default settings (Auth: None), connect your AI client using any of the 3 options below:

Option 1 — Ask your AI coding agent to add it for you *(Zero manual config)*

For agentic coding clients (Claude Code, Antigravity, Codex, Cursor, WorkBuddy, DSH-Harness, Kimi Code, Minimax Code, ZCode), send this prompt in the AI chat (replace the URL with your LAN IP, domain, or http://127.0.0.1:18893/mcp):

Create this MCP Server connector:

"starmux": { "type": "streamable-http", "url": "http://192.168.50.114/mcp" }

or, Option 2 — AI clients with a Form UI (e.g., ChatGPT Web, Claude, Doubao)
MCP Client FieldValue to Fill In
TransportStreamable HTTP *(or select your Tunnel in ChatGPT Web)*
URLhttps://mcp.example.com/mcp *(Remote HTTPS / Tunnel)* — or http://127.0.0.1:18893/mcp *(same computer)*
AuthenticationNone *(default for local/LAN; use Bearer API Key or OAuth 2.0 for public endpoints)*
or, Option 3 — Manually paste into mcp.json
  • Same-computer connection (or when using local `ssh -L` port forwarding):
  {

"mcpServers": { "starmux": { "type": "streamable-http", "url": "http://127.0.0.1:18893/mcp" } } }

  • Remote / LAN connection (via --allow-lan, Direct Proxy or Tunnel — do NOT use `127.0.0.1` across separate machines):
  {

"mcpServers": { "starmux": { "type": "streamable-http", "url": "https://mcp.example.com/mcp" } } }


Securing Remote Access: Auth & Multi-Instance Permissions

When exposing Starmux beyond 127.0.0.1, lock down your endpoint with per-client credentials and permission controls:

1. Per-Client Bearer API Keys & OAuth 2.0
  1. Per-Client Bearer API Keys (with instant revocation & private Admin UI): Create a named credential for each AI client so you can audit or revoke them independently without exposing the local admin interface:
   starmux auth key "My AI Client"

starmux auth # List active API keys, OAuth sessions, and auth status starmux dashboard # Open the private local Admin UI / Web Access Console (127.0.0.1 only)

   Then add the `Authorization` header to your client's `mcp.json`:
   {

"mcpServers": { "starmux": { "type": "streamable-http", "url": "https://mcp.example.com/mcp", "headers": { "Authorization": "Bearer smx_YOUR_GENERATED_API_KEY" } } } }

2. **OAuth 2.0 + PKCE Browser Login (for ChatGPT Web):**

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx