Workstream
Workstream is an MCP server for coordinating AI agents and humans on shared workstreams, with plans, tasks, findings, claims, verdicts, and GitHub/Slack sync.
Discover projects and plans, inspect dashboards, active claims, stuck work, event logs, findings, and export plan snapshots.
Atomically claim tasks or findings for a role, refresh or release claims, start work, and recover claims after a restart.
Submit findings, verification verdicts, fix attempts, and review decisions, with state-machine validation, retry caps, permissions, and TTL-based claims.
Create tasks individually or in bulk with dependencies, mark task statuses, record commits, and override verdicts when authorized.
Administer projects, repos, GitHub Projects V2 boards, Slack channels, plan phases, and plan activation/archival.
Queue or cancel audit runs through the audit dispatcher.
Mirror work to GitHub Projects and Slack through outboxes and signed webhooks/interactivity.
Connect over HTTP with URL-token auth or via stdio, and use the read-only dashboard.
Integrates with GitHub Projects V2 and issues, syncing tasks to project boards, mapping columns to task status, creating milestones for audit plans, and handling signed webhook events via a GitHub App.
Provides Slack notifications with Block Kit messages per project channel, threaded per task, role personas for agent posts, and interactive buttons verified with the Slack signing secret.
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/mcpThen 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.
Related MCP server: slack-mcp
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 LOCKEDin 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) anddevelopment(implement, review). An illegal transition returnsillegal_transitionwithallowed_next, so the calling model can correct itself.Append-only event log. Every state change writes an
eventsrow. Triggers blockUPDATEandDELETEoneventsandverdicts.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_logandslack_notify_loginside the request transaction and drained by background workers with retries.Web dashboard. A read-only board per plan at
/<token>/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/<token>/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_auditqueues 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 aworkstream-adminCLI 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<br/>JSON-RPC 2.0" --> API
ORCH -- "POST /<token>/mcp" --> API
subgraph Server
API[Workstream.Api<br/>token middleware, MCP tools,<br/>state machine, claims]
BSW[BoardSyncWorker]
SNW[SlackNotifyWorker]
DISP[AuditDispatchWorker<br/>dispatcher role]
end
API -- "one transaction:<br/>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,<br/>issues, milestones]
SNW -- chat.postMessage --> SL[Slack]
GH -- signed webhook --> API
SL -- signed interactivity --> API
DISP -- tmux + claude --> REPO[checked-out repos]Project | Responsibility |
| ASP.NET Core host, token middleware, JSON-RPC endpoint, admin API, webhooks, dispatcher |
| Domain model, state graph parser, |
| Npgsql + Dapper repositories, outbox, SQL migration runner |
| The MCP tool classes and their registration |
| GitHub App auth, Projects V2 client, board sync worker |
| Slack client, Block Kit builders, notify worker, signature check |
| OpenTelemetry setup and metric definitions |
| Operator CLI |
| 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-buildThe 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/<token>",
# "mcp_endpoint": "http://localhost:8080/<token>/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 <base>/<token>/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>/mcpClaude 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/<token>/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": "<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/<token>/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.
Group | Tool | What it does |
Discovery |
| Projects with active plan counts and the caller's open claims |
| Plans of a project, filterable by status, with task counts per status | |
| Status counts, next claimable work, my claims, stuck work, recent events | |
| Every claim the caller holds | |
Claims |
| Claim the highest-priority pending task for a role |
| Claim one task by id | |
| Audit: claim a finding to verify | |
| Audit: claim a confirmed finding to fix | |
| Reserved; v1 stub | |
| Extend a claim's TTL during long work | |
| Give work back without submitting | |
Submission |
|
|
| Audit: submit findings for a task | |
| Audit: confirmed, rejected or ambiguous | |
| Submit a code change; enforces the retry cap | |
| Audit: fix_confirmed, fix_failed or partial | |
| Development: approved or changes_requested | |
Lifecycle |
| deferred, blocked, skipped, out_of_scope, needs_human_review |
| Attach a commit hash | |
| Add tasks to a plan, one or in bulk | |
| Force a state change; needs | |
Forensic |
| Event timeline for one entity |
| Tasks and attempts past TTL, findings waiting over 24h, idle plans | |
| Plan snapshot as markdown or JSON | |
| Full body of one finding: severity, root cause, reproduction, status, claim holder | |
Setup (admin) |
| New project |
| Attach a GitHub repo | |
| Register a Projects V2 board | |
| Set the Slack channel and bot token reference | |
| New plan in draft | |
| Add a phase to a plan | |
| Draft to active; enqueues board items | |
| Close a plan as Completed or Canceled | |
Audit dispatch (admin) |
| Queue audit runs for one or more projects |
| Ask running audits to stop and clean up |
Configuration
Environment variables read by the API. Each _FILE variant reads the value from a file
(Docker secrets).
Variable | Required | Purpose |
| yes | Npgsql connection string. |
| no | File holding the database password |
| for admin API | Bearer token for |
| no | Base used when returning user URLs. Defaults to the request host |
| for GitHub | GitHub App id |
| for GitHub | App installation id |
| for GitHub | Path to the App private key (PEM) |
| for GitHub | Webhook HMAC secret |
| for Slack buttons | Slack signing secret |
| no |
|
| no |
|
| stdio | The user the stdio server acts as |
| no |
|
| dispatcher |
|
| dispatcher | Path to |
| no | Dispatch script timeout in seconds |
| no | OTLP endpoint for traces and metrics. Unset means telemetry is off. The URL token is redacted from spans |
| dispatcher | Optional test host given to audit runs as an |
Per-project Slack bot tokens are files under the secrets directory, referenced by
set_project_slack. See docs/slack-setup.md and
docs/github-setup.md.
Building from source
dotnet build
dotnet test tests/Workstream.UnitTests # no Docker
dotnet test tests/Workstream.IntegrationTests # Docker (Testcontainers, Postgres 16)
dotnet test tests/Workstream.ConcurrencyTests # DockerRun the API against your own Postgres:
export WORKSTREAM_DB_CONNECTION="Host=localhost;Database=workstream;Username=workstream;Password=devpass"
export WORKSTREAM_ADMIN_TOKEN="dev-admin-token"
dotnet run --project src/Workstream.ApiDocumentation
Architecture: modules, request lifecycle, concurrency model
State machine: the state graph format and the two seed plan types
MCP tools: every tool, error codes,
as_agentOnboarding: giving a developer access
GitHub setup: GitHub App, Projects V2 board, webhooks
Slack setup: bot token, channel, interactivity
Audit dispatch: the dispatcher sidecar
Deployment: production compose, PgBouncer, Caddy, backups
Example audit orchestrator: a prompt that drives an audit plan end to end
Dashboard: the read-only web view and its API
Roadmap: Now, Next and Later
Build specification: the full design
Status
Early, version 0.3.1. Known gaps:
claim_next_attempt_for_reviewis a stub.workstream-admin apply(declarative bootstrap) only prints the file.The stuck-work report is stored but not yet posted to Slack.
Only the latest
masteris supported; there are no release branches.
See CHANGELOG.md and the roadmap.
Community
Questions and ideas: GitHub Discussions
Bugs and feature requests: issues
Getting help: SUPPORT.md. How decisions are made: GOVERNANCE.md
Security issues: SECURITY.md
Contributing
Start with CONTRIBUTING.md and the good first issues. Planned work is in ROADMAP.md. The repository opens in a dev container or GitHub Codespaces with the .NET 10 SDK and Postgres ready.
Contributors
License
MIT. Copyright 2026 Ahmad Shawar.
Available Tools
36 toolsactivate_planAIdempotent
Admin: move a plan from draft to active. Enqueues board-sync items for every task currently in the plan and posts a plan.activated Slack notification.
Inputs: PlanId (required), as_agent.
add_phaseC
Admin: add a phase to a plan. Phases are an optional structural layer; tasks may be unphased.
Inputs: PlanId (required), OrderIndex (required), Name, as_agent.
add_project_boardB
Admin: register a GitHub Projects V2 board for a project. Caller must have already discovered the Status field option ids via the GraphQL API (the discover endpoint helps).
Inputs: ProjectId (required), GithubProjectNumber (required), as_agent, DisplayName, +8 more.
add_project_repoB
Admin: attach a GitHub repo to a project. Reference-only repos are not modified by the system (e.g. an upstream project used as a design reference).
Inputs: ProjectId (required), as_agent, GithubRepo, GithubOwner, +1 more.
archive_planADestructiveIdempotent
Archive (disable) a plan so it stops accepting work. Requires can_archive_plan on the calling actor. An archived plan is frozen: claim_next_task, claim_specific_task, the finding-claim tools, create_task / create_tasks, and activate_plan all reject it with the structured plan_archived error. Use this to retire a finished or abandoned plan — the next time an orchestrator bootstraps it will find no active plan of that type and create a fresh one, which is how you start a new audit/development pass on demand. Archiving is one-way (there is no un-archive) and idempotent; the plan's tasks, events, and board cards are left intact for forensics. The outcome is 'Completed' (default) or 'Canceled' — it suffixes the audit milestone's title when it is closed and shows on the Slack notice, alongside the reason. Posts a plan.archived Slack notice. Returns the plan id, its new status, the resolved outcome, and already_archived (true when the plan was already archived).
Inputs: PlanId (required), Reason, Outcome, as_agent.
cancel_auditADestructiveIdempotent
Admin: cancel a running audit for one or more projects. Pass projects as a list of project slugs or ids. Each is resolved and a cancel request is queued on the audit-dispatch outbox; a background worker signals that project's audit session, which triggers the orchestrator's own /audit-cancel cleanup (no hard kill). The result lists each project with status 'queued' or 'unknown_project'.
Inputs: Projects, as_agent.
claim_next_attempt_for_reviewA
Reserved tool surface for the future fix-verifier / dev-reviewer queue. In v1 the verdict tools (submit_attempt_verdict / submit_review_decision) accept the attempt id directly from the orchestrator's working state, so no separate claim is needed.
Inputs: PlanId (required), as_agent.
claim_next_finding_for_fixA
Audit-plan-only: claim the highest-severity confirmed (or below-cap fix_failed/partial) finding to fix. Caller is implicitly the 'fixer' for the claim. Sets the finding status to in_fix as part of the claim transaction.
Inputs: PlanId (required), as_agent.
claim_next_finding_for_verificationA
Audit-plan-only: claim the highest-severity pending-verification finding on the plan. The calling actor is implicitly assigned the 'verifier' role for the claim duration. Returns no_work_available if no findings are waiting.
Inputs: PlanId (required), as_agent.
claim_next_taskA
Atomically claim the highest-priority pending task on a plan for the given role. The role must be valid for the plan's plan_type (e.g. 'developer' for dev plans, 'auditor' for audit). Returns { task, claim_token } on success or no_work_available if nothing is claimable. Use this when the orchestrator or developer is ready to start something new and the system should pick. Assigns the bound Project V2 card to the calling actor's GitHub user.
Inputs: PlanId (required), Role, as_agent, TtlOverride.
claim_specific_taskA
Claim a specific task by id. Fails with task_unavailable if another actor holds it with an unexpired claim. Use when the orchestrator is directing work (e.g. dispatching a subagent to a particular task). Assigns the bound Project V2 card to the calling actor's GitHub user.
Inputs: TaskId (required), Role, as_agent, TtlOverride.
create_planA
Admin: create a new plan (in draft status). When primary_board_id is omitted the plan inherits the project's board automatically if the project has exactly one registered board — this is what makes board sync fire for every task on the plan, including create_tasks bulk inserts. Pass primary_board_id explicitly only when the project has more than one board. The response echoes the resolved primary_board_id; a null value means the plan is NOT board-bound and no cards will appear. Use activate_plan to move the plan to active and enqueue the board items for existing tasks.
Inputs: ProjectId (required), Name, PlanType, as_agent, +3 more.
create_projectB
Admin: create a new project. Slug is the stable identifier used in URLs and CLIs.
Inputs: Slug, as_agent, Description, DisplayName.
create_taskA
Create a new task on a plan, in pending status. Optional 'depends_on' is a list of task ids this new task depends on — claim_next_task and claim_specific_task both skip tasks whose predecessors are not in a terminal state (done / deferred / skipped / out_of_scope), so the orchestrator can parallelize unblocked work and sequence blocked work. All predecessors must live on the same plan; cycles are rejected at insert. The board sync always fires so the BoardSyncWorker creates a draft item on the bound GitHub Projects V2 board (Backlog column) on first drain. Slack is opt-in: 'notify_slack' defaults to false to keep the channel quiet during plan setup and admin imports; pass true to post a task.created message if the project has Slack configured. Used by orchestrators that decompose larger work units into tasks at runtime, and by admin tools that import work from external sources.
Inputs: PlanId (required), Paths, Title, PhaseId, +7 more.
create_tasksA
Bulk task creation for orchestrator bootstrap (e.g. Phase 0 of an audit). Accepts a list of tasks on a single plan. Each item may carry 'depends_on_ids' (uuid list referencing tasks already in the database) AND/OR 'depends_on_external_keys' (string list referencing other items in this same batch by their external_key — resolved to ids after the first pass). The batch is processed in two passes: first every task is inserted with no dependencies, then edges are wired up using the resolved id map. Cycles are rejected — the call returns the first cycle's task and rolls back nothing (already-inserted tasks remain, so the caller can fix the bad edge and re-run idempotently using unique external_keys). Board sync always fires for every inserted task so the Project V2 board reflects the batch. Slack is opt-in: 'notify_slack' defaults to false to avoid flooding the channel with a task.created burst — pass true if you want every task announced.
Inputs: Tasks (required), PlanId (required), as_agent, NotifySlack.
export_planARead-onlyIdempotent
Export a deterministic snapshot of a plan, suitable for committing to a repo or pasting into chat. format ∈ {markdown, json}. Markdown is human-readable and stable; JSON is the full structured tree (tasks, findings, attempts, verdicts). Export is one-way — the database is the source of truth, not the markdown.
Inputs: PlanId (required), Format, as_agent.
get_event_logBRead-onlyIdempotent
Forensic event log for a specific entity (task / finding / attempt / plan / phase). Used to investigate 'why did this task end up in needs_human_review' — the events table records every state change with the actor and reason.
Inputs: EntityId (required), Limit, Since, as_agent, +1 more.
get_findingARead-onlyIdempotent
Retrieve the full body of a single finding by id: severity, invariant impact, symptom, root cause, reproduction steps, adversarial input, expected vs actual, reference comparison, status, and claim holder. claim_next_finding_for_verification and claim_next_finding_for_fix return only the finding id, task id, status, and severity — call get_finding to fetch the auditor-authored body a verifier or fixer subagent needs to reproduce the issue. No claim is required: this is a plain read, so an orchestrator that did not author the findings in the current session (or resumed after a restart) can still recover them. Returns the structured not_found error if the id is unknown. The live claim token is deliberately not returned — use a claim tool to take the finding.
Inputs: FindingId (required), as_agent.
get_my_active_workARead-onlyIdempotent
Every active claim the calling actor currently holds across every plan: tasks, findings, and attempts in review. Use this on session start to recover claims after a Claude restart.
Inputs: as_agent.
get_plan_dashboardARead-onlyIdempotent
Comprehensive snapshot for one plan: per-status counts, per-phase counts, up to 5 next-claimable tasks, the caller's currently-held claims, stuck work (claims older than 2× their TTL), and the 20 most recent events. This is the single call an orchestrator makes every iteration to decide what to do next; cached in-process for 5 seconds and invalidated on LISTEN/NOTIFY.
Inputs: PlanId (required), as_agent.
get_stuck_workARead-onlyIdempotent
On-demand view of the same data the hourly stuck-work job computes: tasks past their TTL, claims held past their role's max_lifetime, findings in pending_verification > 24h, attempts past TTL, plans with no events in the last 24h. Scoped to a single plan or global.
Inputs: PlanId, as_agent.
list_plansARead-onlyIdempotent
List plans on a project, optionally filtered by status. Each plan reports per-status task counts so the caller can pick the next plan with workable work without making N additional dashboard calls.
Inputs: ProjectId (required), Status, as_agent.
list_projectsARead-onlyIdempotent
List every project the calling actor can see, with per-project active plan count and the number of tasks/findings the actor currently has claimed across the project. Use this as the first call when a developer or orchestrator wakes up and needs to decide what to work on.
Inputs: as_agent.
mark_task_statusADestructiveIdempotent
Set a task to a non-normal status: deferred, blocked, skipped, out_of_scope, or needs_human_review. Bypasses the claim mechanism (override path) and requires the relevant permission flag on the calling actor (can_mark_needs_human_review for blocked/needs_human_review, can_override_verdict for deferred/skipped/out_of_scope). Fires board + Slack so the bound Project V2 card moves to the matching column and the channel sees a task.blocked-style post with the supplied reason.
Inputs: TaskId (required), Reason, Status, as_agent.
override_verdictADestructiveIdempotent
Force a state change on a task or finding without holding its claim. Requires can_override_verdict on the calling actor. Writes an override event with the supplied reason, and (for tasks) fires board + Slack so the bound Project V2 card and the channel reflect the new status. Use when a subagent's claim has gone stale but the work it produced needs to be recorded (e.g. a verifier that finished after its TTL expired). For attempts, use record_commit to attach commit metadata; an attempt has no status of its own — the parent finding carries the verdict, so override the finding instead.
Inputs: EntityId (required), Reason, as_agent, NewStatus, +1 more.
record_commitA
Attach a commit hash to a task, finding, or attempt after the fact. Writes a commit_recorded event. Use when the commit happens outside the normal submit_attempt flow (e.g. a hotfix going in via override).
Inputs: EntityId (required), RepoId, as_agent, CommitHash, +2 more.
refresh_claimA
Extend an active claim's TTL without releasing it. Use when a subagent's reproduction is taking longer than the configured role TTL (e.g. a verifier mid-deploy on a remote test host). extend_by accepts the same duration shorthand as the role_ttls config ('30m', '2h'); if omitted, the role's configured TTL is added on top of the current claimed_until. The token must still be live AND held by the calling actor — an already-expired claim cannot be reanimated here (it must release and re-claim), because the stuck-work sweeper may have already handed the row to someone else. Writes a claim_refreshed event so the audit trail shows every extension. A plan type can limit refreshes per role (claim_limits in its config): a max lifetime from claimed_at, and requiring progress (an attempt, findings, a commit or a status change) since the last refresh. A refused refresh returns claim_limit_reached with details.reason (max_lifetime or no_progress) and claimed_until, when the claim runs out.
Inputs: ClaimToken (required), ExtendBy, as_agent.
release_claimAIdempotent
Release a claim without submitting work. Used when an agent decides it cannot complete the work and wants to surface it back to the pool. The task status reverts to pending, the bound board's card moves back to the Backlog column (lazy-created on the project if it wasn't there yet), and its assignees are cleared so the next claimer takes ownership cleanly. Slack is intentionally not posted because routine claim cycles are noise.
Inputs: ClaimToken (required), Reason, as_agent.
request_auditA
Admin: request a full audit run for one or more projects. Pass projects as a list of project slugs or ids. Each is resolved and queued on the audit-dispatch outbox; a background worker then launches that project's audit orchestrator (no repo checkout by the caller). The result lists each project with status 'queued' (with a dispatch id and an attach_command — the command to watch the live audit session once SSH'd into the server) or 'unknown_project' (the name did not resolve).
Inputs: Projects, as_agent.
set_project_slackBDestructiveIdempotent
Admin: configure the Slack workspace, default channel, and bot-token secret reference for a project.
Inputs: ProjectId (required), as_agent, WorkspaceId, DefaultChannelId, +1 more.
start_workAIdempotent
Transition a claimed task from 'claimed' to 'in_progress'. Triggers the board sync to move the card to In Progress. Requires the original claim token; a stale token yields stale_claim.
Inputs: ClaimToken (required), as_agent.
submit_attemptA
Submit a developer's (or fixer's) attempt at the work: list of files changed, approach summary, side effects, build command, test scenario, diff reference. For dev-plan tasks this transitions the task to review. For audit findings this records an attempt in the findings's attempt chain. Returns retry_cap_exceeded if attempt count is at the plan's retry cap.
Inputs: ClaimToken (required), Attempt, as_agent.
submit_attempt_verdictA
Audit-plan: the fix-verifier's verdict on a fixer's attempt. verdict ∈ {fix_confirmed, fix_failed, partial}. On fix_confirmed, commit_hash is required and the finding moves to fixed. On fix_failed below retry cap, the finding moves to fix_failed (still claimable). On partial, the server auto-creates a child finding for the remaining work.
Inputs: AttemptId (required), Verdict, Evidence, as_agent, +1 more.
submit_findingsA
Audit-plan only: submit zero or more findings for the currently-claimed task. If the findings list is empty, the task transitions directly to done (a clean audit). If non-empty, the task transitions to review and each finding is created in pending_verification.
Inputs: Findings (required), ClaimToken (required), as_agent.
submit_review_decisionA
Dev-plan: a reviewer's verdict on a task in review. decision ∈ {approved, changes_requested}. On approved, the task moves to done and commit_hash (if provided) is recorded on the latest attempt. On changes_requested below retry cap, the task returns to pending so any developer can claim it for another pass; at cap, it moves to needs_human_review.
Inputs: TaskId (required), Comments, Decision, as_agent, +1 more.
submit_verification_verdictA
Audit-plan only: submit the verifier's verdict on a pending-verification finding. verdict ∈ {confirmed, rejected, ambiguous}. Evidence (pre_output, post_output, etc.) is recorded into the verdicts table and the finding status transitions accordingly.
Inputs: ClaimToken (required), Verdict, Evidence, as_agent.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
The tools mostly map to distinct entities and lifecycle actions, with clear separation between claim, submit, verdict, admin, and audit operations. A few boundaries are softer, especially get_stuck_work vs get_plan_dashboard, get_my_active_work vs dashboard claims, and mark_task_status vs override_verdict, and the reserved claim_next_attempt_for_review adds some surface noise.
Names consistently use snake_case with a predictable verb_noun or verb_object_for_purpose pattern. Even where singular/plural differs, such as create_task vs create_tasks, the naming remains readable and systematic.
With 36 tools, the surface is heavy for an agent to navigate reliably, and the set includes at least one reserved/currently unnecessary tool. While the domain is complex, the count exceeds the typical well-scoped range and increases selection cost.
Core workflow coverage is strong: project/plan setup, task creation and claiming, attempts, findings, verdicts, review decisions, overrides, stuck-work inspection, event logs, and audit dispatch are all represented. Some admin lifecycle gaps remain, such as update/remove operations for projects, repos, boards, plans, and phases.
Maintenance
Related MCP Connectors
Shared task queue for humans and AI agents: leases, handoffs, approvals and signed receipts.
Task management for teams building with AI agents. Agents claim tasks and report progress.
Shared graph-based task tracker for agents, agents’ agents and people. Source-available, free cloud.
Shared task layer for AI agents: tasks, handoffs and decisions that persist across tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceGitHub MCP server for Claude Code, Cursor, Cline, Windsurf, and any MCP-compatible client. Exposes GitHub tools (issues, pull requests, code search, file content) to your LLM via the Model Context Protocol.7MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes Slack Web API operations as tools, enabling users to list conversations, read history, post messages, and call any Slack Web API method.MIT
- AlicenseNot gradedqualityBmaintenanceLocal-first task governance board for AI agents, enabling session registration, task creation, progress updates, and evidence reporting via MCP, with separation of agent claims and human acceptance.Apache 2.0
- AlicenseAqualityBmaintenanceSelf-hosted task tracker and MCP server for AI coding agents. Append-only case files preserve decisions, failed attempts, questions, and check results across sessions. A live web board lets people track progress and answer agents. Runs locally in Docker and connects to Claude Code, Codex, Cursor, and other Streamable HTTP MCP clients. MIT licensed.306MIT