agent-tasks
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-taskscreate a task for unit testing the payment module"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-tasks
Pipeline-driven task management for AI coding agents. An MCP server with stage-gated pipelines, multi-agent collaboration, and a native Claude Code /pipeline pane. Tasks flow through configurable stages — backlog, spec, plan, implement, test, review, done — with dependency tracking, stage gates, artifact versioning, and threaded comments.
Built for AI coding agents (Claude Code, Codex CLI, Gemini CLI, Aider) but works equally well with any MCP client or REST consumer.

The user manual shows every view and action of the pane, with screenshots and short clips from the real CLI.
2.0 replaced the web dashboard with the /pipeline pane inside Claude Code; there is no browser UI, WebSocket or agent-desk plugin any more.
From 1.x
The dashboard on http://localhost:3422 is gone: open the board with
/pipelinein Claude Code (install the plugin, below). The agent-desk Tasks tab is gone with it.REST:
GET /api/overviewandPUT /api/tasks/:id/stageare gone (useGET /api/boardandPOST /api/tasks/:id/stagewith{"action": "advance"}), and so are the routes nothing called; see the REST API.A 1.x process still holding port 3422 is named by the pane (
An older agent-tasks (1.10.13) holds the port) and in the status line (old server 1.10.13 on the port): end the Claude Code sessions still running it (or kill the oldagent-tasksprocess) so a 2.x process takes the port, then Refresh.
Why agent-tasks?
When you run multiple AI agents on the same codebase, they need a shared task pipeline — not just a flat todo list. They need stages, dependencies, stage gates, and visibility.
Related MCP server: Agent Harness Kit
Features
Pipeline stages — configurable per project:
backlog>spec>plan>implement>test>review>doneTask dependencies — DAG with automatic cycle detection; blocks advancement until resolved
Multi-agent claiming — claim, assign, send back to an earlier stage with a reason
Subtask hierarchies — parent/child task trees with progress tracking
Threaded comments — async discussions between agents on any task
Artifact versioning — per-stage document attachments with automatic versioning
Full-text search — FTS5 search across task titles and descriptions
Claude Code
/pipelinepane — the board beside the conversation, keyboard-first: tasks by stage, task detail with artifacts and comments, advance, send back, complete, fail, cancel, comment and delete, a status line entry2 transport layers — MCP (stdio) and a loopback REST API (HTTP) that the pane reads
TodoWrite bridge — intercepts Claude Code's built-in TodoWrite and syncs to the pipeline
Stage gates — configurable per-project gates with per-stage rules: require named artifacts, minimum artifact counts or a comment before advancing (the schema also has
require_approval, but no MCP tool or REST route records an approval, so a stage with it set cannot be left; keep it off)Decisions log — structured decision artifacts (chose X over Y because Z) via
task_artifact(type: "decision")Learnings propagation —
task_artifact(type: "learning")captures insights (technique, pitfall, decision, pattern); auto-propagated to parent and sibling tasks on completionAgent affinity —
task_list(next: true)prefers routing tasks to agents with related history (parent, dependency, project) as a tie-breakerHeartbeat-based cleanup — auto-fails tasks from dead agents using agent-comm heartbeat data
Task cleanup hooks — auto-fails orphaned tasks on session stop and cleans up stale tasks on session start
Agent bridge — notifies connected agents on task events (claim, advance, comment)
Knowledge bridge — auto-pushes learning and decision artifacts to agent-knowledge on task completion, with embedding indexing and auto-linking
Quick Start
Install from npm
npm install -g agent-tasksOr clone from source
git clone https://github.com/keshrath/agent-tasks.git
cd agent-tasks
npm install
npm run buildOption 1: MCP server (for AI agents)
Add to your MCP client config (Claude Code, Cline, etc.):
{
"mcpServers": {
"agent-tasks": {
"command": "npx",
"args": ["agent-tasks"]
}
}
}The first MCP process to start also serves the REST API on http://localhost:3422; the others retry every 5 s and take over when it exits.
Option 2: Claude Code plugin (MCP server + /pipeline pane)
claude plugin marketplace add keshrath/agent-tasks
claude plugin install agent-tasks@agent-tasksThe plugin runs the MCP server and adds a Claude Code mod (function hooks, Claude Code 2.1.289+): /pipeline opens the board beside the conversation. The tutorial walks through it. Remove any hand-written agent-tasks entry from ~/.claude.json so tools do not appear twice.
Option 3: Standalone REST server
node dist/server.js --port 3422Claude Code Integration
Once configured (see Quick Start above), Claude Code can use all 8 MCP tools directly — creating tasks, advancing stages, adding artifacts, commenting, and more. With the plugin installed, /pipeline opens the board in a pane beside the conversation (Claude Code 2.1.289+). See the Setup Guide for detailed integration steps.
MCP Tools (8)
Category | Tools |
Task CRUD (4) |
|
Metadata (1) |
|
Lifecycle (1) |
|
Artifacts (1) |
|
Config & utils (1) |
|
See full API reference for detailed descriptions of every tool and endpoint.
REST API (8 endpoints)
All endpoints return JSON. Loopback only: a foreign Host gets 403, so does any request carrying an Origin header (no browser calls this API), and request bodies must be application/json. Everything else goes through the MCP tools. See full API reference for details.
GET /health Health check with version + uptime
GET /api/tasks/:id One task, as task_get (?include=subtasks,comments,transitive_deps)
GET /api/pipeline Pipeline stage configuration
GET /api/board Open and recently closed tasks (what the pane polls)
POST /api/tasks Create a task
POST /api/tasks/:id/stage Lifecycle action (claim, assign, advance, regress, complete, fail, cancel)
POST /api/tasks/:id/comments Add a comment
DELETE /api/tasks/:id Delete a taskTesting
npm test # vitest: 472 tests across 25 files
npm run test:watch # Watch mode
npm run test:coverage # Coverage report
npm run check # Full CI: typecheck + lint + format + test
npm run plugin:check # the /pipeline pane: claude plugin validate + its tests (needs the claude CLI)
npm run e2e:claude # the pane in the real Claude Code CLI (see CONTRIBUTING.md)Environment variables
Variable | Default | Description |
|
| SQLite database file path |
|
| REST API port (the |
|
| REST bind address ( |
| the OS user | Who the |
| enabled | Set to |
|
| Days the cleanup keeps resolved approval records |
|
| Days a completed task is kept (and listed under the pane's Done) before purge |
|
| Days a failed task is kept before purge |
|
| Days a cancelled task is kept before purge |
|
| Minutes before an in-progress task with no assignee is cancelled |
|
| Timeout of the cleanup's agent-comm requests |
|
|
|
|
|
|
|
| Agent-comm REST URL for bridge notifications |
|
| Agent-knowledge REST URL for knowledge bridge |
Dependencies
Required: Node.js >= 20.11, better-sqlite3 (bundled)
Optional (soft dependencies — fail-open, HTTP-only, no npm dep):
agent-comm — Heartbeat-based task cleanup and event notifications. agent-comm tracks heartbeats → agent-tasks checks heartbeats → auto-fails tasks from dead agents. Also sends direct messages on claim/advance and posts to a channel on comments. Without agent-comm, stale agent detection and notifications are skipped gracefully.
agent-knowledge — Knowledge persistence for task learnings and decisions. On task completion, the KnowledgeBridge pushes
learninganddecisionartifacts to agent-knowledge viaPOST /api/knowledge. Entries are auto-indexed with embeddings, auto-linked to similar entries, and git-synced. Without agent-knowledge, artifacts stay in agent-tasks only.
Documentation
Tutorial — the
/pipelinepane step by step, recorded from the real CLIUser Manual — the
/pipelinepane view by view (screenshots and GIFs), every tool, the pipeline, gates, cleanupAPI Reference — all 8 MCP tools and the REST endpoints
Hooks — the Claude Code command hooks
scripts/setup.jsinstallsArchitecture — source structure, design principles, database schema
Setup Guide — installation, client setup (Claude Code, OpenCode, Cursor, Windsurf), hooks
Contributing — development, tests, the e2e run in the real CLI
License
MIT — see LICENSE
This server cannot be deployed
Maintenance
Related MCP Connectors
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
- iKanbanOAuthcom.i-kanban
Tasks, sprints, releases and docs for engineering teams with AI coding agents.
- ParleyOAuthdev.weldra
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
Task management for teams building with AI agents. Agents claim tasks and report progress.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables coding agents to run persistent, budgeted work sessions with dependency graphs, human decision queues, required validation, and clean handoffs for autonomous or human-in-the-loop execution.16MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding providers to run structured multi-agent workflows with shared documents, tracked tasks, handoffs, and health evidence, supporting providers such as Claude Code, Codex CLI, Cursor, Grok Build, and OpenCode.29 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding providers to run structured multi-agent workflows with specs, tracked tasks, handoffs, health gates, and audited repair mode.29 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to self-assign and coordinate tasks, track progress and token budgets, and automate GitHub project workflows such as PRD-to-issues pipelines, sprint planning, triage, reviews, and releases.35 npmMIT