ziptask
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., "@ziptask show me the queue of tasks ready to claim"
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.
ziptask
MCP task tracker for AI agents — pure state layer (statuses, deps, leases, versioning) over SQLite.

Install
One-liner — installs the published binary via the deploy/ framework (see
deploy/app.env for every knob), seeds a default
settings.json and provisions the service:
# latest release
curl -fsSL https://raw.githubusercontent.com/zumik3-del/ziptask/main/deploy/install.sh | bash
# from a checkout, or pinned to a version
sudo bash deploy/install.sh --version <tag>Both forms need root for /opt, /var/lib and the unit: the piped form calls
sudo for each privileged step, so run it as a user who can sudo; the checkout
form is shown with sudo.
Canonical layout: binary in /opt/ziptask, database and settings.json in
/var/lib/ziptask/, deploy state (helpers, hooks, app.env) in ~/.ziptask/.
/opt/ziptask/data is a symlink to /var/lib/ziptask that the installer
creates, because the shipped dbPath is relative.
--port N seeds a fresh settings.json with port: N and points the health
check at it (an existing file is never rewritten); --dir D moves the payload,
the config and the database under D (config at D/data/settings.json) while
the deploy state stays in ~/.ziptask/; --version pins a release and
--no-service skips systemd — bash deploy/install.sh --help lists them all.
Both --dir and --port are also persisted into the installed
~/.ziptask/scripts/app.env (INSTALL_DIR, DATA_DIR, EXEC_START,
CONFIG_FILE, PORT) — the file updater.sh and update.sh reload — so later
updates keep using D and N instead of the canonical /opt/ziptask and
3005. A repeat install with the same flags rewrites nothing.
The deploy state is root-owned (app.env is 0640 root:<service-group>,
directories and helper scripts 0750), so the service account and the account
that runs the update must be in that group. Five files — update.sh,
updater.sh, uninstall.sh, common.sh and app.env — are installed into
~/.ziptask/scripts/. Every entry point — install.sh,
update.sh, uninstall.sh and updater.sh — screens ~/.ziptask, scripts/,
hooks/ and scripts/app.env and aborts before changing anything if one of them
is a symlink (dangling included): cp, chown, chmod, source and bash all
dereference, so a planted link would retarget the work at an arbitrary path.
Inspect the link, remove it, re-run.
The layout, the unit policy and the per-app app.env keys are shared with
synaptomind and subagentix and documented once, in
zumik3-del/synaptomind docs/DEPLOY-LAYOUT.md.
That document is the shared map; deploy/app.env stays the
source of truth for ziptask's own keys, and its ziptask column lags this repo on
HEALTH_VERSION_FIELD, SERVICE_USER and the app.env mode.
Prebuilt release binaries target Linux x86_64 only. On other platforms (macOS, arm64 Linux) build from source with bun run build:bin.
Service mode
When systemd is detected and running, the installer renders
/etc/systemd/system/ziptask.service from the framework's unit template
(Restart=always, a bounded TimeoutStopSec, and the usual hardening) and
starts it. The unit runs as the invoking account — SUDO_USER when the install
went through sudo — unless SERVICE_USER in
deploy/app.env names another one: it wins over SUDO_USER,
and a name that does not exist on the host aborts the install before anything is
written. A shell that is root without SUDO_USER (a container, su -,
docker exec -u root) has no invoking account to inherit: the installer warns,
names SERVICE_USER, and continues with a root-run unit — set SERVICE_USER
(or install through sudo from that account) to keep the service unprivileged;
SERVICE_USER=root is the explicit way to say root is intended. Set it (plus
SERVICE_GROUP when the group is not the account's own) to run under a
dedicated account. Manage it with:
sudo systemctl start ziptask
sudo systemctl stop ziptask
sudo systemctl enable ziptask # auto-start on boot
journalctl -u ziptask -f # live logsRemove with bash ~/.ziptask/scripts/uninstall.sh. It always removes the unit
and ~/.ziptask/scripts/; the binary and the database stay unless you pass
--purge, and ~/.ziptask itself is never deleted.
Update
bash ~/.ziptask/scripts/updater.sh # newest stable release, interactive
bash ~/.ziptask/scripts/updater.sh --version <tag> # pin a release
bash ~/.ziptask/scripts/update.sh --version <tag> # direct, for a prerelease or an exact tagAn update stages the release, backs the database up and swaps the binary,
keeping the previous one as ziptask.prev. When the health check fails it
prints the exact rollback — move .prev back, restore the database — and
nothing is rolled back automatically. See
Configuration.
MCP client config (stdio)
// Claude Desktop / Cursor / opencode — see your client's MCP config (key "mcpServers" in most)
{
"mcpServers": {
"ziptask": {
"command": "/opt/ziptask/ziptask",
"args": ["--stdio", "--settings", "/var/lib/ziptask/settings.json"]
}
}
}Pass --settings so the DB path and options come from settings.json regardless of the client's working directory — otherwise the DB defaults to ./data/ziptask.db under the client's cwd. Clients do not expand ~ in command/args, so substitute the absolute path (/var/lib/ziptask/settings.json in the canonical layout). The installer seeds that file 0600 for the service account, so a stdio client running as another account needs read access to it — and write access to the database directory — or it cannot open the DB.
MCP client config (remote HTTP)
When the service is running on the same host, point the client at the HTTP endpoint instead:
// opencode's MCP config shape ("mcp" + "type": "remote"); other clients call the
// key "mcpServers" and spell the remote transport in their own way
{
"mcp": {
"ziptask": { "type": "remote", "url": "http://127.0.0.1:3005/mcp" }
}
}The endpoint has no authentication, so keep it bound to 127.0.0.1 (ZIPTASK_HOST/settings.json). Use a reverse proxy with auth if it must be reachable from other hosts.
Related MCP server: vibecheck
Quick start (from source)
Requires Bun 1.4.5 — the version CI pins.
bun install
bun run start # HTTP server on an ephemeral port (MCP endpoint + /health + experimental /api/tasks and /api/task/:id)
bun run start:stdio # run over stdioBuild a binary
bun run build:bin # produces dist/ziptask
dist/ziptask --version # prints ziptask and the package.json version
dist/ziptask --help # lists the flags
dist/ziptask --stdio # runs as stdio MCP serverArchitecture
Layered by carrier, no framework beyond the MCP SDK:
Layer | Location | Responsibility |
MCP |
| Tool schemas, registration, response shaping |
Service |
| Domain rules: transitions, leases, deps, versioning |
Storage |
| SQL (bun:sqlite, WAL) + migrations |
Entry |
| Composition root, HTTP transport |
The public task API is MCP, exposed at POST/GET/DELETE /mcp, alongside GET /health and two experimental REST-style read endpoints, GET /api/tasks and GET /api/task/:id (the latter kept as an integration endpoint for the subagentix client). No endpoint authenticates. Enumeration is scoped: the enumerating tools require a project slug, while by-id calls stay unscoped — see Projects. See HTTP endpoints.
Development
bun run dev # HTTP server under --watch
bun test # unit tests (per-test temp DBs)
bunx tsc --noEmit # type check
bun run lint # biome check src/ scripts/ (lint + format check)
bun run format # biome format --write src/ scripts/
bun run check:boundaries # mcp -> core -> db import direction (CI gate)
bun run src/smoke.ts # MCP end-to-end over HTTP (ephemeral port + temp DB)CHANGELOG.md is a short list of recent releases, updated by hand at release time; the per-release notes are generated from the non-merge commits since the previous tag. There is no changelog script — release.yml creates the tag and the Release on main.
Documentation
Configuration —
settings.json, environment variables, the upgrade path, and backups.HTTP endpoints —
/mcp,/health, and the two experimental read endpointsGET /api/tasksandGET /api/task/:id.MCP tools — the 14-tool reference, the advertised annotations, projects and scope, task statuses, lease-reap semantics, and lease recovery paths.
Projects — what a project is, the slug, the fail-closed scope rule, and the four project tools.
Epic → sub-task workflow — declaring epics, attaching sub-tasks, roll-up, closure, and the cross-project constraints.
Subagent setup — install and configure the example orchestrator + subagent agents.
License
MIT
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Available Tools
14 toolsadd_commentB
Add a comment; agent and non-empty content (alias text/comment) are required. One line from get_template("comment-success"/"comment-failure").
Inputs: id (required), agent (required), text, comment, +1 more.
claim_taskA
Claim a task: auto-pick takes the best queued task of the required project; with task_id the call is unscoped and also accepts a blocked task. agent defaults to "unknown"; lease_ttl_min overrides the default for this claim only (<=1440, larger refused). fields adds task fields to the response; max_field_chars truncates.
Inputs: agent, fields, project, task_id, +2 more.
create_projectA
Create a project; slug? derives from the folder name and must match ^[a-z0-9][a-z0-9._-]{0,31}$ ("legacy" is reserved). Output {slug}
Inputs: folder_path (required), slug.
create_taskA
Create a task. Regular tasks start queued, epics open; assignee is refused at creation (a lease exists only from in_progress, and the claim writes the holder). epic_id attaches a sub-task and promotes a queued target. project is required. Build description from get_template("task") or get_template("epic").
Inputs: title (required), epic, epic_id, project, +5 more.
delete_projectADestructive
Delete a project that has no tasks; a project with tasks refuses with CONFLICT (archive it instead). Output {deleted:}
Inputs: project (required).
get_taskAIdempotent
Brief default: id,title,status,priority,blocked_by. More via fields — description, version, project, subtasks (epic roll-up); null fields are omitted. max_field_chars truncates long strings with a …(+N chars) marker. By-id: no project argument.
Inputs: id (required), fields, max_field_chars.
get_templateARead-onlyIdempotent
Return the template text: task/epic for a create_task description, comment-success/comment-failure for an add_comment body.
Inputs: name (required).
get_timelineAIdempotent
Merged audit + comments feed, pipe seq|type|agent|at|text ascending. limit is the newest N events (default defaults.timelineLimit); since (unix ms) switches to a forward cursor: the oldest N at or after it. max_text_chars truncates each text (0 omits it).
Inputs: id (required), limit, since, max_text_chars.
list_projectsBRead-onlyIdempotent
Pipe lines slug|folder|open (open = non-terminal tasks), ordered by slug; archived projects are listed identically (the pipe carries no archive flag)
Inputs: no named parameters.
list_queueBIdempotent
Deps-satisfied queued tasks of one project, pipe id|priority|title; project is required (no default or all-projects mode).
Inputs: limit, project.
list_tasksAIdempotent
Filters: assignee,status,updated_since(ms),epic_id(children),is_epic; project is required unless ids is non-empty. Batch ids ignores filters and keeps request order: pipe id|code|<fields...> (- for null or unknown) or format:"json" — use json for description, pipe escaping rewrites | and newlines. description only via fields; max_field_chars truncates.
Inputs: ids, limit, fields, format, +7 more.
update_projectA
Update a project by slug (folder_path?, archived?). archived:false is idempotent; INVALID: nothing to update only when no optional argument is given. Output {slug}
Inputs: project (required), archived, folder_path.
update_statusADestructive
Transition status. version is an optional optimistic lock — read it via get_task fields:["version"] or the claim response; a stale one answers CONFLICT, so re-read and retry, except CONFLICT: lease held by , which means hand the task back. canceled withdraws any task still open for work; failed is closed for work and only withdrawable to canceled; epics stay open and close directly to done/failed/canceled, refused while children are not terminal. A non-renewal entry into in_progress is held to claim eligibility (not an epic, deps satisfied). renew:true with status=in_progress re-arms your own lease (heartbeat ~lease_ttl_min/3) and bumps version. reset_attempts:true rides any legal transition, requires a comment, zeroes attempts, and is refused on epics and closed tasks.
Inputs: id (required), agent (required), status (required), renew, +3 more.
update_taskADestructive
Patch a queued task or an open epic with no lease holder: title, description (the contract), priority, depends_on (replaces the list, <=100 ids; epics take no deps), comment (rationale). Immutable: status, assignee (the lease holder), project, epic_id, reporter, max_attempts. version is an optional optimistic lock; a stale one answers CONFLICT. Refused for in_progress/review/blocked or closed tasks — use add_comment; no editable field → INVALID: nothing to update; a value equal to the stored one is a no-op (changed:[]). Output {id,version,changed}.
Inputs: id (required), agent (required), title, comment, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools target clearly distinct resource+action pairs (create/list/update/delete project, get/list/claim task, add_comment, get_timeline, get_template). The main fuzzy boundary is claim_task versus update_status with status=in_progress/renew, both of which start or re-arm a lease, and update_task versus update_status, which split field edits from transitions. Descriptions do explicitly state what each refuses (e.g. update_task refused for in_progress/review/blocked, update_status holds to claim eligibility), so the overlap is mostly resolvable by reading.
Every tool follows the same snake_case verb_noun pattern: create_/list_/get_/update_/delete_ prefixed consistently across projects and tasks, plus claim_task, add_comment, get_timeline, get_template. No camelCase or bare-noun outliers, and the verb choice matches the operation semantics uniformly.
14 tools sits comfortably in the well-scoped range and each one maps to a real operation in the task/project lifecycle (project CRUD, task CRUD plus status transitions and claiming, queue listing, comments, timeline, templates). Nothing appears redundant or like a thin wrapper around an existing tool.
Project coverage is full CRUD (create/list/update/delete with a CONFLICT guard), and tasks cover create, read, list, patch, status transitions, claiming, comments, and timeline. Gaps: there is no explicit lease-release/unclaim tool (hand-back appears only implicit via CONFLICT messaging or cancel), no hard task delete, and list_tasks/list_queue require a project with no all-projects or search mode. These are workaroundable but are real dead ends in some flows.
Maintenance
Related MCP Connectors
Coordinate multiple AI agents over MCP: atomic claims, leases, shared ledger, handoffs, tasks.
Task management your AI agents can actually run. One line becomes a context-ready task over MCP.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to manage task state through MCP, including creating, updating, and tracking tasks, with support for client-side encryption and secure local credential storage.12 npmMIT
- FlicenseAqualityBmaintenanceEnables coding agents to track and coordinate project work through a shared SQLite ledger, including task plans, session ancestry, claims, work locations, blockers, and commits via MCP tools.9-
- AlicenseBqualityBmaintenanceAn MCP server backed by SQLite that gives a team of AI agents a shared system of record for their work, enabling them to create, update, list, and flag tasks with ownership, due dates, blockers, approval gates, and links, while keeping an append-only log of every status change. Agents use it to enforce a no-task-no-work rule, so each piece of research, purchase, edit, outreach, or code change is tracked from start to completion with recorded evidence.20MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents and humans to collaborate on tasks via MCP and HTTP, including claiming, updating, commenting, attaching artifacts, managing dependencies, and handling human approvals with shared permissions, leases, versioning, idempotency, and event subscriptions.MIT