This MCP Task Manager serves as a structured task management system for AI assistants, helping them handle multi-step tasks with optional user approval checkpoints, progress tracking, and task visualization.
To use the MCP Task Manager in Claude Desktop, Cursor, or another MCP client, configure it as follows:
{
"tools": {
"taskqueue": {
"command": "npx",
"args": ["-y", "taskqueue-mcp"]
}
}
}
For CLI access, you can run:
npx taskqueue --help
Alternatively, install the package globally:
npm install -g taskqueue-mcp
The task manager supports multiple LLM providers for generating project plans. Configure one or more of these environment variables:
export OPENAI_API_KEY="your-api-key"
export GOOGLE_GENERATIVE_AI_API_KEY="your-api-key"
export DEEPSEEK_API_KEY="your-api-key"
Or include them in your MCP client configuration:
{
"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"
}
}
}
}
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 donelist_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 propertiesdelete_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 detailsTasks have three possible statuses:
not started
: Task has not been started yetin progress
: Task is currently being worked ondone
: Task has been completed (requires completedDetails
)Tasks follow specific transition rules:
not started
: Can only move to in progress
in progress
: Can move to either done
or back to not started
done
: Can move back to in progress
if additional work is neededcreate_project
: Start a project with initial tasksget_next_task
: Get the first pending taskmark_task_done
: Mark the task as complete with detailsget_next_task
: Get the next pending taskfinalize_project
: Complete the projectBy default, tasks and projects are auto-approved. For manual approval:
npx taskqueue approve-task -- <projectId> <taskId>
Options:
-f, --force
: Force approval even if the task is not marked as doneList all projects and tasks:
npx taskqueue list-tasks
View a specific project:
npx taskqueue list-tasks -- -p <projectId>
The task manager stores data in a JSON file at the following default locations:
~/.local/share/taskqueue-mcp/tasks.json
~/Library/Application Support/taskqueue-mcp/tasks.json
%APPDATA%\taskqueue-mcp\tasks.json
To use a custom file path (not recommended), set the TASK_MANAGER_FILE_PATH
environment variable:
{
"tools": {
"taskqueue": {
"command": "npx",
"args": ["-y", "taskqueue-mcp"],
"env": {
"TASK_MANAGER_FILE_PATH": "/path/to/tasks.json"
}
}
}
}
For CLI access to the same custom file:
export TASK_MANAGER_FILE_PATH="/path/to/tasks.json"
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "taskqueue" '{"command":"npx","args":["-y","taskqueue-mcp"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"taskqueue": {
"command": "npx",
"args": [
"-y",
"taskqueue-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"taskqueue": {
"command": "npx",
"args": [
"-y",
"taskqueue-mcp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect