tasker
Enables AI agents to manage hierarchical tasks and stories stored as Markdown files, providing tools for creating, listing, editing, and updating task status through the Model Context Protocol.
README
Tasker
A Markdown task tracker designed to live in git alongside your code. Tasks are plain Markdown files inside a .tasker/ directory, with hierarchical stories and subtasks, a CLI for humans, and an MCP server so AI agents can manage the same task list.
Installation
Install with pipx (recommended — installs in an isolated environment):
pipx install mcp-tasker
Or with pip:
pip install mcp-tasker
For development (requires uv):
git clone https://github.com/greendwin/mcp-tasker.git
cd mcp-tasker
uv sync --group dev
Quick Start
# Initialize tasker (or let it auto-detect from any subdirectory)
tasker init
# Or initialize a user-level tasker in your home data directory
tasker init --user
# Create a story
tasker new "Build authentication"
# Add subtasks
tasker add s01 "Design login flow"
tasker add s01 "Implement JWT tokens" --details "Use RS256 signing"
# Work on a task
tasker start s01t01
# View what's on your plate
tasker list
# Mark tasks done
tasker done s01t01
# Edit a task in your editor
tasker edit s01t02
Tasks are stored as Markdown in .tasker/ and committed with your code:
.tasker/
s01-build-authentication/
README.md
s01t01-design-login-flow.md
s01t02-implement-jwt-tokens.md
Usage
Create tasks
tasker new <title> # new root story
tasker new <title> --details "..." --slug <slug> # with description and slug
tasker new <title> --editor # create and open in editor
tasker add <parent-id> <title> # inline subtask
tasker add <parent-id> <title> --details "..." # subtask with description
tasker add <parent-id> <title> --editor # create and open in editor
tasker add-many <parent-id> # add multiple subtasks interactively
Update status
tasker start <task-id>... # mark in-progress
tasker review <task-id>... # submit leaf task for review
tasker done <task-id>... # mark done
tasker cancel <task-id>... # cancel
tasker reset <task-id>... # reset to pending
tasker reset <task-id> --force # force reset non-pending subtasks
# Force-close a parent with open subtasks
tasker done <task-id> --force
# Close every in-review task along with any explicitly listed ones
tasker done --reviewed
View tasks
tasker list # all open root tasks
tasker list -a # include closed tasks
tasker list --todo # only tasks from the TODO list
tasker list --archived # list archived tasks
tasker list --closed # show 5 most recently closed tasks
tasker list <task-id> # subtasks of a specific task
tasker view <task-id> # full task details
TODO list
Pin tasks you're actively focused on. The list lives in .tasker/.todo (git-ignored), and archived tasks are removed automatically.
tasker todo <task-id>... # pin task(s) to the TODO list
tasker untodo <task-id>... # remove from the TODO list
tasker list --todo # show only pinned tasks
Edit tasks
tasker edit <task-id> # open in $EDITOR
tasker edit <task-id> --title "New title"
tasker edit <task-id> --details "New description"
tasker edit <task-id> --slug new-slug
Organize
tasker move <task-id> --parent <new-parent> # reparent
tasker move <task-id> --root # promote to story
tasker move <task-id> --delete # delete a task
tasker move <task-id> --parent <p> --editor # reparent and open in editor
tasker archive <task-id> # archive completed story
tasker archive --closed # archive all closed stories
tasker unarchive <task-id> # restore from archive
Shortcuts
Reference recent tasks without typing full IDs:
| Shortcut | Meaning |
|---|---|
q |
Last referenced task |
q01 |
Subtask 01 of recent |
p |
Parent of recent |
p03 |
Sibling 03 via parent |
tasker view s01t02 # sets recent = s01t02
tasker start q # starts s01t02
tasker view p # views s01 (parent)
tasker done q01 # marks s01t0201 done
MCP Server
tasker can run as a Model Context Protocol server, allowing AI agents to manage your tasks directly.
Configure in Claude Code
claude mcp add tasker -- tasker mcp
Configure per-project (.mcp.json)
{
"mcpServers": {
"tasker": {
"command": "tasker",
"args": ["mcp"]
}
}
}
If running from a checkout:
{
"mcpServers": {
"tasker": {
"command": "uv",
"args": ["run", "tasker", "mcp"]
}
}
}
HTTP transport
For network-accessible clients, start with --port:
tasker mcp --port 8080
Available tools
Once connected, the MCP server exposes:
| Tool | Description |
|---|---|
create_task |
Create a root task or subtask |
list_tasks |
List all root tasks (pass todo=true for only pinned tasks) |
view_tasks |
View detailed info for multiple tasks |
edit_task |
Update a task's title, description, or slug |
start_task |
Mark task in-progress |
review_task |
Mark task in-review (submit for review) |
reset_task |
Reset task to pending |
finish_task |
Mark task done |
cancel_task |
Cancel a task |
Development
uv sync --group dev
# Run all checks (lint + tests)
uv run tox
# Run tests only
uv run tox -e test
# Lint (black, isort, flake8, mypy)
uv run tox -e lint
# Format code
uv run black src tests
uv run isort src tests
Requirements
- Python >= 3.10
Release Notes
1.5.0
tasker initnow creates.tasker/; legacytasker/directories are still recognised at discovery time- Direct task references accept single-digit segments:
s1→s01,s1t1→s01t01, and trailing-slugworks on the padded form list --revfalls back to the active TODO list when nothing is in review (previously fell back to all active root tasks)- Ambiguous-digit error message reworded to mention direct references
- Bug fixes: suppress spurious
Error: <code>output fromtyper.Exiton normal CLI exits
1.4.2
- Single-digit shortcuts pad to two:
q3→q03,p3→p03,ta3→ta03; odd-length runs > 1 are rejected as ambiguous
1.4.1
list --rev/list --in-reviewshows tasks awaiting review (with parent context); falls back to active root tasks when none are in review
1.4.0
t<letter>shortcuts (ta..tz) for active TODO tasks, usable wherever a<task-id>is acceptedlist --todohides finished tasks while active ones remain; printsAll tasks finished!when none are active- TODO list preserves insertion order
- MCP:
task_refarguments accept the full set of CLI shortcuts (q,p,t<letter>) - Build: cached Typer command tree in tests cuts full-suite runtime by ~30%
- Bug fixes:
edit --editorrefreshes the in-memory task tree so follow-up displays reflect new title/slug
1.3.4
- Warning shown when a task directory is missing its
README.md - Exception callstacks hidden by default, shown only with
--debug - Renamed tasks displayed as a single group in
moveoutput - Bug fixes: broken task files now report the offending filename in the error message
1.3.3
- Task preview after
done/cancelwalks up to the first non-closed ancestor, showing the full picture of remaining work - When closing a task completes the entire story, nearby open stories are shown as a "what's next?" hint
1.3.2
- Bug fixes: proper error handling for exceptions raised in dependency-injection callbacks (e.g. missing
tasker/directory)
1.3.1
list --closedflag to explicitly show recently closed tasks (previously shown implicitly at the end oflist)- Bug fixes:
list --todono longer shows non-TODO tasks
1.3.0
in-reviewstatus andtasker reviewcommand for submitting leaf tasksdone --reviewedcloses every currently in-review task in one calltodo/untodocommands to pin tasks, andlist --todo/(todo)marker- Archived tasks are auto-removed from the TODO list
init --usercreates a user-level tasker directory (respectsXDG_DATA_HOME/LOCALAPPDATA)move --editorto open the moved task after reparentingnewandaddaccept unquoted titles (extra words are joined automatically)- Recently closed tasks are shown at the end of
listoutput - Last two digits of subtask IDs are highlighted in bullet lists
- MCP: added
cancel_tasktool,todoparameter onlist_tasks - MCP: status tools return smaller previews on
start/cancel/review/done - Build: migrated from
poetrytouv - Bug fixes:
[text]escaping in task output, stale(q)reference to deleted tasks,taskerdirectory resolution, recently closed task suppressed on narrow terminals
1.2.0
initcommand and automatictasker/directory discovery (walks up to git root)move --deleteoption to delete tasksreset --forceto force-reset non-pending subtasks(q)/(p)recent-task markers shown inviewandeditcommands- Subtask count shown in
viewcommand - Tab autocompletion for task ID arguments
- Slug validation
- Bug fixes: recent task override, auto-unarchive logic
1.1.0
--editor(-e) option onnewandaddcommands to open the task in an editor after creationlist --archivedto browse archived taskslisthighlights the most recently referenced task- Editing an archived task auto-unarchives it
- Task preview shown after
start,reset,done,cancel,move,new,add, andeditcommands - MCP: added
edit_tasktool for updating title, description, and slug - MCP:
view_tasksaccepts multiple task IDs in a single call - MCP: task subtasks grouped by status in response
--versionflag- Bug fixes: editor slug path, directory cleanup on
move, multi-task preview onstart
1.0.0
piprelease
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。