TaskWarrior MCP Server
TaskWarrior MCP Server
包装 TaskWarrior 命令行工具的 MCP 服务器。提供 22 个工具,用于任务管理、GTD 工作流和习惯追踪。
工具
基本任务操作
add_task- 创建任务。支持 GTD 字段(context、energy、scheduled、wait、depends)和重复任务(recur)modify_task- 更新任务属性mark_task_done- 按 UUID 完成任务delete_task- 按 UUID 删除任务list_tasks- 使用过滤器查询任务(status、project、tags、dates)get_task_details- 按 UUID 获取单个任务start_task- 启动任务计时器stop_task- 停止任务计时器add_annotation- 向任务添加备注remove_annotation- 从任务移除备注
依赖
add_dependency- 使任务 A 依赖任务 Bremove_dependency- 移除依赖链接
GTD 工作流
get_next_actions- 按 context、能量级别和可用时间筛选可执行任务process_inbox- 获取标记为 +inbox 的任务以进行处理get_waiting_for- 获取已委托/等待中的任务,按阻塞者/日期/项目分组get_blocked_tasks- 获取依赖未满足的任务get_project_status- 项目度量:下一步行动、完成百分比、陈旧度weekly_review- GTD 回顾数据:收件箱、已完成任务、停滞的项目、习惯get_someday_maybe- 获取标记为 +someday 的任务
批量操作
create_project_tree- 一次调用创建包含多个任务和依赖的项目batch_modify_tasks- 对多个任务应用相同的修改
习惯/重复任务
get_recurring_tasks- 获取重复任务及其完成统计、连续记录、频率
Related MCP server: TickTick MCP Server
环境要求
Node.js 18+ 用于运行时
Bun 1.3+ 用于开发工作流
已安装 TaskWarrior 且可作为
task使用
安装
bun install
bun run build运行
bun run start或者在你的 MCP 客户端设置中配置:
{
"mcpServers": {
"taskwarrior": {
"command": "node",
"args": ["/path/to/taskwarrior-mcp/dist/index.js"]
}
}
}Claude Desktop 捆绑包
此仓库现在包含适用于 Claude Desktop 的 MCPB 清单。
bun run mcpb:validate
bun run mcpb:pack这将生成 dist/taskwarrior-mcp.mcpb。
该捆绑包打包了 MCP 服务器,但不会打包 TaskWarrior 本身。用户仍需要在宿主机上安装 task。对于非默认配置,MCPB 清单提供了可选的 TASK_BIN 和 TASKRC 设置。
响应格式
所有工具都返回 MCP 标准格式:
{
"content": [
{
"type": "text",
"text": "{\"tasks\": [...], \"metadata\": {...}, \"insights\": {...}}"
}
]
}GTD 工具返回包含以下内容的增强响应:
tasks- 任务对象数组metadata- 计数(total、actionable、blocked、waiting、completed)insights- 摘要、建议、警告groups- 按项目/context/频率分组的任务relationships- 依赖链(如适用)
GTD 功能
任务字段
scheduled- 开始工作的日期wait- 隐藏到指定日期(延迟)until- 任务在指定日期后过期context- GTD context(@home、@work、@phone)energy- 所需能量级别(H/M/L)depends- 此任务依赖的任务 UUID 数组parent- 父任务 UUIDrecur- 重复模式(daily、weekly、monthly 等)tags- 字母、数字、_和-。写入标签时使用 Taskwarrior 的tags:属性,标签过滤器使用tags.has:,因为+tag简写不接受连字符,而是会静默改写描述。
重复任务
设置 recur 和 due 来创建习惯:
{
"description": "Take vitamins",
"recur": "daily",
"due": "today",
"context": "@morning"
}TaskWarrior 会创建一个模板任务(status:recurring),由它生成实例。使用 get_recurring_tasks 查看完成率和连续记录。
开发
bun run typecheck # Type check source
bun run lint # Lint source
bun run test # Run integration tests against disposable Taskwarrior data
bun run build # Build dist/
bun run check # Run typecheck, lint, tests, and buildThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to interact with the Taskwarrior command-line task management tool. It allows users to list, create, modify, and organize tasks using projects, tags, and annotations through natural language.132MIT
- FlicenseNot gradedqualityDmaintenanceRemote MCP server for managing TickTick tasks and projects, offering 22 tools for CRUD, search, and GTD workflows via any MCP client.1
- AlicenseAqualityAmaintenanceMCP server for Taskwarrior 3.x — 35 tools for task lifecycle, time tracking, schema validation, and role-based permissions.353Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that wraps the Taskwarrior CLI to allow AI assistants to create, query, modify, and manage tasks directly from agentic coding tools.19MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server for generating rough-draft project plans from natural-language prompts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/omniwaifu/taskwarrior-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server