# mcp-crewd-rs [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/DioNanos/mcp-crewd-rs  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-crewd-rs

## Description
Cell fabric daemon: spawn and coordinate Claude/Codex/pi worker cells over MCP. Audited.

## Tools
Capabilities this server exposes over MCP:

- **Fabric** — `cell_spawn` (launch a worker cell: engine + profile + task),
- **Bus** — `cell_send` (fire-and-forget), `cell_ask` / `cell_await`

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/DioNanos/mcp-crewd-rs), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
tar xzf mcp-crewd-rs-x86_64-unknown-linux-gnu.tar.gz
```

2. Install:

```sh
install -m755 mcp-crewd-rs-*/crewd mcp-crewd-rs-*/crew ~/.local/bin/
```

3. Install:

```sh
git clone https://github.com/DioNanos/mcp-crewd-rs && cd mcp-crewd-rs
```

4. Install:

```sh
cargo build --release --locked
```

5. Install:

```sh
install -m755 target/release/crewd target/release/crew ~/.local/bin/
```

6. Install:

```sh
cargo build --release
```

## Documentation

## What mcp-crewd-rs MCP server does

The mcp-crewd-rs MCP server coordinates multiple local AI worker sessions called cells. A client can create a cell with an engine, profile, working directory, and task, then send work to it, inspect its state, collect results, cancel it, or list available cells. Cells can also exchange messages through direct sends, request-and-reply tickets, broadcasts, and inbox operations.

Supported worker engines are Claude, Codex, and pi. Claude sessions can resume by session ID, while Codex sessions can reattach by thread ID. The pi integration does not provide session continuity. A cell’s working directory determines which project instructions, MCP configuration, memory, and skills its engine loads.

## How it works

The system uses two local binaries. `crewd` is the daemon that maintains the cell registry, schedules jobs, supervises engine processes, stores state in SQLite with WAL, and writes an append-only hash-chained audit log. `crew` provides operator commands and an MCP stdio shim for individual cells.

The shim sends MCP requests to the daemon over newline-delimited JSON on a Unix domain socket. The socket is restricted to mode `0600` inside a mode `0700` runtime directory. The daemon checks operating-system peer credentials and then authenticates the cell with a separate token file. Worker cells receive the same shim in worker mode, but that mode hides the spawn capability to prevent uncontrolled nesting.

## Setup and configuration

Install a release archive on supported Linux or Android targets, or build the Rust project with Rust 1.85 or newer. macOS requires a source build because the project does not ship a prebuilt macOS binary. Windows is not supported.

The daemon reads an explicitly supplied TOML configuration. It requires a runtime directory and ACL file; an optional keys environment file supplies bearer tokens for Claude profiles using Anthropic-compatible endpoints. The default Claude `max` profile uses the host’s Claude credentials and does not need that file.

Claude workers require Node 20 or newer and the Claude Agent SDK installed in the `shim` directory. Codex workers require the `codex` executable on the daemon’s `PATH`. Configure each client entry with `crew mcp`, the runtime directory, a cell identity, and that cell’s token file. A service manager such as systemd, launchd, or Termux services can keep the daemon running.

## Tools and capabilities

The mcp-crewd-rs MCP server exposes fabric operations including `cell_spawn`, `cell_send_task`, `cell_status`, `cell_result`, `cell_cancel`, and `cell_list`. Its message bus includes `cell_send` for fire-and-forget delivery, `cell_ask` and `cell_await` for ticket-based replies, plus `cell_reply`, `cell_broadcast`, and `cell_inbox`.

ACL entries assign capabilities such as spawning, sending, asking, replying, broadcasting, reading inboxes, listing cells, and reading the audit log. This lets deployments give different cells different access to the fabric.

## Limitations and notes

The mcp-crewd-rs MCP server is pre-1.0 and currently provides a single-host fabric over Unix sockets. Cross-host operation, an operator token CLI, and warm engine reuse are listed as roadmap items. Processes running under the daemon’s UID can read its socket and token files, so the system does not provide a same-user privilege boundary.

Engine failures are recorded explicitly: interrupted or uncertain turns are recovered as `interrupted` or `failed_unknown` rather than silently retried after acceptance. On macOS, peer authentication uses the platform-specific `getpeereid` and `LOCAL_PEERPID` mechanisms instead of Linux’s `SO_PEERCRED`.

_Full upstream README: https://allmcps.com/mcp/mcp-crewd-rs/readme_

