# Workstream [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/ahmad-codex/workstream-mcp  
**GitHub Stars:** 3  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/workstream

## Description
Shared task ledger for AI agents and humans: atomic claims, state machine, GitHub and Slack sync

## 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/ahmad-codex/workstream-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
docker run --rm -p 127.0.0.1:8080:8080 ghcr.io/ahmad-codex/workstream-mcp:demo
```

2. Add to Claude Code:

```sh
claude mcp add --transport http workstream-demo http://localhost:8080/demo-insecure-token/mcp
```

3. Install:

```sh
git clone https://github.com/ahmad-codex/workstream-mcp.git
```

4. Run:

```sh
cd workstream-mcp
```

5. Start the server:

```sh
docker compose -f deploy/docker-compose.quickstart.yml up -d --build
```

6. Configure:

```sh
curl -s -X POST http://localhost:8080/admin/users \
  -H "Authorization: Bearer local-admin-token" \
  -H "Content-Type: application/json" \
  -d '{"githubUsername":"alice","displayName":"Alice","actorType":"human","isAdmin":true}'
```

## Documentation

## What Workstream does

Workstream replaces a shared markdown checklist with a service that tracks collaborative work. Plans contain tasks, and tasks can move through a configured workflow as agents and humans claim work, submit findings, attempt fixes, and record verdicts. The system keeps an append-only event history for state changes and produces a stuck-work report for expired claims, stale findings, and idle plans.

Two plan profiles are included: `audit`, which supports find, verify, fix, and re-verify stages, and `development`, which supports implementation and review. Workflow rules, roles, claim lifetimes, retry limits, and board mappings are stored in each plan type's state graph.

## How it works

Clients send JSON-RPC 2.0 requests to an MCP endpoint at `/<token>/mcp`. A claim is acquired in a database transaction using row locking that skips already-locked tasks, allowing concurrent agents to compete without receiving the same task. Claims have TTLs and return to the available pool when they are not refreshed.

Each state change is recorded as an event, while database protections prevent event and verdict history from being edited or deleted. Invalid transitions return the permitted next states so the calling agent can adjust its action.

GitHub and Slack updates use outbox records written with the main request transaction. Background workers retry those records separately: GitHub synchronization creates issues or draft project items and maps task states to board columns, while Slack sends Block Kit notifications in project channels with task threads and interactive controls.

## Setup and configuration

The quickstart requires Docker. The supplied compose configuration starts Postgres and the API, applies SQL migrations during startup, and leaves GitHub, Slack, and audit dispatch disabled. Verify the service with `/healthz`, then create a user through the bearer-protected `/admin/users` endpoint. The response includes a one-time MCP URL for that user.

A published demo image can expose the service on `127.0.0.1:8080`; its public demo token has administrative access and is rejected outside demo mode. Demo data is removed when the container stops. The web dashboard is available at `/<token>/ui/` and presents a read-only plan board.

The service also provides an administrative CLI and admin endpoints for user and board management. Optional GitHub, Slack, and audit-dispatch features require their respective service configuration and supporting workers.

## Tools and capabilities

- Create and configure projects and development or audit plans through admin-gated MCP tools.
- Claim tasks atomically, track claim holders, refresh leases, and allow expired work to return to the queue.
- Enforce role-aware workflow transitions, retry limits, and plan-specific status mappings.
- Record findings, fix attempts, verdicts, and an immutable event trail.
- Queue GitHub Projects V2 updates and Slack notifications for asynchronous delivery.
- View task status, dependencies, claim TTLs, stuck work, and event history in the dashboard.
- Queue repository audits through an optional dispatcher that starts an orchestrator in a tmux session with Claude Code.

## Limitations and notes

The quickstart intentionally runs without external synchronization or the audit dispatcher. GitHub inbound webhooks are signature-checked, but received board events are not yet applied to Workstream state. Keep the demo port bound to localhost because its demo credential is public and administrative. The dashboard is read-only, so mutations must be performed through MCP or administrative interfaces.

_Full upstream README: https://allmcps.com/mcp/workstream/readme_

