Skip to content

Releases

RMC v0.3.0-rc.2

RMC v0.3.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Nov 02:29
381b3d1

Automatic updates

  • Hubs and nodes now keep themselves on the newest release, on by default.
    A running hub serve or node run checks GitHub releases about hourly,
    installs the newest release of its channel, waits until it is idle (no tool
    call, managed process or MCP request in progress; at most 24 hours), keeps
    the previous executable and restarts in place.
  • Releases are installed only when SHA256SUMS.sig verifies against a release
    key compiled into the running binary. The key is held offline by the owner:
    CI now creates draft releases only, and scripts/sign-release.sh checks,
    signs and publishes them. See Releasing RMC.
  • A new version that is not healthy is rolled back and never retried on that
    machine: after 3 starts without confirming health, or for a node, after 10
    minutes without reaching a Hub that is itself up.
  • Two channels: stable (default) and canary, which also installs release
    candidates (vX.Y.Z-rc.N). Release candidates go to canary nodes before the
    final release goes to everyone.
  • New commands: rmc update status|enable|disable|check and
    rmc update channel stable|canary, with settings in updates.json beside the
    configuration; rmc release keygen|sign|verify for release owners.
    RMC_AUTO_UPDATE=off also turns updates off; the container image sets it.
  • list_devices reports each node's auto_update mode: stable, canary,
    off or manual. Development builds, root services and executables in
    directories the service account cannot write are manual and never replaced.
  • Release tags must be vX.Y.Z or vX.Y.Z-rc.N.
  • Upgrading from v0.2.x is a one-time manual step; see
    automatic updates.

Renamed: Agent is now Node

  • The device-side component is now a node, because "agent" also names the AI
    clients that drive RMC. Use rmc node enroll, rmc node run and rmc node update;
    the rmc agent … commands still work.
  • The binary and release archive are now rmc-node and rmc-node_V_OS_ARCH.tar.gz.
    --role node replaces --role agent in service install and scripts/install.sh;
    agent is still accepted.
  • The default config is ~/.config/rmc/node.json. An existing agent.json is used
    when node.json is absent. The example service is rmc-node, with a
    deploy/launchd/io.rmc.node.plist template; existing installed service names keep working.
  • list_devices reports the component as node.
  • Nothing changes on the wire: nodes still connect on /agent/<id> and send agent
    as their hello component, so old and new versions interoperate.
  • The legacy hostmcp-agent_… release archives are no longer published. The v0.2.x
    updater accepts only the agent component, so move those nodes to this release once
    by hand. See Migrating from HostMCP.

Renamed: HostMCP is now RMC (Remote Machine Control)

  • The project, repository, Go module and binaries are now rmc,
    rmc-hub and rmc-node (github.com/soren-labs/rmc). The README
    leads with what RMC is for: letting web, mobile, desktop and terminal AI
    clients work on your own machines through one self-hosted endpoint.
  • Nothing changes on the wire: Hub↔node wire version 1, MCP tools, arguments
    and configuration formats are the same, and RMC and HostMCP v0.2.x Hubs and
    agents interoperate.
  • Existing installations keep working: the default config falls back to
    ~/.config/hostmcp/ when only that file exists, HOSTMCP_TOKEN is read when
    RMC_TOKEN is unset, and service install/uninstall accept existing
    hostmcp-… services with their original launchd labels and log directories.
  • See Migrating from HostMCP.

Added

  • New read-only native tool search: lists files matching a glob, or
    searches file contents with an RE2 or literal pattern. It skips hidden
    entries unless include_hidden is set, binary files and files over 16 MiB,
    never follows symlinks, and is bounded by max_results, max_bytes,
    200,000 visited entries and 20 seconds. Native tools are now ten.
  • write_stdin.wait_for_exit keeps waiting up to yield_time_ms for the
    process to exit, instead of returning on the first new output.
  • output_mode on exec_command and write_stdin: stream (default, as
    before), tail (newest bytes) or head_tail (oldest quarter of the budget
    and newest bytes). The skip modes mark the gap and report skipped_bytes.
  • clean_ansi on exec_command and write_stdin strips ANSI escape sequences
    and keeps only the final state of progress bars. output_bytes still counts
    raw bytes.
  • read reports the sha256 of the whole file for regular files up to 16 MiB.
  • write_file.expected_sha256 (with overwrite: true) replaces a file only if
    its current content still has that hash. Otherwise nothing is written, and
    the error reports the current hash.
  • All new arguments are optional; omitting them keeps the previous behavior.
  • Piped enrollment: rmc device invite --output - writes the invitation to
    stdout, and rmc node enroll --invite - reads it from stdin. A device can be
    added in one pipeline without leaving a credential file on either machine.
    --output - refuses to print to a terminal.
  • rmc doctor --hub-config runs Hub checks: configuration privacy and validity,
    inventory including expired invitations, client authentication modes, listen
    address and public endpoint. With --hub-url, it also checks /healthz and
    clock skew from the HTTP Date header. It exits non-zero if any check fails
    and prints no credentials. Plain rmc doctor is unchanged.
  • --log-format json for hub serve and node run writes each log line as one
    JSON object. The default stays text, and log call sites are unchanged.

Changed

  • Nodes advertise their native tools and argument names in an optional
    tool_args hello field. Before dispatch, a Hub refuses a native tool or
    argument that the target node does not support, with an "upgrade that node.
    Command was not dispatched" error. Nodes that do not advertise (v0.2.4 and
    older) are checked against a fixed table. Wire version stays 1, and older
    Hubs ignore the field. Using the new tools or arguments through a new Hub
    requires upgrading that node.

Performance

  • Each tool call through the Hub reads its configuration twice instead of four
    times, and hashes the bearer token once. Revocation semantics are unchanged.
    A tool call through the Hub takes 351 µs instead of 411 µs (−15%), with 33%
    fewer allocations (Apple M6, 100 clients, 200 devices).

What's Changed

  • Rename HostMCP to RMC (Remote Machine Control) and lead with the any-client positioning by @soren-labs in #12
  • hub: refuse native features an Agent does not support by @soren-labs in #13
  • hub: read the configuration twice per tool call instead of four times by @soren-labs in #14
  • host: wait_for_exit, output_mode and clean_ansi for command output by @soren-labs in #15
  • host: read reports sha256; write_file can require an expected sha256 by @soren-labs in #16
  • host: add a read-only native search tool by @soren-labs in #17
  • cli: pipe invitations, real Hub doctor checks, JSON logs by @soren-labs in #19
  • host: clean_ansi test independent of PTY output chunking by @soren-labs in #20
  • docs: tool capability checks, search, output modes and file hashes by @soren-labs in #18
  • Rename the Agent component to Node by @soren-labs in #21
  • docs: rename Agent to Node by @soren-labs in #22
  • Automatic signed updates for Hub and nodes by @soren-labs in #23
  • Fix the release build for release candidates; install-dir note by @soren-labs in #24

Full Changelog: v0.2.4...v0.3.0-rc.2

HostMCP v0.2.4

Choose a tag to compare

@soren-labs soren-labs released this 04 Nov 17:25
41d4316

Repository

  • English README with a separate Chinese README; validation records moved under
    docs/validation/.
  • Community files: security policy, code of conduct, issue and pull request
    templates, Dependabot, and a CODEOWNERS file.
  • CI adds golangci-lint and govulncheck. Release notes come from this changelog.
  • Unstamped source builds report 0.2.4-dev. The Hub container build uses the
    source version unless VERSION is supplied, instead of a stale default.
  • The deployment guide notes that the Hub image needs BuildKit (docker buildx).

Removed

  • The Chat On Steroids reference snapshot (reference/), its provenance manifest
    and import/verification scripts, the source-baseline workflow, NOTICE,
    ATTRIBUTION.md and the historical extraction plan. The Go runtime never
    imported or built any of them.
  • Release archives and the container image no longer ship NOTICE or the
    upstream Codex license. LICENSE now names only the HostMCP contributors.
    Dependency license notices are still bundled.

Fixed

  • Updater tests no longer fail when the developer's umask is 002, which is
    common on Ubuntu. The updater itself still rejects group-writable directories.
  • Static MCP tool capability (tools.listChanged: false) so SEP-2575 (2026-07-28)
    clients such as Claude Web do not hold open long-lived subscriptions/listen
    streams and exhaust per-principal concurrency slots; sampled mcp_busy events
    (principal_busy / hub_busy) on HTTP 503 and sanitized Caddy access log template.
  • Admitted /mcp requests have a 48-second context deadline that also interrupts
    stalled request-body reads and response writes. Context-aware handlers and
    parked subscription streams release their concurrency slots on expiry, logged
    as event=mcp_deadline. Shorter server I/O limits still apply; completed
    requests cannot leave a timeout callback affecting a reused connection.
  • The same absolute request deadline reaches tool dispatch for legacy MCP
    protocols whose SDK contexts detach HTTP cancellation. Expired requests are
    rejected before dispatch; already-dispatched operations keep their unknown
    outcome semantics and do not lose the Agent connection or running command.
  • Audit log sampling is per event kind and reports suppressed=N. A stale agent
    retrying a revoked credential no longer hides MCP denials or capacity
    rejections, and agent denials name the (validated) node ID. Capacity
    rejections are logged as event=mcp_busy instead of event=auth_denied.
  • Agent heartbeat diagnostics retain ping write/response timeout causes, even
    when the socket closes before Ping returns. Normal Hub shutdowns keep their
    original close reason, and heartbeat goroutines finish before reconnecting.
  • Non-PTY exec_command waits for command completion or yield_time_ms, instead
    of returning on an early output banner. PTYs and write_stdin remain responsive
    to the first output; a full output budget also returns early. Cancelling a call
    preserves its already-started command and unread output for later polling.

Performance and compatibility

  • Hub configuration parsing and validation are reused for byte-identical files.
    Each check still reads the current private file, so there is no TTL or metadata
    cache delaying revocation. Invalid or unreadable files fail closed, and returned
    snapshots own their nested grants independently.
  • MCP results intentionally retain both structured JSON and the JSON text
    fallback recommended by the protocol. Regression tests cover both client
    representations, partial failures, Unicode, and large integer precision.

Build note

These archives were built and published manually from the tagged commit
41d431607e04 with scripts/release.sh v0.2.4 (Go 1.27.3, macOS arm64), because
GitHub-hosted macOS runners repeatedly failed to start jobs on 2026-11-04 and the
release workflow could not complete. Before publishing, the same commit passed
go vet, the full race test suite, the stdio smoke test and
scripts/packaging-smoke.py natively on macOS arm64. The Linux validation job of
the release workflow passed in CI on the same commit (run 41875731384).

What's Changed

  • Repository hygiene for open-source use (phase 1) by @soren-labs in #6
  • chore: remove the Chat On Steroids reference snapshot by @soren-labs in #9
  • fix: harden MCP deadlines, heartbeat diagnostics and exec waits by @soren-labs in #10
  • release: v0.2.4 by @soren-labs in #11

Full Changelog: v0.2.3...v0.2.4

HostMCP v0.2.3

Choose a tag to compare

@github-actions github-actions released this 28 Oct 15:19
e2543a0

What's Changed

  • HostMCP v0.2.3: validate Cloudflare Access JWT for ChatGPT OAuth by @soren-labs in #5

Full Changelog: v0.2.2...v0.2.3

HostMCP v0.2.2

Choose a tag to compare

@github-actions github-actions released this 28 Oct 14:18
469d98a

What's Changed

  • HostMCP v0.2.2: OAuth resource server and Hub/Agent split releases by @soren-labs in #4

Full Changelog: v0.2.1...v0.2.2

HostMCP v0.2.1

Choose a tag to compare

@github-actions github-actions released this 28 Oct 12:44
16daa40

What's Changed

  • Repair independent audit findings for HostMCP v0.2.1 by @soren-labs in #3

Full Changelog: v0.2.0...v0.2.1

HostMCP v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 09:25
c10dd29

HostMCP v0.2.0

HostMCP 将 Mac 和 Linux 机器上的原生 Shell、文件与进程能力提供给 MCP Agent。
本版完成机器/系统账户节点、独立客户端凭证和原生系统服务,适合在小型 VPS 或
本地设备部署一个可维护的自托管原型。

一个节点 = 一台机器上的一个 OS 账户。 同一机器的 root 与普通用户运行
各自的 Agent;不同 AI Agent 的 token 只授权所需节点。账户已有的系统权限
就是执行权限,包括它本来拥有的 sudo 能力。

本版内容

  • Linux/macOS 单一 Go binary:Hub、设备 Agent、本地 stdio、远程 HTTP 和 stdio bridge。
  • 同机多账户节点;邀请可绑定 expected user,避免误以其他账户启动。
  • 独立 Agent 凭证,支持列出、调整节点范围、轮换和撤销。
  • systemd 系统服务/用户服务;macOS LaunchDaemon/LaunchAgent;命名实例与重复卸载。
  • 九个原生工具及设备发现,包含命令会话、PTY、续读输入、文件和图片读取、补丁与托管进程管理。
  • 修复配置文件所有权、注册节点 ID、macOS 原生账户预检,以及 bridge instructions 转发。
  • 开发者部署指南、Claude Code/Codex 配置、原生权限验收脚本和可选 200 节点路由测试。

实现保持机器/账户级权限,不增加目录白名单、命令过滤、角色层级或数据库。

安装

四个平台的归档均包含 binary、README、部署与架构文档、许可证声明。
安装器按系统/架构选择版本并验证 SHA-256:

curl --fail --location --proto '=https' --tlsv1.2 \
  https://raw.githubusercontent.com/soren-labs/hostmcp/v0.2.0/scripts/install.sh \
  -o hostmcp-install.sh
sh hostmcp-install.sh --version v0.2.0
export PATH="$HOME/.local/bin:$PATH"
hostmcp version

发布提交:c10dd29c4532d3e9dbf65af1b35071be4bc6ea7d。
binary 的 version 命令报告 0.2.0 / c10dd29c4532。

验证证据

  • GitHub Linux/macOS race、vet、九工具 stdio 验收通过。
  • 发布流水线完成四平台构建、正确归档安装和损坏归档拒绝。
  • 五台真实机器、六个常驻账户节点:Mac、两台 Ubuntu、GCP、EC2。
  • 专用 t3.micro / 1 GiB EC2 运行 Hub,Caddy 提供真实 HTTPS。
  • Claude Code、Codex 和独立开发子代理使用不同凭证完成真实 MCP 调用;执行 UID 分别验证为 0、1001 和 995。
  • Linux 同机 root/worker 的文件权限和凭证范围经过验证;macOS root LaunchDaemon 使用临时回环 Hub 实测并清理。
  • 三个真实 Modal 普通账户容器完成命令/文件验证后已停止,相关临时节点和凭证已撤销。
  • 同一 EC2 上的独立模拟测试完成 200 节点/200 路由、20 节点重连;八并发时 Hub RSS 采样峰值约 31.7 MiB。

发布流水线 ·
验收范围与脱敏证据 ·
源码与 PR

公开发布包的部署复验

四个归档已从公开 Release 下载并逐个验证 SHA-256。Mac 与 EC2 还通过公开的
固定 tag 安装脚本完成安装;五台机器的六个常驻节点与 Hub 均核对为
0.2.0 / c10dd29c4532,各平台 binary 哈希与发布包一致。

随后真实重启专用 EC2,39.836 秒后观察到 Caddy、Hub 和本机 worker 服务
自动启动、六个节点全部自动重连。重启后,每个节点的完整九工具测试均通过,
包括中文路径、文本补丁、二进制/图片、PTY、超时、终止、会话轮询及幂等检查;
各自的临时目录和测试进程已清理。

真实 Claude Code 与 Codex 也在重启后复验:各自完成四个 MCP 工具调用,
只看到获准的一个节点,分别返回 UID 0 / 1001,并确认同一会话最终退出码为 0。
公开摘要记录原始事件哈希,并说明私有验收解析器的字段纠错;没有重复已完成
的远端命令。

下载完整发布后验收 JSON

使用边界

原生实机覆盖 darwin-arm64 和 linux-amd64;另两种归档经过交叉构建。200 节点
测试是短时连接与路由测试,不代表 200 台真实机器或 200 个同时执行的任务。

终端与幂等记录在 Agent 内存中。Hub/网络恢复后可继续访问仍存活的 Agent
session;Agent 进程重启不会恢复旧终端。当前使用单个信任域的静态 bearer,
没有完整 OAuth、Windows 或桌面控制;macOS 自身 TCC/SIP 限制仍有效。

开发者文档

快速开始 ·
部署 ·
账户节点 ·
客户端 ·
架构 ·
贡献指南

HostMCP v0.1.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 12:20
d4288e8

HostMCP v0.1.0

The first usable native HostMCP release: one lightweight Hub connects your Linux and macOS machines to MCP clients. Each device runs an outbound Agent under its real OS account. Use a VPS, or expose a home Hub through Cloudflare Tunnel without opening inbound ports.

首个可用版本:一个 MCP 入口管理自己的 Linux 和 Mac;原生设备 Agent 使用实际系统用户的文件、Shell 和进程权限。家庭网络可以通过 Cloudflare Tunnel 接入。

Install / 安装

Download the pinned installer, then choose this release:

curl --fail --location --proto '=https' --tlsv1.2 \
  https://raw.githubusercontent.com/soren-labs/hostmcp/v0.1.0/scripts/install.sh \
  -o hostmcp-install.sh
sh hostmcp-install.sh --version v0.1.0
export PATH="$HOME/.local/bin:$PATH"
hostmcp version

The installer selects Linux/macOS and amd64/arm64, verifies SHA-256, and installs in your user directory. It does not need Go or sudo.

Included

  • Native local stdio, remote Streamable HTTP, and a stdio-to-remote bridge.
  • Device inventory plus nine tools for identity, commands, PTYs, managed processes, real-path files, patches, and existing images.
  • One-use expiring enrollment, separate client/device credentials, device-scoped client tokens, and live revocation.
  • Native systemd user services and macOS LaunchAgents.
  • Cloudflare Tunnel, own-domain HTTPS, and Hub-only Docker examples.
  • Bounded buffers and concurrency, reconnect handling, retained sessions across Hub/network interruptions, and optional in-memory execution request IDs.
  • Four platform archives and SHA256SUMS below, including license notices.

Actual validation

A real macOS arm64 client/Agent, Ubuntu workstation amd64 Agent, and low-memory Ubuntu VPS Hub/Agent completed the nine-tool HTTPS test. Local stdio, the remote bridge, and real Claude Code 2.1.292 access passed. Restarting the Hub during an active command preserved the device session and later output without repeating the command. Authentication, device scopes, revocation, and Linux/macOS race/vet checks were also exercised.

See the validation record for the full evidence, resource samples, reproduced commands, and untested options. Cross-compiled linux-arm64 and darwin-amd64 artifacts are not claims of native hardware validation.

Start here

v0.1 scope

This release targets one owner or one trust domain using static bearer authentication. It does not provide OAuth login, untrusted tenant isolation, automatic privilege elevation, macOS privacy bypasses, GUI control, or terminal-session recovery after a device Agent process restarts. Quick Tunnel provides a temporary test address; production setups should use a named Tunnel or an owned-domain HTTPS reverse proxy.