返回 MCP 目录
public公开dns本地运行

自然语言任务助手

TaskWarrior MCP 服务器是一个基于 Node.js 的实现,用于通过 Model Context Protocol (MCP) 管理 TaskWarrior 任务。它提供了一系列功能,包括查看待处理任务、按项目和标签筛选任务、添加新任务(支持描述、截止日期、优先级、项目和标签)以及标记任务为已完成。该服务器通过本地 `task` 命令行工具运行,因此需要预先安装和配置 TaskWarrior。它支持与 Claude Desktop 集成,并提供了简单的 API 来获取任务、添加任务和完成任务。安装方便,只需通过 npm 安装即可,适合需要高效管理任务的用户。

article

README

TaskWarrior MCP Server

Node.js server implementing Model Context Protocol (MCP) for TaskWarrior operations.

TaskWarrior Server MCP server

Features

  • View pending tasks
  • Filter tasks by project and tags
  • Add new tasks with descriptions, due dates, priorities, projects and tags
  • Mark tasks as complete

Note: This runs your local task binary, so TaskWarrior needs to be installed and configured!

[!WARNING] This currently uses task id which is an unstable identifier; taskwarrior sometimes renumbers tasks when new ones are added or removed. In the future this should be more careful, using task UUID instead.

API

Tools

  • get_next_tasks

    • Get a list of all pending tasks
    • Optional filters:
      • project: Filter by project name
      • tags: Filter by one or more tags
  • add_task

    • Add a new task to TaskWarrior
    • Required:
      • description: Task description text
    • Optional:
      • due: Due date (ISO timestamp)
      • priority: Priority level ("H", "M", or "L")
      • project: Project name (lowercase with dots)
      • tags: Array of tags (lowercase)
  • mark_task_done

    • Mark a task as completed
    • Required:
      • identifier: Task ID or UUID

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

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

Installation

npm install -g mcp-server-taskwarrior

Make sure you have TaskWarrior (task) installed and configured on your system.

Example usage ideas:

  • What are my current work tasks?
    • Executes: task project:work next
  • TODO: Call my sister (high priority)
    • Executes: task add priority:H Call my sister
  • OK, I've called my sister
    • Executes: task done 1

License

This MCP server is licensed under the MIT License. See the LICENSE file for details.

即贴即用配置

MCP 客户端配置生成器

选择客户端,补齐所需环境变量,再复制根据当前 MCP 公开配置生成的完整文件

terminal
data_object

当前条目没有标准 command 或远程 URL,暂时无法安全生成客户端配置

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端