TaskWarrior MCP Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Allows interaction with TaskWarrior, providing tools for viewing pending tasks, filtering tasks by project and tags, adding new tasks with descriptions and metadata, and marking tasks as complete.

TaskWarrior MCP 服务器

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

特征

  • 查看待处理任务
  • 按项目和标签过滤任务
  • 添加带有描述、截止日期、优先级、项目和标签的新任务
  • 将任务标记为完成

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

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

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 许可证。详情请参阅许可证文件。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Node.js 服务器实现模型上下文协议,可以通过自然语言与 TaskWarrior 交互来查看、过滤、添加和完成任务。

  1. Features
    1. API
      1. Tools
    2. Usage with Claude Desktop
      1. Installation
        1. Example usage ideas:
          1. License
            ID: e8w3e1su1x