
Taskqueue
MCP server for "taming the Claude" with structured task queues.
chriscarrollsmith
Tools
list_projects
List all projects in the system and their basic information (ID, initial prompt, task counts), optionally filtered by state (open, pending_approval, completed, all).
read_project
Read all information for a given project, by its ID, including its tasks' statuses.
create_project
Create a new project with an initial prompt and a list of tasks. This is typically the first step in any workflow.
delete_project
Delete a project and all its associated tasks.
add_tasks_to_project
Add new tasks to an existing project.
finalize_project
Mark a project as complete. Can only be called when all tasks are both done and approved. This is typically the last step in a project workflow.
list_tasks
List all tasks, optionally filtered by project ID and/or state (open, pending_approval, completed, all). Tasks may include tool and rule recommendations to guide their completion.
read_task
Get details of a specific task by its ID. The task may include toolRecommendations and ruleRecommendations fields that should be used to guide task completion.
create_task
Create a new task within an existing project. You can optionally include tool and rule recommendations to guide task completion.
update_task
Modify a task's properties. Note: (1) completedDetails are required when setting status to 'done', (2) approved tasks cannot be modified, (3) status must follow valid transitions: not started → in progress → done. You can also update tool and rule recommendations to guide task completion.
delete_task
Remove a task from a project.
approve_task
Approve a completed task. Tasks must be marked as 'done' with completedDetails before approval. Note: This is a CLI-only operation that requires human intervention.
get_next_task
Get the next task to be done in a project. Returns the first non-approved task in sequence, regardless of status. The task may include toolRecommendations and ruleRecommendations fields that should be used to guide task completion.
README
MCP Task Manager
MCP Task Manager (npm package: taskqueue-mcp) is a Model Context Protocol (MCP) server for AI task management. This tool helps AI assistants handle multi-step tasks in a structured way, with optional user approval checkpoints.
Features
- Task planning with multiple steps
- Progress tracking
- User approval of completed tasks
- Project completion approval
- Task details visualization
- Task status state management
- Enhanced CLI for task inspection and management
Basic Setup
Usually you will set the tool configuration in Claude Desktop, Cursor, or another MCP client as follows:
{
"tools": {
"taskqueue": {
"command": "npx",
"args": ["-y", "taskqueue-mcp"]
}
}
}
To use the CLI utility, you can use the following command:
npx taskqueue --help
This will show the available commands and options.
Advanced Configuration
The task manager supports multiple LLM providers for generating project plans. You can configure one or more of the following environment variables depending on which providers you want to use:
OPENAI_API_KEY
: Required for using OpenAI models (e.g., GPT-4)GOOGLE_GENERATIVE_AI_API_KEY
: Required for using Google's Gemini modelsDEEPSEEK_API_KEY
: Required for using Deepseek models
To generate project plans using the CLI, set these environment variables in your shell:
export OPENAI_API_KEY="your-api-key"
export GOOGLE_GENERATIVE_AI_API_KEY="your-api-key"
export DEEPSEEK_API_KEY="your-api-key"
Or you can include them in your MCP client configuration to generate project plans with MCP tool calls:
{
"tools": {
"taskqueue": {
"command": "npx",
"args": ["-y", "taskqueue-mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key",
"GOOGLE_GENERATIVE_AI_API_KEY": "your-api-key",
"DEEPSEEK_API_KEY": "your-api-key"
}
}
}
}
Available MCP Tools
The TaskManager now uses a direct tools interface with specific, purpose-built tools for each operation:
Project Management Tools
list_projects
: Lists all projects in the systemread_project
: Gets details about a specific projectcreate_project
: Creates a new project with initial tasksdelete_project
: Removes a projectadd_tasks_to_project
: Adds new tasks to an existing projectfinalize_project
: Finalizes a project after all tasks are done
Task Management Tools
list_tasks
: Lists all tasks for a specific projectread_task
: Gets details of a specific taskcreate_task
: Creates a new task in a projectupdate_task
: Modifies a task's properties (title, description, status)delete_task
: Removes a task from a projectapprove_task
: Approves a completed taskget_next_task
: Gets the next pending task in a projectmark_task_done
: Marks a task as completed with details
Task Status and Workflows
Tasks have a status field that can be one of:
not started
: Task has not been started yetin progress
: Task is currently being worked ondone
: Task has been completed (requirescompletedDetails
)
Status Transition Rules
The system enforces the following rules for task status transitions:
- Tasks follow a specific workflow with defined valid transitions:
- From
not started
: Can only move toin progress
- From
in progress
: Can move to eitherdone
or back tonot started
- From
done
: Can move back toin progress
if additional work is needed
- From
- When a task is marked as "done", the
completedDetails
field must be provided to document what was completed - Approved tasks cannot be modified
- A project can only be approved when all tasks are both done and approved
These rules help maintain the integrity of task progress and ensure proper documentation of completed work.
Usage Workflow
A typical workflow for an LLM using this task manager would be:
create_project
: Start a project with initial tasksget_next_task
: Get the first pending task- Work on the task
mark_task_done
: Mark the task as complete with details- Wait for approval (user must call
approve_task
through the CLI) get_next_task
: Get the next pending task- Repeat steps 3-6 until all tasks are complete
finalize_project
: Complete the project (requires user approval)
CLI Commands
To use the CLI, you will need to install the package globally:
npm install -g taskqueue-mcp
Alternatively, you can run the CLI with npx
using the --package=taskqueue-mcp
flag to tell npx
what package it's from.
npx --package=taskqueue-mcp taskqueue --help
Task Approval
Task approval is controlled exclusively by the human user through the CLI:
npx taskqueue approve-task -- <projectId> <taskId>
Options:
-f, --force
: Force approval even if the task is not marked as done
Note: Tasks must be marked as "done" with completed details before they can be approved (unless using --force).
Listing Tasks and Projects
The CLI provides a command to list all projects and tasks:
npx taskqueue list-tasks
To view details of a specific project:
npx taskqueue list-tasks -- -p <projectId>
This command displays information about all projects in the system or a specific project, including:
- Project ID and initial prompt
- Completion status
- Task details (title, description, status, approval)
- Progress metrics (approved/completed/total tasks)
Data Schema and Storage
File Location
The task manager stores data in a JSON file that must be accessible to both the server and CLI.
The default platform-specific location is:
- Linux:
~/.local/share/taskqueue-mcp/tasks.json
- macOS:
~/Library/Application Support/taskqueue-mcp/tasks.json
- Windows:
%APPDATA%\taskqueue-mcp\tasks.json
Using a custom file path for storing task data is not recommended, because you have to remember to set the same path for both the MCP server and the CLI, or they won't be able to coordinate with each other. But if you do want to use a custom path, you can set the TASK_MANAGER_FILE_PATH
environment variable in your MCP client configuration:
{
"tools": {
"taskqueue": {
"command": "npx",
"args": ["-y", "taskqueue-mcp"],
"env": {
"TASK_MANAGER_FILE_PATH": "/path/to/tasks.json"
}
}
}
}
Then, before running the CLI, you should export the same path in your shell:
export TASK_MANAGER_FILE_PATH="/path/to/tasks.json"
Data Schema
The JSON file uses the following structure:
TaskManagerFile
├── projects: Project[]
├── projectId: string # Format: "proj-{number}"
├── initialPrompt: string # Original user request text
├── projectPlan: string # Additional project details
├── completed: boolean # Project completion status
└── tasks: Task[] # Array of tasks
├── id: string # Format: "task-{number}"
├── title: string # Short task title
├── description: string # Detailed task description
├── status: string # Task status: "not started", "in progress", or "done"
├── approved: boolean # Task approval status
├── completedDetails: string # Completion information (required when status is "done")
├── toolRecommendations: string # Suggested tools that might be helpful for this task
└── ruleRecommendations: string # Suggested rules/guidelines to follow for this task
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
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.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.