
mcp-crewd-rs
io.github.DioNanosPublished by GitHub account DioNanosv0.1.4Updated Oct 24, 2026
Cell fabric daemon: spawn and coordinate Claude/Codex/pi worker cells over MCP. Audited.
Overview
A local daemon that lets one AI session spawn, coordinate and message other AI worker sessions (cells) over MCP.
- What you can do
- Spawn, list, inspect, cancel and collect results from worker cells running Claude, Codex or pi engines with a given profile and task, and send follow-up tasks to them. Exchange messages between cells: fire-and-forget sends, ask/await tickets with long-poll replies, replies, broadcasts and inbox reads. Keep a cell registry, job scheduler, message bus, SQLite store and an append-only hash-chained audit log, with an operator CLI for status, inspection and audit verification. Worker cells get the same tools in worker mode, with the spawn surface hidden.
- When to use it
- Useful when you want one coordinating AI session to fan work out to several parallel worker sessions on the same machine and collect their results, for example splitting a coding task across project roots that each carry their own instructions, memory and skills.
- Requirements
- Runs locally over a Unix socket; Windows is not supported. Prebuilt binaries exist for Linux and Android/Termux; macOS and other platforms need a Rust 1.85+ build. The claude engine needs Node 20+ with the Claude Agent SDK installed next to the shim; the codex engine needs the codex CLI on the daemon's PATH. A crewd.toml config, an acl.toml capability file, and a per-cell 0600 token file passed to the MCP client are required.
Installation
In SourceWeft
- Open mcp-crewd-rs in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit 4aca9ee
Tools
0Version history
1- v0.1.4LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts