
mcp-crewd-rs
io.github.DioNanos由 GitHub 账号 DioNanos 发布v0.1.4更新于 Oct 24, 2026
Cell fabric daemon: spawn and coordinate Claude/Codex/pi worker cells over MCP. Audited.
概览
一个本地守护进程,让一个 AI 会话通过 MCP 启动、协调并与其他 AI 工作会话(cell)通信。
- 可以做什么
- 启动、列出、查看、取消工作 cell 并获取其结果,cell 可运行 Claude、Codex 或 pi 引擎,并指定配置与任务,也可向其追加任务。在 cell 之间传递消息:单向发送、带长轮询回复的 ask/await 工单、回复、广播和收件箱读取。维护 cell 注册表、任务调度、消息总线、SQLite 存储和仅追加的哈希链审计日志,并提供查看状态、检查和校验审计的命令行工具。工作 cell 以 worker 模式获得相同工具,但隐藏启动接口。
- 适用场景
- 适合让一个协调型 AI 会话把工作分派给同一台机器上的多个并行工作会话并汇总结果,例如把一项编码任务拆分到各自带有指令、记忆和技能的不同项目根目录。
- 运行要求
- 通过 Unix socket 本地运行,不支持 Windows。Linux 和 Android/Termux 有预编译二进制;macOS 及其他平台需用 Rust 1.85+ 从源码构建。claude 引擎需要 Node 20+ 并在 shim 旁安装 Claude Agent SDK;codex 引擎需要守护进程 PATH 中有 codex 命令行。需要 crewd.toml 配置、acl.toml 能力文件,以及传给 MCP 客户端的每 cell 0600 令牌文件。
安装
在 SourceWeft 中
- 打开 控制台中的 mcp-crewd-rs,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-crewd-rs
[CI] [Tests] [License: Apache-2.0] [Rust] [MCP Registry]
crewd is a cell fabric daemon for AI agents: it lets one AI session (Claude Code, Codex CLI, or any MCP client) spawn, coordinate and message other AI worker sessions — cells — through a single MCP server. Rust, one static binary per component, no network listener: everything runs over a local Unix socket.
Part of the mcp-*-rs family of Rust MCP servers.
Components
MCP tools
Mounted per-cell via crew mcp:
- Fabric —
cell_spawn(launch a worker cell: engine + profile + task),cell_send_task,cell_status,cell_result,cell_cancel,cell_list - Bus —
cell_send(fire-and-forget),cell_ask/cell_await(ask ticket + long-poll reply),cell_reply,cell_broadcast,cell_inbox
Worker cells get the same shim with --worker-mode, which hides the spawn
surface (no uncontrolled nested fan-out).
Engines
Claude profiles select where the engine gets its credentials. max (the
default) uses the host's own Claude credentials and needs no extra config.
Additional profiles route the engine to an Anthropic-compatible endpoint,
reading that profile's bearer token from keys_env_path (never from
crewd.toml, argv or logs); the built-in ones are defined in the engine-claude
adapter.
A cell's identity is its working directory: the spawned engine loads
whatever CLAUDE.md, .mcp.json, memory and skills live in the cwd you
pass to cell_spawn. One daemon can therefore serve several "personas" by
spawning cells in different project roots.
Install
Prebuilt binaries (recommended) — download the archive for your platform
from the latest release
and extract; it contains crewd, crew and the shim/ directory:
Prebuilt targets (Linux + Android): x86_64-unknown-linux-gnu,
x86_64-unknown-linux-musl, aarch64-unknown-linux-gnu,
aarch64-unknown-linux-musl (edge / ARM), aarch64-linux-android (Termux).
macOS: no prebuilt binary is shipped (it would need Apple code-signing).
Build from source instead — macOS is CI-tested (peer auth uses
getpeereid + LOCAL_PEERPID there instead of SO_PEERCRED):
From source (any platform) — Rust ≥ 1.85:
Engine runtime requirements: the claude engine needs Node ≥ 20 with
@anthropic-ai/claude-agent-sdk installed next to the shim
(cd shim && npm install); the codex engine needs the codex CLI on the
daemon's PATH.
Configuration
crewd.toml (passed explicitly via --config, never cwd-derived):
acl.toml — one section per registered cell with its engine and
capabilities (send, ask, reply, broadcast, read_inbox,
list_cells, read_audit, spawn):
Per-cell auth: a 0600 token file per cell (L0 scheme). Mount the shim in
your MCP client config:
systemd
Security model
- Unix socket
0600inside a0700runtime dir; bind refuses symlinks. - Kernel peer credentials checked at handshake (
SO_PEERCREDon Linux/Android,getpeereid+LOCAL_PEERPIDon macOS), then a per-cell token (file0600). - Engine children run with an exact env allowlist — secrets are read
from
keys_env_pathby the daemon and injected only into the child that needs them; they never appear in logs or error messages. - Append-only, hash-chained audit log (
crew audit verify). - Honest failure states: crashed/orphaned turns are recovered at boot as
interrupted/failed_unknown, never silently retried after engine acceptance.
Scope honesty: processes running under the same UID as the daemon can read the socket and token files — crewd separates cells, it is not a same-user privilege boundary. See THREAT_MODEL.md.
Platform
On Termux there is no systemd: run crewd under
termux-services or a plain
nohup crewd --config … &. On macOS use launchd or run it in a terminal.
Docs
- SPEC.md — normative protocol & behaviour spec
- THREAT_MODEL.md — threat model and non-goals
Status
Pre-1.0 (v0.1.x): single-host fabric (UDS). Cross-host fabric, operator
token CLI and warm engine reuse are on the roadmap.
License
Apache-2.0. See LICENSE.
来源:README.md,提交 4aca9ee
工具
0版本历史
1- v0.1.4最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分