プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Workstream

作者:ahmad-codexバージョン 0.3.1i★ –iパソコンで動く
レジストリ名io.github.ahmad-codex/workstream-mcp

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: Streamable HTTP
  • カテゴリ: 会計・財務・税務
  • 入力が必要なもの:WORKSTREAM_DB_CONNECTION, WORKSTREAM_ADMIN_TOKEN, WORKSTREAM_USER_TOKEN

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: WORKSTREAM_DB_CONNECTION, WORKSTREAM_ADMIN_TOKEN, WORKSTREAM_PUBLIC_BASE_URL, WORKSTREAM_USER_TOKEN

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • DockerDockerのインストール

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "workstream": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WORKSTREAM_DB_CONNECTION",
        "-e",
        "WORKSTREAM_ADMIN_TOKEN",
        "-e",
        "WORKSTREAM_PUBLIC_BASE_URL",
        "-e",
        "WORKSTREAM_USER_TOKEN",
        "ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
      ],
      "env": {
        "WORKSTREAM_DB_CONNECTION": "your-value",
        "WORKSTREAM_ADMIN_TOKEN": "your-value",
        "WORKSTREAM_PUBLIC_BASE_URL": "your-value",
        "WORKSTREAM_USER_TOKEN": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add workstream --env WORKSTREAM_DB_CONNECTION=your-value --env WORKSTREAM_ADMIN_TOKEN=your-value --env WORKSTREAM_PUBLIC_BASE_URL=your-value --env WORKSTREAM_USER_TOKEN=your-value -- docker run -i --rm -e WORKSTREAM_DB_CONNECTION -e WORKSTREAM_ADMIN_TOKEN -e WORKSTREAM_PUBLIC_BASE_URL -e WORKSTREAM_USER_TOKEN ghcr.io/ahmad-codex/workstream-mcp:0.3.1

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "workstream": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WORKSTREAM_DB_CONNECTION",
        "-e",
        "WORKSTREAM_ADMIN_TOKEN",
        "-e",
        "WORKSTREAM_PUBLIC_BASE_URL",
        "-e",
        "WORKSTREAM_USER_TOKEN",
        "ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
      ],
      "env": {
        "WORKSTREAM_DB_CONNECTION": "your-value",
        "WORKSTREAM_ADMIN_TOKEN": "your-value",
        "WORKSTREAM_PUBLIC_BASE_URL": "your-value",
        "WORKSTREAM_USER_TOKEN": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "workstream": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WORKSTREAM_DB_CONNECTION",
        "-e",
        "WORKSTREAM_ADMIN_TOKEN",
        "-e",
        "WORKSTREAM_PUBLIC_BASE_URL",
        "-e",
        "WORKSTREAM_USER_TOKEN",
        "ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
      ],
      "env": {
        "WORKSTREAM_DB_CONNECTION": "your-value",
        "WORKSTREAM_ADMIN_TOKEN": "your-value",
        "WORKSTREAM_PUBLIC_BASE_URL": "your-value",
        "WORKSTREAM_USER_TOKEN": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • WORKSTREAM_DB_CONNECTION 秘密 必須 env
    Npgsql connection string for the PostgreSQL 16 database
  • WORKSTREAM_ADMIN_TOKEN 秘密 必須 env
    Bearer token for the /admin API, used to create users
  • WORKSTREAM_PUBLIC_BASE_URL env
    Public base URL used when returning user MCP URLs
  • WORKSTREAM_USER_TOKEN 秘密 必須 env
    Your user token from POST /admin/users. Only used to build the client URL; the server does not read it.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント ahmad-codex で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

会計・財務・税務のほかのサーバーとの比較i

  • このカテゴリのほかの1720件のうち0%よりスターが多い
  • このカテゴリのほかの1720件のうち83%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1720件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Workstreamは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:WORKSTREAM_DB_CONNECTION, WORKSTREAM_ADMIN_TOKEN, WORKSTREAM_USER_TOKEN

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.3.1)がレジストリに届いたのは7 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。

代わりに使えるものは?

同じカテゴリには:Finance Toolkit, SolidInvoice, Korea Tax Calculator

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Finance Toolkit

作者:JerBouma

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

パソコンでもクラウドでも★ 5,496MIT昨日更新
インストール

SolidInvoice

作者:SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

クラウドで動く★ 981MIT7 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

workstream-mcp

An MCP server that keeps the state of record for work done by AI agents and humans together: plans, tasks, claims, findings, fix attempts and verdicts, stored in Postgres, mirrored to GitHub Projects and Slack.

Try it in 30 seconds

One container with Postgres and the server in demo mode, seeded with a project, an active plan and three tasks:

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

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

Then ask Claude to "list the workstream projects and claim the next task on the demo plan". The demo token is public and gives admin rights, so keep the port on 127.0.0.1; the server refuses that token whenever demo mode is off. Data is gone when the container stops.

Open http://localhost:8080/demo-insecure-token/ui/ to watch the plan on the dashboard. To see agents race for tasks, start the container with -e WORKSTREAM_ADMIN_TOKEN=local-admin and run WORKSTREAM_ADMIN_TOKEN=local-admin node scripts/simulate-agents.mjs.

Set it up with Claude Code

Clone the repo, open Claude Code in it, and paste:

Set up workstream-mcp for me on this machine. Follow the README quick start using the

published Docker image, create an admin user for me, and connect this Claude Code session to it. Then create a project and a development plan with three sample tasks, activate it, and claim one task to show it works. When that is done, ask me whether I want GitHub Projects or Slack sync, and walk me through docs/github-setup.md or docs/slack-setup.md step by step, telling me exactly what to click and which values to paste back.

Prefer to do it by hand? See the quick start.

Why

A common way to coordinate agent work is a markdown plan in the repo: a checklist the agent reads, edits and commits. That works for one agent in one session. It breaks down when several agents and people work the same plan at once:

  • Two agents pick the same item, because nothing stops them.
  • An agent dies mid-task and the item stays "in progress" forever.
  • Edits to the file race each other, and the history of who did what lives in git diffs.
  • The plan does not show up where the team already looks: the project board and Slack.

workstream-mcp replaces the file with a small service. Agents call MCP tools to claim work, submit results and record verdicts. Claims are atomic and expire, transitions are checked against a state graph, every change is written to an append-only event log, and GitHub and Slack are updated from an outbox so an outage on their side never blocks the agents.

Features

What the code does today:

  • Atomic claims with TTLs. SELECT ... FOR UPDATE SKIP LOCKED in one transaction, so concurrent claimers never get the same task and never block each other. A claim that is not refreshed expires and the work returns to the pool. Covered by a 32-claimer concurrency test suite.
  • Data-driven state machine. Statuses, legal transitions, allowed roles, role TTLs, retry caps and board column mappings live in plan_types.state_graph (JSONB). Two plan types ship: audit (find, verify, fix, re-verify) and development (implement, review). An illegal transition returns illegal_transition with allowed_next, so the calling model can correct itself.
  • Append-only event log. Every state change writes an events row. Triggers block UPDATE and DELETE on events and verdicts.
  • GitHub Projects V2 sync. Tasks become issues (or draft items for repo-less projects) on a Projects V2 board, columns follow task status, and audit plans get a milestone. A signed webhook endpoint verifies inbound board events, but does not apply them yet (see the roadmap). Uses a GitHub App.
  • Slack notifications. Block Kit messages per project channel, threaded per task, with role personas for agent posts, and interactive buttons verified with the Slack signing secret.
  • Outboxes. GitHub and Slack calls are queued in board_sync_log and slack_notify_log inside the request transaction and drained by background workers with retries.
  • Web dashboard. A read-only board per plan at / /ui/: tasks by status, claim holders with a TTL countdown, dependencies, stuck work and the event timeline of every task. See docs/dashboard.md.
  • URL-as-credential auth. Each user gets a URL like https://host/ /mcp. Pasting it into an MCP client is the whole setup. Tokens can be rotated; the token is stripped from the path and from logs.
  • Audit dispatcher (optional). request_audit queues an audit run; a sidecar container clones the repo and starts the project's audit orchestrator in a tmux session with Claude Code.
  • Admin API and CLI. /admin/* endpoints behind a static bearer token for users and boards, plus a workstream-admin CLI for user management. Projects and plans are set up through the admin-gated MCP tools.
  • Stuck-work report. An hourly job writes counts of expired claims, stale findings and idle plans to stuck_work_reports.

Architecture

flowchart LR

subgraph Clients CC[Claude Code / Desktop / Cursor] ORCH[Orchestrator agents] end

CC -- "POST /<token>/mcp JSON-RPC 2.0" --> API ORCH -- "POST /<token>/mcp" --> API

subgraph Server API[Workstream.Api token middleware, MCP tools, state machine, claims] BSW[BoardSyncWorker] SNW[SlackNotifyWorker] DISP[AuditDispatchWorker dispatcher role] end

API -- "one transaction: state + events + outbox rows" --> PGB[(PgBouncer)] PGB --> PG[(Postgres 16)] BSW -- drain board_sync_log --> PG SNW -- drain slack_notify_log --> PG DISP -- drain audit_dispatch_log --> PG

BSW -- GraphQL / REST --> GH[GitHub Projects V2, issues, milestones] SNW -- chat.postMessage --> SL[Slack] GH -- signed webhook --> API SL -- signed interactivity --> API DISP -- tmux + claude --> REPO[checked-out repos]

ProjectResponsibility
src/Workstream.ApiASP.NET Core host, token middleware, JSON-RPC endpoint, admin API, webhooks, dispatcher
src/Workstream.CoreDomain model, state graph parser, StateMachineService, claim rules
src/Workstream.DataNpgsql + Dapper repositories, outbox, SQL migration runner
src/Workstream.McpThe MCP tool classes and their registration
src/Workstream.GitHubGitHub App auth, Projects V2 client, board sync worker
src/Workstream.SlackSlack client, Block Kit builders, notify worker, signature check
src/Workstream.TelemetryOpenTelemetry setup and metric definitions
tools/workstream-adminOperator CLI
deploy/Dockerfiles, compose files, migrations, plan-type profiles, Caddy, PgBouncer, Grafana and Prometheus config

More in docs/architecture.md and docs/state-machine.md.

Quick start (about 5 minutes)

Needs Docker. This starts Postgres and the API only; GitHub, Slack and the dispatcher stay off.

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

cd workstream-mcp docker compose -f deploy/docker-compose.quickstart.yml up -d --build curl http://localhost:8080/healthz

{"ok":true}

To skip the local build, run the published image instead:

WORKSTREAM_IMAGE=ghcr.io/ahmad-codex/workstream-mcp:latest \

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

The API applies the SQL migrations on startup, including the audit and development plan types.

Create a user. The response contains the user's MCP URL once; copy it.

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}'

{ "user": {...}, "url": "http://localhost:8080/ ",

"mcp_endpoint": "http://localhost:8080/ /mcp", "warning": "..." }

isAdmin lets this user call the setup tools (create_project, create_plan, ...). Check the URL:

curl http://localhost:8080/<token>

{"ok":true,"actor":{"id":"...","github_username":"alice","is_admin":true},...}

Then connect an MCP client (next section) and ask it to create a project, a development plan and a few tasks, activate the plan, and claim one.

Stop with docker compose -f deploy/docker-compose.quickstart.yml down (add -v to drop the data).

Connecting an MCP client

The server speaks MCP over HTTP (JSON-RPC 2.0 POSTs) at / /mcp. There are no extra headers; the token in the path identifies the user.

Claude Code

claude mcp add --transport http workstream http://localhost:8080/<token>/mcp

Claude Desktop (claude_desktop_config.json). Claude Desktop launches stdio servers from this file, so use the mcp-remote bridge (needs Node.js):

{

"mcpServers": { "workstream": { "command": "npx", "args": ["-y", "mcp-remote", "http://localhost:8080/ /mcp"] } } }

If the server is reachable from the internet over HTTPS, you can instead add the URL as a custom connector in Claude Desktop's settings.

stdio (any client). The same binary speaks MCP over stdin/stdout with --stdio, acting as the user whose token is in WORKSTREAM_USER_TOKEN against the database in WORKSTREAM_DB_CONNECTION (an HTTP server must still be running somewhere to drain the GitHub and Slack outboxes):

{

"mcpServers": { "workstream": { "command": "dotnet", "args": ["/path/to/Workstream.Api.dll", "--stdio"], "env": { "WORKSTREAM_DB_CONNECTION": "Host=localhost;Database=workstream;Username=workstream;Password=...", "WORKSTREAM_USER_TOKEN": " " } } } }

Without WORKSTREAM_DB_CONNECTION, --stdio starts in discovery mode: initialize and tools/list work and every tool call returns a not_configured error. Directory scanners such as Glama use this mode.

Cursor (~/.cursor/mcp.json, or .cursor/mcp.json in a project):

{

"mcpServers": { "workstream": { "url": "http://localhost:8080/ /mcp" } } }

The URL is a credential. Do not commit it; keep it in user-level config. See docs/onboarding.md for the full onboarding flow.

MCP tools

36 tools. Every response is { ok, data, error }; errors carry a stable code (stale_claim, illegal_transition, retry_cap_exceeded, ...). Full details in docs/mcp-tools.md. Any call may pass as_agent to set the role persona used for Slack posts.

GroupToolWhat it does
Discoverylist_projectsProjects with active plan counts and the caller's open claims
list_plansPlans of a project, filterable by status, with task counts per status
get_plan_dashboardStatus counts, next claimable work, my claims, stuck work, recent events
get_my_active_workEvery claim the caller holds
Claimsclaim_next_taskClaim the highest-priority pending task for a role
claim_specific_taskClaim one task by id

| | `claim_next_finding_for_verifica

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く