home / mcp / taskflow mcp mcp server
A task management Model Context Protocol (MCP) server that helps AI assistants break down user requests into manageable tasks with subtasks, dependencies, and notes. Enforces a structured workflow with user approval steps.
Configuration
View docs{
"mcpServers": {
"pinkpixel-dev-taskflow-mcp": {
"command": "npx",
"args": [
"-y",
"@pinkpixel/taskflow-mcp"
],
"env": {
"ARCHIVE_MODE": "manual",
"ARCHIVE_FILE_PATH": "/path/to/tasks-archive.yaml",
"TASK_MANAGER_BASE_DIR": "/path/to/project/root",
"TASK_MANAGER_FILE_PATH": "/path/to/tasks.yaml"
}
}
}
}TaskFlow MCP is a server that helps AI assistants plan complex requests by breaking them into tasks and subtasks, track progress, require user approvals, and persist data across sessions. It provides a clear workflow for planning, executing, validating, and archiving work, with flexible configuration to fit your project needs.
You will use TaskFlow MCP with an MCP client to plan user requests, generate task plans, execute tasks, and confirm outcomes with the user. Start by defining a request, let the server break it into tasks and subtasks, complete subtasks, mark tasks done after validation, and obtain user confirmation before moving on. Use the archive features to keep active task files clean while preserving history.
Common usage patterns include: planning a request with a structured set of tasks and notes, retrieving the next pending task, completing subtasks before marking a task as done, and exporting task status reports for reviews or handoffs. You can also manage prompts globally to steer how assistants describe and approach each task.
Prerequisites: you need Node.js and npm installed on your machine.
# Global installation
npm install -g @pinkpixel/taskflow-mcp
# Local installation (in your project directory)
npm install @pinkpixel/taskflow-mcpBy default, TaskFlow MCP saves tasks to a file named tasks.yaml in your current working directory. You can customize this path using environment variables when starting the server.
Important environment variables you may use include: TASK_MANAGER_FILE_PATH to specify the tasks file path, TASK_MANAGER_BASE_DIR to set a custom base directory for relative paths, ARCHIVE_FILE_PATH to specify an archive file, and ARCHIVE_MODE to control archiving behavior.
If you encounter path resolution issues, TaskFlow MCP handles Windows and Linux paths consistently by resolving and normalizing paths. Ensure parent directories exist for your task file path so the server can save data.
For better readability and manual editing, save data in YAML format by using a .yaml or .yml extension in TASK_MANAGER_FILE_PATH.
You can configure a global prompts system to provide instructions, a taskPrefix, and a taskSuffix that are automatically applied to task descriptions. This helps maintain consistent guidance for AI assistants across tasks.
Use the archive features to move completed requests out of the active file while preserving the full history. You can configure an archive file path and enable automatic archiving on completion if desired.
1) Plan a request into tasks and subtasks.
2) Retrieve the next pending task.
3) Complete subtasks before marking the task done.
4) Mark the task done and wait for user confirmation.
5) Repeat until all tasks are completed, then perform a final confirmation.
Export task plans and status reports in Markdown, JSON, or HTML formats for sharing with team members or stakeholders.
Register a new user request and plan its associated tasks with optional subtasks, dependencies, and notes.
Retrieve the next pending task for a request.
Mark a task as completed after all subtasks are finished.
Get details about a specific task.
List all requests in the system.
Add more tasks to an existing request.
Update a task's title or description.
Delete a task from a request.
Add subtasks to an existing task.
Mark a subtask as completed.
Update a subtask's title or description.
Delete a subtask from a task.
Export the current status of all tasks in a request to a file.
Add a note to a request.
Update an existing note.
Delete a note from a request.
Add a dependency to a request or task.
Get the current prompts configuration.
Set the global prompts configuration (replaces existing settings).
Update specific parts of the prompts configuration.
Remove the entire prompts configuration or specific fields.
Archive completed requests to keep the active file clean.
List archived requests with optional search and filtering.
Restore an archived request back to active tasks.