
Starmux — All-in-One Self-Hosted Remote MCP Server & Gateway
io.github.cookyecat由 GitHub 帳號 cookyecat 發布v0.16.2更新於 Nov 7, 2026
All-in-one remote MCP server & gateway: built-in file, terminal, process & stdio tools over HTTP.
發布方自己的服務:Registry Mcp
概覽
自架守護程序,透過 Streamable HTTP 向 AI 用戶端提供檔案、終端機、程序與 Git 工具,並可彙整其他本機 MCP 伺服器。
- 可以做什麼
- 讀寫與列出檔案、用 ripgrep 搜尋程式碼、以 diff 方式編輯檔案
- 執行互動式 Shell/PTY 工作階段、讀取輸出、列出或終止背景程序
- 執行 Git 工作流程,並在唯讀與編碼權限模式之間切換
- 提供 Streamable HTTP 端點,把額外的本機 stdio MCP 伺服器彙整到同一個連接埠
- 透過命令列或本機管理主控台管理各用戶端專屬的 API 金鑰、OAuth 工作階段與多個執行個體
- 適用情境
- 適合讓網頁版或桌面 AI 用戶端操作沒有原生代理程式之機器上的檔案與終端機,例如無圖形介面的 Linux 伺服器或 ARM64 開發板;也適合把多個本機 stdio MCP 伺服器統一放在一個具備驗證的 HTTP 端點後面。
- 執行需求
- 需要 macOS、Linux(x64/ARM64)或 Windows 上的 Node.js 22.12+,從 npm 全域安裝後以 starmux up 指令啟動。預設只監聽 127.0.0.1:18893;遠端或雲端用戶端需要連接埠轉送、反向代理或通道。OAuth 2.0 模式需要自架 Keycloak。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Starmux — All-in-One Self-Hosted Remote MCP Server & Gateway,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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):
- Turnkey Filesystem, Diff File Editing, Terminal & Process Management (Desktop Commander 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 HTTPBridge & Multi-Server Aggregator: Exposes a nativeStreamable HTTP(/mcp) endpoint directly and can multiplex your own extra localstdioMCP servers (upstreams) behind the same port—no separatesupergatewayormcp-proxywrapper 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:
Quick Start
1. Install
Requires Node.js 22.12+ on macOS, Linux (x64 / ARM64 / NVIDIA Jetson), or Windows.
(Upgrading? Run starmux down before installing the new version—see the Upgrade Guide.)
2. Start in your project directory
Starmux starts in the background on http://127.0.0.1:18893/mcp with Authentication: None by default for immediate local connection:
(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)
Because Starmux binds strictly to 127.0.0.1:18893 for local security, choose the forwarding method that matches your network when connecting from a cloud AI client (ChatGPT Web) or another computer (WorkBuddy / Cursor on Mac $\rightarrow$ Linux / Jetson):
Copy-paste commands for Option A1 (Caddy Reverse Proxy) & Option B (Outbound Tunnels)
-
Option A1: Reachable IP (LAN or Public Domain) with Caddy: Replace
mcp.example.comwith your public domain (orhttp://YOUR_LAN_IPon a trusted private LAN): -
Option B: Behind NAT / CGNAT — Outbound Tunnel (No inbound port forwarding required):
- OpenAI Secure MCP Tunnel (for ChatGPT Web / Codex):
- or, Cloudflare Quick Tunnel:
(See Installation & Networking for Tailscale, frp, rathole, ngrok, and IPv6 TLS setups.)
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):
or, Option 2 — AI clients with a Form UI (e.g., ChatGPT Web, Claude, Doubao)
or, Option 3 — Manually paste into mcp.json
-
Same-computer connection (or when using local
ssh -Lport forwarding): -
Remote / LAN connection (via Direct Proxy or Tunnel — do NOT use
127.0.0.1across separate machines):
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
- 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:
Then add the
Authorizationheader to your client'smcp.json: - OAuth 2.0 + PKCE Browser Login (for ChatGPT Web): Acts as a standard OAuth 2.0 protected resource server with PKCE and session revocation (via self-hosted Keycloak). See Security & Authentication — OAuth 2.0.
2. Advanced: Multiple Instances, Separate Project Folders & stdio Multiplexing (-i)
(Optional) By default, Starmux runs a single default instance. If you want separate remote MCP endpoints on one computer—each with its own port, project directory / folder context, credentials, mounted stdio MCP servers, and Read-Only vs. Coding permission mode—pass -i <name>:
Security & Trust Boundary Note: Starmux's default Read-Only mode (
--read) blocks write tools, shell execution, and Git mutations across the instance. In Coding mode (--code), terminal and file tools run with your OS account's permissions (the configured project directory sets the working context, not an OS chroot sandbox; an optional home-directory write sandbox is available on macOS). See Instances & Upstream Multiplexing and Security Model.
Everyday CLI Commands
Tested AI Client Matrix
Common Use Cases & FAQ
- How can ChatGPT access files and terminal tools on my local computer?
Run
starmux uplocally and expose127.0.0.1:18893/mcpvia OpenAI Secure MCP Tunnel or Direct HTTPS so ChatGPT Web can inspect folders or run tools without manual file uploads. - How can WorkBuddy on Mac/Windows operate a headless Linux server or NVIDIA Jetson remotely?
Install Starmux on the Linux
x64/ARM64or NVIDIA Jetson Orin host, expose/mcpover LAN or HTTPS with Caddy, and add"type": "streamable-http"in WorkBuddy—no Linux desktop app required. - Is there a self-hosted, open-source alternative to the hosted Remote Desktop Commander service? Yes. Starmux bundles the open-source Desktop Commander tool engine with a built-in Streamable HTTP server, read-only controls, and self-hosted auth so your tools execute without a third-party cloud relay.
- How do I aggregate multiple local
stdioMCP servers behind one Streamable HTTP endpoint? Configureupstreamsin your Starmux instance (starmux config edit) to multiplex extrastdioMCP servers alongside built-in filesystem/terminal tools on a single port. - How do I connect a cloud AI client to an MCP server behind NAT / CGNAT?
Compare outbound tunnels (OpenAI Tunnel, Cloudflare Tunnel,
frp,rathole), Direct IPv6/IPv4 HTTPS with Caddy, and SSH port forwarding. - How can I secure a self-hosted remote MCP server with OAuth 2.0 or revocable API keys?
Use
starmux auth keyfor per-client Bearer tokens or configure Keycloak OAuth 2.0 + PKCE for browser-based AI connectors.
中文场景速览(一站式自托管远程 MCP 服务与网关): Starmux 将 Desktop Commander 风格的文件读写、代码搜索、Diff 编辑、交互式终端、进程管理与 Git 工具、
stdio转Streamable HTTP网关、多本地stdioMCP 服务聚合、只读(Read-Only)与 Coding 权限切换、以及 API Key / OAuth 2.0 鉴权 一体化内置于单个守护进程中。无需手工拼装DesktopCommanderMCP + supergateway,即可让网页版 ChatGPT、Claude、豆包 或桌面端 WorkBuddy、Cursor、Codex、Antigravity 通过局域网 Caddy、Direct HTTPS(支持公网 IPv4/IPv6)、SSH 转发或内网穿透(NAT/CGNAT Tunnel)安全操作 Linux (x64/ARM64)、NVIDIA Jetson、macOS 与 Windows 上的本地文件与终端。
Native macOS App
Prefer a visual interface? The native SwiftUI menu bar App puts service health, Read-Only vs. Coding mode toggles, live MCP connection topology, and recent tool calls in one compact panel.
Native macOS Menu Bar App (English & Chinese) · Controls the same instances as the CLI
The App and CLI manage the same underlying instances. Quitting the App stops only instances started by the App; background instances started via CLI keep running.
Documentation & Architecture Guides
Explore the Documentation Index by topic:
- 📦 Installation, Platforms & Network Forwarding — Supported hosts (
macOS,Linux,NVIDIA Jetson,Windows), everyday CLI commands, upgrades, source builds, and Caddy / Tunnel / SSH forwarding. - 🔒 Security, Access Control & Authentication — Global Read-Only vs. Coding permissions, trust boundaries, per-client Bearer API keys (
starmux auth key), private local Admin UI, and self-hosted Keycloak OAuth 2.0 + PKCE. - 🤖 AI Client Configuration Guides — End-to-end setup (including 1-step Prompt Auto-Setup) for ChatGPT Web, Claude App / Code, WorkBuddy, Antigravity, Codex, Cursor, DSH-Harness, Kimi Code, Minimax Code, ZCode, and Doubao (豆包).
- ⚙️ Multi-Instance & JSONC Configuration — Running multiple isolated instances (
-i NAME), hot-reloadingconfig.jsonc, mounting extra localstdioMCP servers (upstreams), and managing secrets.
License
Starmux original code is MIT Licensed. Desktop Commander is bundled as a pinned dependency and retains its own license and notices. Starmux is an independent open-source project and is not endorsed by Desktop Commander or AI client vendors.
來源:README.md,提交 74ea4f0
工具
0版本歷史
1- v0.16.2最新Nov 7, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Remote-Mcp 整合

Registry Mcp
com.remote-mcp官方發布者
遠端 MCP 伺服器,讓助理搜尋官方 MCP 登錄庫並查看各個 MCP 伺服器的詳細資訊。

Remote MCP Server
由 GitHub 帳號 CaSO44444 發布
一個託管在裸 IP 位址上的遠端 MCP 伺服器,未提供工具、說明或驗證資訊。

Sdp Remote Mcp
com.opentext
OpenText 官方內嵌式伺服器,讓 AI 用戶端讀寫軟體交付平台中的待辦事項、工作項目與交付資料。

ChromaDB Remote MCP Server
由 GitHub 帳號 meloncafe 發布
自架設的遠端 ChromaDB 向量資料庫 MCP 伺服器,透過 streamable HTTP 讓助理管理集合與文件並進行語意搜尋。

Revit Converter MCP
由 GitHub 帳號 labsfuture 發布
遠端 MCP 伺服器,可將 Revit(.rvt)模型轉換為 XKT、IFC 或 DWG,並讓助理以自然語言查詢 BIM 資料。