Skip to main content
Glama
TaskWarrior MCP Server

TaskWarrior MCP Server

by awwaiid

TaskWarrior MCP 服务器

Node.js 服务器为TaskWarrior操作实现模型上下文协议 (MCP)。

特征

  • 查看待处理任务

  • 按项目和标签过滤任务

  • 添加带有描述、截止日期、优先级、项目和标签的新任务

  • 将任务标记为完成

注意:这将运行您的本地task二进制文件,因此需要安装和配置 TaskWarrior!

警告:当前使用的任务id标识符不稳定;taskwarrior 有时会在添加或删除新任务时重新编号。以后应更加谨慎,改用任务 UUID。

Related MCP server: TickTick MCP Server

API

工具

  • 获取下一个任务

    • 获取所有待处理任务的列表

    • 可选过滤器:

      • project :按项目名称过滤

      • tags :按一个或多个标签进行过滤

  • 添加任务

    • 向 TaskWarrior 添加新任务

    • 必需的:

      • description :任务描述文本

    • 选修的:

      • due :到期日(ISO 时间戳)

      • priority :优先级(“H”、“M”或“L”)

      • project :项目名称(小写带点)

      • tags :标签数组(小写)

  • 标记任务完成

    • 将任务标记为已完成

    • 必需的:

      • identifier :任务 ID 或 UUID

与 Claude Desktop 一起使用

将其添加到您的claude_desktop_config.json中:

{
  "mcpServers": {
    "taskwarrior": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-taskwarrior"
      ]
    }
  }
}

安装

npm install -g mcp-server-taskwarrior

确保您的系统上已安装并配置 TaskWarrior( task )。

使用思路示例:

  • 我目前的工作任务是什么?

    • 执行: task project:work next

  • TODO:给我姐姐打电话(高优先级)

    • 执行: task add priority:H Call my sister

  • 好的,我打电话给我姐姐了

    • 执行: task done 1

执照

此 MCP 服务器采用 MIT 许可证。详情请参阅许可证文件。

Available Tools

3 tools
add_taskD

Add a new task

Inputs: description (required), due, priority, project, +1 more.

get_next_tasksC

Get a list of all pending tasks

Inputs: project, tags.

mark_task_doneC

Mark a task as done (completed)

Inputs: identifier (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: add_task creates new tasks, get_next_tasks retrieves pending tasks, and mark_task_done updates task status to completed. There is no overlap or ambiguity between these three core operations.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (add_task, get_next_tasks, mark_task_done) with clear action verbs and descriptive nouns. The naming is predictable and readable throughout.

    Tool Count3/5

    With only 3 tools, the server feels thin for task management. While the tools cover basic operations, typical task management systems benefit from more functionality like updating tasks, deleting tasks, or filtering/searching. The count is borderline minimal for the domain.

    Completeness3/5

    The tools provide basic CRUD coverage for tasks (create, read, update via marking done), but there are notable gaps. Missing operations include updating task details (beyond marking done), deleting tasks, and filtering/searching tasks beyond 'next' tasks. This limits agent flexibility in handling complex task workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers