AT

acebaggins/taskwarrior-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

23 stars 6 forks 品質 62 トレンド 0MIT

タスクウォーリア mcp!

概要

- タスク作成、修正、削除 - タスクのクエリとフィルタリング - タスクの依存性管理 - タスクの注釈とメモ - タスクの再発処理 - リアルタイムタスクの更新 - オートコンプリートによるスマートプロンプト Claude Desktop が MCP をロードする方法は、新しいプロセスをスポーンすることで、シェルはエンブ情報は一切ありません。 mise のように何かを使うと、何も機能せず、エラーメッセージがうまくいかない。 一部の人々は、作品のパスでハードコーディングを示唆していますが、私は仮定しますが、私はここから修正を取り、オープンでClaudeを起動 - クロード(あなたがそれを後悔しないターミナルプロファイルからうまくいけば)。 config (claude desktop config.json) に追加します。 MCPインスペクタを使用してサーバーをテストするには: - Task.create: 説明、プロジェクト、タグ、優先順位、日付で新しいタスクを作成します。 - タスク。 update: 既存のタスクのプロパティ - タスクを更新します。 削除: ID でタスクを削除 - タスク.get: 特定のタスクに関する詳細情報を入手 - タスク.

概要(AI 翻訳)

タスクウォーリアのMCP

##特徴

  • タスク作成、修正、削除
  • タスクの照会およびろ過
  • タスク依存性管理
  • タスクの注釈とメモ
  • タスク再発処理
  • リアルタイムタスクの更新
  • 自動補完によるスマートなプロンプト

インストール

使用法

##npx で ###

設定

###Claudeデスクトップ用のノート

Claude Desktop が MCP をロードする方法は、新しいプロセスをスポーンすることで、シェルはエンブ情報は一切ありません。 [miseのように何かを使うと、何も機能せず、エラーメッセージは素晴らしいわけではありません。

一部の人々は、作品のパスでハードコーディングを示唆していますが、ここから修正を取り、[open -a Claude]でClaudeを起動しました。(あなたがそれを後悔しないターミナルプロファイルからうまくいけば)。

設定に追加する([claude_desktop_config.json])):

テスト

MCPインスペクタを使用してサーバーをテストするには:

API の

タスク操作

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Taskwarrior MCP

An MCP for Taskwarrior.

Features

  • Task creation, modification, and deletion
  • Task querying and filtering
  • Task dependency management
  • Task annotations and notes
  • Task recurrence handling
  • Real-time task updates
  • Smart prompts with autocompletion

Installation

npm install @tfr/taskwarrior-mcp

Usage

With npx

npx taskwarrior-mcp

Config

Notes for Claude Desktop

The way Claude Desktop loads an MCP is by spawning a new process, not a shell process, so it doesn’t have any of your env info. If you use something like mise then nothing works and the error messages aren’t great.

Some people suggest hardcoding in the paths, which works, I suppose, but I took the fix from here and launch Claude with open -a Claude (hopefully from a terminal profile where you won’t regret it).

Add this to your config (claude_desktop_config.json):

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

Testing

To test the server using the MCP Inspector:

npx @modelcontextprotocol/inspector node dist/index.js

API

Task Operations

  • task.create: Create a new task with description, project, tags, priority, and dates
  • task.update: Update an existing task’s properties
  • task.delete: Delete a task by ID
  • task.get: Get detailed information about a specific task
  • task.list: List tasks with optional filtering

Task Management

  • task.start: Start working on a task (starts timer and optionally adds a note)
  • task.stop: Stop working on a task (stops timer and optionally adds a note)
  • task.complete: Mark a task as complete (optionally with a completion note)
  • task.annotate: Add a note or annotation to a task (annotations are timestamped)

Query Operations

  • task.query: Execute custom Taskwarrior filter queries
  • task.filter: Filter tasks by specific criteria
  • task.search: Search tasks by text content

Resources

The Taskwarrior MCP exposes the following resources that can be subscribed to for real-time updates:

Task List Resource

  • URI: task:///list
  • Description: Lists all active (pending) tasks
  • MIME Type: application/json
  • Content: Array of task objects with basic task information
  • Subscription: Yes - Updates when tasks are created, modified, or deleted
  • Example Response:
{
  "contents": [{
    "uri": "task:///list",
    "mimeType": "application/json",
    "text": "[{\"id\": 1, \"description\": \"Implement MCP server\", \"project\": \"development\", \"tags\": [\"backend\", \"mcp\"], \"priority\": \"H\"}]"
  }]
}

Task Detail Resource

  • URI Template: task:///task/{id}
  • Description: Detailed information about a specific task
  • MIME Type: application/json
GitHub で README 全文を見る

インストール

npx -y taskwarrior-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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