TaskFlow MCP
TaskFlow MCP🔄✅
用于与 AI 助手一起规划和执行任务的任务管理模型上下文协议 (MCP) 服务器。
🌟 概述
TaskFlow MCP 是一款专用服务器,可帮助 AI 助手将用户请求分解为可管理的任务并跟踪其完成情况。它强制执行结构化的工作流,并包含用户审批步骤,以确保任务得到正确跟踪,并保持用户对流程的控制。
Related MCP server: TaskFlow MCP
✨ 特点
📋任务规划:将复杂的请求分解为可管理的任务
🔍子任务:将任务划分为更小、更易于管理的子任务
📊进度跟踪:使用可视化进度表跟踪任务、子任务和请求的状态
👍用户批准:强制用户批准步骤以确保质量和控制
💾持久性:将任务和请求保存到磁盘,以便在会话之间持久化
🔄灵活管理:根据需要添加、更新或删除任务和子任务
📝详细报告:查看任务详细信息和进度表
📤导出选项:以 Markdown、JSON 或 HTML 格式导出任务计划和状态报告
📦依赖关系:使用版本信息跟踪项目和任务级依赖关系
📌注释:为重要信息和偏好添加项目级注释
🚀 安装
全局安装
npm install -g @pinkpixel/taskflow-mcp本地安装
npm install @pinkpixel/taskflow-mcp🛠️ 使用方法
启动服务器
如果全局安装:
taskflow-mcp如果本地安装:
npx taskflow-mcp配置
默认情况下,TaskFlow MCP 将任务保存到~/Documents/tasks.json 。您可以通过设置TASK_MANAGER_FILE_PATH环境变量来更改此设置:
TASK_MANAGER_FILE_PATH=/path/to/tasks.json taskflow-mcpMCP 配置
要将 TaskFlow MCP 与 AI 助手配合使用,您需要配置 MCP 客户端以使用服务器。创建一个包含以下内容的mcp_config.json文件:
{
"mcpServers": {
"taskflow": {
"command": "npx",
"args": ["-y", "@pinkpixel/taskflow-mcp"],
"env": {
"TASK_MANAGER_FILE_PATH": "/path/to/tasks.json"
}
}
}
}🔄 工作流程
TaskFlow MCP 强制执行特定的工作流程:
计划任务:将用户请求分解为任务(带有可选的子任务)
获取下一个任务:检索下一个待处理的任务
完成子任务:如果任务有子任务,则在将任务标记为完成之前完成每个子任务
标记任务完成:将任务标记为已完成(需要先完成所有子任务)
等待批准:等待用户批准已完成的任务
重复:继续下一个任务,直到所有任务完成
最终批准:获得用户对整个请求的批准
为了让 AI 助手始终遵循此工作流程,请参阅example-system-prompt.md文件,了解可以添加到助手指令中的系统提示。
🧰 可用工具
TaskFlow MCP 向 AI 助手公开了以下工具:
plan_task
注册新的用户请求并计划其相关任务(带有可选的子任务)。
{
"originalRequest": "Create a new website for my business",
"outputPath": "C:/Users/username/Documents/website-project-plan.md",
"dependencies": [
{
"name": "Node.js",
"version": ">=14.0.0",
"description": "JavaScript runtime"
},
{
"name": "npm",
"version": ">=6.0.0",
"description": "Package manager"
}
],
"notes": [
{
"title": "Package Manager Preference",
"content": "User prefers pnpm over npm for package management."
},
{
"title": "Design Guidelines",
"content": "Follow the company's brand guidelines for colors and typography."
}
],
"tasks": [
{
"title": "Design homepage",
"description": "Create a design for the homepage with logo, navigation, and hero section",
"dependencies": [
{
"name": "Figma",
"description": "Design tool"
}
],
"subtasks": [
{
"title": "Design logo",
"description": "Create a logo that represents the business brand"
},
{
"title": "Design navigation",
"description": "Create a user-friendly navigation menu"
}
]
},
{
"title": "Implement HTML/CSS",
"description": "Convert the design to HTML and CSS",
"dependencies": [
{
"name": "HTML5",
"description": "Markup language"
},
{
"name": "CSS3",
"description": "Styling language"
}
]
}
]
}get_next_task
检索请求的下一个待处理任务。
{
"requestId": "req-1"
}mark_task_done
将任务标记为已完成。
{
"requestId": "req-1",
"taskId": "task-1",
"completedDetails": "Created a modern design with a clean layout"
}approve_task_completion
批准已完成的任务。
{
"requestId": "req-1",
"taskId": "task-1"
}approve_request_completion
批准整个请求并认为其已完成。
{
"requestId": "req-1"
}open_task_details
获取有关特定任务的详细信息。
{
"taskId": "task-1"
}list_requests
列出系统中的所有请求。
{}add_tasks_to_request
向现有请求添加更多任务。
{
"requestId": "req-1",
"tasks": [
{
"title": "Add contact form",
"description": "Create a contact form with validation"
}
]
}update_task
更新任务的标题或描述。
{
"requestId": "req-1",
"taskId": "task-1",
"title": "Design responsive homepage",
"description": "Create a responsive design for the homepage"
}delete_task
从请求中删除任务。
{
"requestId": "req-1",
"taskId": "task-1"
}add_subtasks
将子任务添加到现有任务。
{
"requestId": "req-1",
"taskId": "task-1",
"subtasks": [
{
"title": "Design logo",
"description": "Create a logo that represents the business brand"
},
{
"title": "Design navigation",
"description": "Create a user-friendly navigation menu"
}
]
}mark_subtask_done
将子任务标记为已完成。
{
"requestId": "req-1",
"taskId": "task-1",
"subtaskId": "subtask-1"
}update_subtask
更新子任务的标题或描述。
{
"requestId": "req-1",
"taskId": "task-1",
"subtaskId": "subtask-1",
"title": "Design modern logo",
"description": "Create a modern logo that represents the business brand"
}delete_subtask
从任务中删除子任务。
{
"requestId": "req-1",
"taskId": "task-1",
"subtaskId": "subtask-1"
}export_task_status
将请求中所有任务的当前状态导出到文件。建议使用绝对路径,以便更可靠地创建文件。
{
"requestId": "req-1",
"outputPath": "C:/Users/username/Documents/task-status.md",
"format": "markdown"
}add_note
为请求添加注释。
{
"requestId": "req-1",
"title": "Package Manager Preference",
"content": "User prefers pnpm over npm for package management."
}update_note
更新现有注释。
{
"requestId": "req-1",
"noteId": "note-1",
"title": "Package Manager Preference",
"content": "User prefers pnpm over npm and yarn for package management."
}delete_note
从请求中删除注释。
{
"requestId": "req-1",
"noteId": "note-1"
}add_dependency
向请求或任务添加依赖项。
{
"requestId": "req-1",
"taskId": "task-1",
"dependency": {
"name": "react",
"version": "^18.2.0",
"description": "JavaScript library for building user interfaces",
"url": "https://reactjs.org"
}
}📚 文档
有关项目架构和实施的更多详细信息,请参阅OVERVIEW.md文件。
📝 许可证
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。
🤝 贡献
欢迎贡献!请参阅CONTRIBUTING.md文件以获取相关指南。
📜 更新日志
请参阅CHANGELOG.md文件了解该项目的变更历史记录。
🙏 致谢
使用模型上下文协议(MCP)构建
由Pink Pixel创建
由 Pink Pixel 用❤️制作
Available Tools
24 toolsadd_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: requestId (required), dependency (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: requestId (required), title (required), content (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), taskId (required), subtasks (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).
archive_completed_requestsB
Archive completed requests to a separate file to keep the active tasks file clean.
If 'requestIds' is provided, only those specific completed requests will be archived. If 'requestIds' is not provided, all completed requests will be archived.
This addresses the need to keep active tasks file uncluttered by moving completed work to archive storage.
Inputs: requestIds.
delete_noteC
Delete a note from a request.
Provide the 'requestId' and 'noteId' of the note to delete.
Inputs: requestId (required), noteId (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), taskId (required), subtaskId (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 saves the current state of tasks, subtasks, dependencies, and notes to a file for reference.
You can specify:
'format': 'markdown', 'json', or 'html'
'outputPath': Full path to save the file, or just a directory path
'filename': Optional custom filename (auto-generated if not provided)
Path handling:
If outputPath is a directory, filename will be auto-generated as '{project-name}_tasks.{ext}'
If outputPath includes filename, it will be used as-is
Relative paths are resolved from current working directory
If no path specified, saves to current working directory
Inputs: requestId (required), outputPath, filename, 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 the user has given approval for the completed task.
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 'add_tasks_to_request' or 'plan_task'.
Inputs: requestId (required).
get_promptsA
Get the current prompts configuration including instructions, taskPrefix, and taskSuffix settings.
This tool helps you view the current global prompts settings that are applied to all tasks.
Inputs: no named parameters.
list_archived_requestsC
List archived requests with optional search and filtering capabilities.
Provides an overview of all archived requests with their metadata and completion information.
Inputs: searchTerm, limit.
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), taskId (required), subtaskId (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 the completed task. Ask the user for approval before continuing.
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:
Use 'plan_task' to register a request and its tasks (with optional subtasks, dependencies, and notes).
After adding tasks, you MUST use 'get_next_task' to retrieve the first task. A progress table will be displayed.
Use 'get_next_task' to retrieve the next uncompleted task.
If the task has subtasks, complete each subtask using 'mark_subtask_done' before marking the task as done.
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. Ask the user for approval before proceeding.
Once the user approves the completed task, you can proceed to 'get_next_task' again to fetch the next pending task.
Repeat this cycle until all tasks are done.
After all tasks are completed, 'get_next_task' will indicate that all tasks are done. At this point, ask the user for confirmation that the entire request has been completed satisfactorily.
If the user wants more tasks, you can use 'add_tasks_to_request' or '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. Do not proceed automatically, UNLESS the user has explicitly told you to continue with all tasks and that you do not need approval.
Inputs: originalRequest (required), tasks (required), splitDetails, outputPath, +2 more.
remove_promptsB
Remove the entire prompts configuration or specific fields from it.
If 'fields' is provided, only those specific fields will be removed. If 'fields' is not provided, the entire prompts configuration will be removed.
Inputs: fields.
restore_archived_requestB
Restore a specific archived request back to the active tasks file.
This moves the request from the archive back to active status, allowing you to continue working on it.
Inputs: requestId (required).
set_promptsA
Set the global prompts configuration with instructions, taskPrefix, and/or taskSuffix.
This replaces any existing prompts settings with the new values provided.
'instructions': General instructions or context shown at the top of each task
'taskPrefix': Text to prepend before each task description
'taskSuffix': Text to append after each task description
Inputs: instructions, taskPrefix, taskSuffix.
update_noteC
Update an existing note's title or content.
Provide the 'requestId' and 'noteId', and optionally 'title' and/or 'content' to update.
Inputs: requestId (required), noteId (required), title, content.
update_promptsA
Update specific parts of the prompts configuration without replacing the entire object.
Use this to modify individual fields (instructions, taskPrefix, or taskSuffix) while keeping other settings unchanged.
Inputs: instructions, taskPrefix, taskSuffix.
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), taskId (required), subtaskId (required), title, +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), title, description.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 24 tools
Most tools have distinct purposes targeting specific resources like tasks, subtasks, notes, prompts, or requests, with clear boundaries. However, there is some overlap between 'plan_task' and 'add_tasks_to_request' as both add tasks to requests, which could cause confusion, though descriptions help differentiate them.
Tool names follow a consistent verb_noun pattern throughout, such as 'add_dependency', 'mark_task_done', and 'list_requests'. All tools use snake_case with clear action-object pairs, making the set predictable and easy to understand.
With 24 tools, the count is borderline high for a task management server, as it may feel heavy and complex. While it covers many operations, it could potentially be streamlined without losing essential functionality, making it slightly overwhelming for the domain.
The tool set provides comprehensive CRUD and lifecycle coverage for tasks, subtasks, notes, dependencies, prompts, and requests, including planning, execution, tracking, archiving, and exporting. No obvious gaps exist; agents can manage the entire workflow from start to finish without dead ends.
Related MCP Connectors
Task management for teams building with AI agents. Agents claim tasks and report progress.
Zoom Tasks server for creating, updating, assigning, and synchronizing task workflows.
Task manager for AI agents. Orchestrate agents to achieve large goals in unified control plane.
Shared task layer for AI agents: tasks, handoffs and decisions that persist across tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides persistent task management capabilities for AI assistants, allowing them to create, update, and track tasks beyond their usual context limitations.5-
- -licenseAqualityNot gradedmaintenanceA task management Model Context Protocol server that helps break down user requests into manageable tasks with subtasks, dependencies, and notes, while enforcing a structured workflow with user approval steps.1764 npm10-
- AlicenseBqualityDmaintenanceA task management system for LLM-based agents that stores all tasks in a single tree, available immediately after the server starts.74Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for task management that enables AI agents to read, create, update tasks, and track work sessions, allowing agents and humans to collaborate on the same task board.14MIT