Skip to main content
Glama

TaskFlow MCP 🌟

GitHub 发布

欢迎使用TaskFlow MCP ,这是一款基于模型上下文协议 (MCP) 的任务管理服务器,旨在增强 AI 助手的功能。该项目有助于将用户请求分解为可管理的任务,并包含子任务、依赖项和注释。它通过用户审批步骤强制执行结构化的工作流程,使任务管理更简单、更高效。

目录

Related MCP server: Todo List MCP Server

特征

  • 任务管理:将复杂的请求分解为简单的任务。

  • 子任务:将任务组织成更小、更易于管理的部分。

  • 依赖关系:定义任务依赖关系以维护工作流的完整性。

  • 注释:将注释附加到任务以获取更多背景信息。

  • 用户批准:确保任务在继续之前获得用户确认。

  • 轻松集成:设计用于与 AI 助手无缝协作。

入门

要开始使用 TaskFlow MCP,请按照以下说明操作。您可以在此处下载最新版本。

先决条件

确保已安装以下软件:

  • Node.js(版本 14 或更高版本)

  • npm(Node 包管理器)

安装

  1. 克隆存储库:

    git clone https://github.com/Aekkaratjerasuk/taskflow-mcp.git
  2. 导航到项目目录:

    cd taskflow-mcp
  3. 安装所需的依赖项:

    npm install
  4. 启动服务器:

    npm start

现在,您的 TaskFlow MCP 服务器正在运行并准备管理任务。

用法

服务器运行后,您可以通过AI助手与其进行交互。以下是如何使用这些功能:

创建任务

要创建新任务,请向服务器发送包含任务详细信息的请求。服务器将返回一个唯一的任务 ID。

添加子任务

您可以通过指定父任务 ID 为任何现有任务添加子任务。这有助于更好地组织任务。

管理依赖关系

定义任务之间的依赖关系,以确保它们按正确的顺序执行。服务器将为您处理逻辑。

添加注释

为任何任务添加注释,以提供更多背景信息。这对于提供背景信息或说明非常有用。

用户批准

在任务执行之前,服务器会提示用户批准。这确保用户始终处于控制之中。

贡献

欢迎为 TaskFlow MCP 做出贡献!如果您有任何改进或功能方面的想法,请按照以下步骤操作:

  1. 分叉存储库。

  2. 为您的功能或修复创建一个新的分支。

  3. 做出更改。

  4. 提交拉取请求。

请确保您的代码遵循我们的编码标准并在适用的情况下包含测试。

执照

本项目遵循 MIT 许可证。详情请参阅LICENSE文件。

链接

如需了解更多信息和更新,请访问“发布”部分。在这里,您可以找到 TaskFlow MCP 的最新版本和更新。


欢迎自由探索、贡献,并充分利用 TaskFlow MCP。感谢您的关注和支持!

Available Tools

17 tools
add_dependencyA

Add a dependency to a request or task.

Dependencies can be libraries, tools, or other requirements needed for the project or specific tasks.

If 'taskId' is provided, the dependency will be added to that specific task. Otherwise, it will be added to the request.

Inputs: dependency (required), requestId (required), taskId.

add_noteC

Add a note to a request. Notes can contain important information about the project, such as user preferences or guidelines.

Notes are displayed in the task progress table and can be referenced when working on tasks.

Inputs: content (required), requestId (required), title (required).

add_subtasksB

Add subtasks to an existing task. Provide 'requestId', 'taskId', and 'subtasks' array.

Subtasks are smaller units of work that make up a task. All subtasks must be completed before a task can be marked as done.

A progress table will be displayed showing the updated task with its subtasks.

Inputs: requestId (required), subtasks (required), taskId (required).

add_tasks_to_requestC

Add new tasks to an existing request. This allows extending a request with additional tasks.

Tasks can include subtasks and dependencies. A progress table will be displayed showing all tasks including the newly added ones.

Inputs: requestId (required), tasks (required).

delete_noteC

Delete a note from a request.

Provide the 'requestId' and 'noteId' of the note to delete.

Inputs: noteId (required), requestId (required).

delete_subtaskA

Delete a subtask from a task. Provide 'requestId', 'taskId', and 'subtaskId'.

Only uncompleted subtasks can be deleted.

A progress table will be displayed showing the updated task with its remaining subtasks.

Inputs: requestId (required), subtaskId (required), taskId (required).

delete_taskB

Delete a specific task from a request. Only uncompleted tasks can be deleted.

A progress table will be displayed showing the remaining tasks after deletion.

Inputs: requestId (required), taskId (required).

export_task_statusA

Export the current status of all tasks in a request to a file.

This tool allows you to save the current state of tasks, subtasks, dependencies, and notes to a file for reference.

You can specify the output format as 'markdown', 'json', or 'html'.

It's recommended to use absolute paths (e.g., 'C:/Users/username/Documents/task-status.md') rather than relative paths for more reliable file creation.

Inputs: outputPath (required), requestId (required), format.

get_next_taskA

Given a 'requestId', return the next pending task (not done yet). If all tasks are completed, it will indicate that no more tasks are left and that you must ask the user what to do next.

A progress table showing the current status of all tasks will be displayed with each response.

If the same task is returned again or if no new task is provided after a task was marked as done, you MUST NOT proceed. In such a scenario, you must prompt the user for approval before calling 'get_next_task' again. Do not skip the user's approval step. In other words:

  • After calling 'mark_task_done', do not call 'get_next_task' again until 'approve_task_completion' is called by the user.

  • If 'get_next_task' returns 'all_tasks_done', it means all tasks have been completed. At this point, confirm with the user that all tasks have been completed, and optionally add more tasks via 'plan_task'.

Inputs: requestId (required).

list_requestsB

List all requests with their basic information and summary of tasks. This provides a quick overview of all requests in the system.

Inputs: no named parameters.

mark_subtask_doneC

Mark a subtask as done. Provide 'requestId', 'taskId', and 'subtaskId'.

A progress table will be displayed showing the updated status of all tasks and subtasks.

All subtasks must be completed before a task can be marked as done.

Inputs: requestId (required), subtaskId (required), taskId (required).

mark_task_doneA

Mark a given task as done after you've completed it. Provide 'requestId' and 'taskId', and optionally 'completedDetails'.

After marking a task as done, a progress table will be displayed showing the updated status of all tasks.

After this, DO NOT proceed to 'get_next_task' again until the user has explicitly approved this completed task using 'approve_task_completion'.

Inputs: requestId (required), taskId (required), completedDetails.

open_task_detailsB

Get details of a specific task by 'taskId'. This is for inspecting task information at any point.

Inputs: taskId (required).

plan_taskA

Register a new user request and plan its associated tasks. You must provide 'originalRequest' and 'tasks', and optionally 'splitDetails'.

Tasks can now include subtasks, which are smaller units of work that make up a task. All subtasks must be completed before a task can be marked as done.

You can also include:

  • 'dependencies': List of project or task-specific dependencies (libraries, tools, etc.)

  • 'notes': General notes about the project (preferences, guidelines, etc.)

  • 'outputPath': Path to save a Markdown file with the task plan for reference. It's recommended to use absolute paths (e.g., 'C:/Users/username/Documents/task-plan.md') rather than relative paths for more reliable file creation.

This tool initiates a new workflow for handling a user's request. The workflow is as follows:

  1. Use 'plan_task' to register a request and its tasks (with optional subtasks, dependencies, and notes).

  2. After adding tasks, you MUST use 'get_next_task' to retrieve the first task. A progress table will be displayed.

  3. Use 'get_next_task' to retrieve the next uncompleted task.

  4. If the task has subtasks, complete each subtask using 'mark_subtask_done' before marking the task as done.

  5. IMPORTANT: After marking a task as done, a progress table will be displayed showing the updated status of all tasks. The assistant MUST NOT proceed to another task without the user's approval. The user must explicitly approve the completed task.

  6. Once a task is approved, you can proceed to 'get_next_task' again to fetch the next pending task.

  7. Repeat this cycle until all tasks are done.

  8. After all tasks are completed (and approved), 'get_next_task' will indicate that all tasks are done and that the request awaits approval for full completion.

  9. The user must then approve the entire request's completion. If the user does not approve and wants more tasks, you can again use 'plan_task' to add new tasks and continue the cycle.

The critical point is to always wait for user approval after completing each task and after all tasks are done, wait for request completion approval. Do not proceed automatically.

Inputs: originalRequest (required), tasks (required), dependencies, notes, +2 more.

update_noteC

Update an existing note's title or content.

Provide the 'requestId' and 'noteId', and optionally 'title' and/or 'content' to update.

Inputs: noteId (required), requestId (required), content, title.

update_subtaskB

Update a subtask's title or description. Provide 'requestId', 'taskId', 'subtaskId', and optionally 'title' and/or 'description'.

Only uncompleted subtasks can be updated.

A progress table will be displayed showing the updated task with its subtasks.

Inputs: requestId (required), subtaskId (required), taskId (required), description, +1 more.

update_taskB

Update an existing task's title and/or description. Only uncompleted tasks can be updated.

A progress table will be displayed showing the updated task information.

Inputs: requestId (required), taskId (required), description, title.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific entities (tasks, subtasks, notes, dependencies) and actions (add, delete, update, mark, get, list, plan, export). However, 'add_dependency' and 'add_note' could be slightly confused as both add metadata to requests/tasks, but their descriptions clarify the difference. Overall, the set is well-differentiated with minimal overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., add_dependency, mark_task_done, get_next_task). The verbs are clear and appropriate (add, delete, update, mark, get, list, plan, export), and nouns consistently refer to entities like task, subtask, note, dependency, or request. No deviations or mixed conventions are present.

    Tool Count4/5

    With 17 tools, the count is on the higher side but reasonable for a task management server covering requests, tasks, subtasks, notes, and dependencies with full CRUD operations. It feels slightly heavy but not excessive, as each tool serves a specific function in the workflow without obvious redundancy.

    Completeness5/5

    The tool set provides comprehensive coverage for task management workflows. It includes planning (plan_task), progress tracking (get_next_task, mark_task_done, mark_subtask_done), full CRUD for tasks, subtasks, notes, and dependencies, listing (list_requests), inspection (open_task_details), and export (export_task_status). There are no apparent gaps; agents can handle the entire lifecycle from creation to completion.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
      10
      689 npm
      216
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that allows Claude Desktop to manage and execute tasks in a queue-based system, supporting planning, execution, and completion phases.
      10
      9
      MIT