Tasks

Tasks

flesler

Manages tasks across Markdown, JSON, and YAML files with search, creation, and status tracking capabilities. Designed to minimize AI tool confusion and LLM API costs through batch operations.

Provides task management capabilities across Markdown, JSON, and YAML files with tools for creating, searching, updating, and summarizing tasks while automatically managing work-in-progress status transitions.

391,278 views8Local (stdio)

What it does

  • Create tasks in multiple file formats
  • Search tasks by status, text, or ID
  • Update task statuses in bulk
  • Track work-in-progress automatically
  • Generate task summaries by status

Best for

AI assistants managing project tasksDevelopers tracking work across different file formatsTeams wanting efficient task management with minimal API calls
Only 5 tools to reduce AI confusionBatch operations to minimize LLM costsSupports Markdown, JSON, and YAML formats

About Tasks

Tasks is a community-built MCP server published by flesler that provides AI assistants with tools and capabilities via the Model Context Protocol. Tasks offers project tracking software and time management tools using the Eisenhower Matrix across Markdown, JSON, and It is categorized under productivity. This server exposes 5 tools that AI clients can invoke during conversations and coding sessions.

How to install

You can install Tasks in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Tasks is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tools (5)

tasks_setup

Initializes an source file from a path - Always call once per conversation when asked to use these tools - Ask the user to clarify the file path if not given, before calling this tool - Creates the file if it does not exist - Returns the source ID for further use - Use mcp-tasks tools when the user mentions new or updated tasks

tasks_search

Search tasks from specific statuses with optional text & ID filtering

tasks_add

Add new tasks with a specific status. It's faster and cheaper if you use this in batch. User can add atomically while AI works using the CLI add tool

tasks_update

Update tasks in bulk by ID to a different status. Returns complete summary no need to call tasks_summary afterwards. Prevents AI accidentally rename or deleting tasks during mass updates, not even possible

tasks_summary

Get per-status task counts and the WIP task(s). Redundant right after tasks_add/tasks_update

MCP Tasks ๐Ÿ“‹

Install MCP Server npm version Node.js License: MIT Docker

An efficient task manager. Designed to minimize tool confusion and maximize LLM budget efficiency while providing powerful search, filtering, and organization capabilities across multiple file formats (Markdown, JSON, YAML)

๐Ÿ“š Table of Contents

โœจ Features

  • โšก Ultra-efficient design: Minimal tool count (5 tools) to reduce AI confusion
  • ๐ŸŽฏ Budget-optimized: Batch operations, smart defaults and auto-operations minimize LLM API calls
  • ๐Ÿš€ Multi-format support: Markdown (.md), JSON (.json), and YAML (.yml) task files
  • ๐Ÿ” Powerful search: Case-insensitive text/status filtering with OR logic, and ID-based lookup
  • ๐Ÿ“Š Smart organization: Status-based filtering with customizable workflow states
  • ๐ŸŽฏ Position-based indexing: Easy task ordering with 0-based insertion
  • ๐Ÿ“ Multi-source support: Manage multiple task files simultaneously
  • ๐Ÿ”„ Real-time updates: Changes persist automatically to your chosen format
  • ๐Ÿค– Auto WIP management: Automatically manages work-in-progress task limits
  • ๐Ÿšซ Duplicate prevention: Automatically prevents duplicate tasks
  • ๐Ÿ›ก๏ธ Type-safe: Full TypeScript support with Zod validation
  • ๐Ÿ”’ Ultra-safe: AI has no way to rewrite or delete your tasks (unless you enable it), only add and move them
  • ๐Ÿ“… Optional reminders: Enable a dedicated Reminders section the AI constantly sees and can maintain

๐Ÿš€ Quick Start

Add this to ~/.cursor/mcp.json for Cursor, ~/.config/claude_desktop_config.json for Claude Desktop.

Option 1: NPX (Recommended)

{
  "mcpServers": {
    "mcp-tasks": {
      "command": "npx",
      "args": ["-y", "mcp-tasks"]
    }
  }
}

Option 2: Docker

{
  "mcpServers": {
    "mcp-tasks": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "flesler/mcp-tasks"
      ]
    }
  }
}

๐Ÿค– AI Integration Tips

To encourage the AI to use these tools, you can start with a prompt like the following, with any path you want with .md (recommended), .json, .yml:

Use mcp-tasks tools to track our work in path/to/tasks.md

If you are telling it about new or updated tasks, you can append this to the end of your prompt:

use mcp-tasks

Adding tasks while AI works: To safely add tasks without interfering with AI operations, use the CLI from a separate terminal:

npx mcp-tasks add "Your new task text" "To Do" 0

๐Ÿ”ง Installation Examples

Full configuration with custom environment:

{
  "mcpServers": {
    "mcp-tasks": {
      "command": "npx",
      "args": ["-y", "mcp-tasks"],
      "env": {
        "STATUS_WIP": "In Progress",
        "STATUS_TODO": "To Do",
        "STATUS_DONE": "Done",
        "STATUS_REMINDERS": "Reminders",
        "STATUS_NOTES": "Notes",
        "STATUSES": "In Progress,To Do,Done,Backlog,Reminders,Notes",
        "AUTO_WIP": "true",
        "PREFIX_TOOLS": "true",
        "KEEP_DELETED": "true",
        "TRANSPORT": "stdio",
        "PORT": "4680",
        "INSTRUCTIONS": "Use mcp-tasks tools when the user mentions new or updated tasks"
      }
    }
  }
}

HTTP transport for remote access:

First run the server:

TRANSPORT=http PORT=4680 npx mcp-tasks

Then:

{
  "mcpServers": {
    "mcp-tasks": {
      "type": "streamableHttp",
      "url": "http://localhost:4680/mcp"
    }
  }
}

๐Ÿ“ Supported File Formats

ExtensionFormatBest ForAuto-Created
.mdMarkdownHuman-readable task listsโœ…
.jsonJSONStructured data, APIsโœ…
.ymlYAMLConfiguration filesโœ…

Format is auto-detected from file extension. All formats support the same features and can be mixed in the same project.

Recommended: Markdown (.md) for human readability and editing

โš ๏ธ Warning: Start with a new file rather than using pre-existing task files to avoid losing non-task content.

๐Ÿ› ๏ธ Available Tools

When PREFIX_TOOLS=true (default), all tools are prefixed with tasks_:

ToolDescriptionParameters
tasks_setupInitialize a task file (creates if missing, supports .md, .json, .yml)source_path, workspace?
tasks_searchSearch tasks with filteringsource_id, statuses?, terms?, ids?
tasks_addAdd new tasks to a statussource_id, texts[], status, index?
tasks_updateUpdate tasks by IDsource_id, ids[], status, index?
tasks_summaryGet task counts and work-in-progresssource_id

ID Format: Both source_id (from file path) and task id (from task text) are 4-character alphanumeric strings (e.g., "xK8p", "m3Qw").

Tool Examples

Setup a task file:

tasks_setup({
  workspace: "/path/to/project",
  source_path: "tasks.md"  // relative to workspace or absolute
  // source_path: "tasks.json"
  // source_path: "tasks.yml"
})
// Returns: {"source":{"id":"xK8p","path":"/path/to/project/tasks.md"},"Backlog":0,"To Do":0,"In Progress":0,"Done":0,"inProgress":[]}
// Source ID (4-char alphanumeric) is used for all subsequent operations

Add tasks:

tasks_add({
  source_id: "xK8p", // From setup response
  texts: ["Implement authentication", "Write tests"],
  status: "To Do",
  index: 0  // Add at top (optional)
})
// Returns: {"source":{"id":"xK8p","path":"/absolute/path/to/tasks.md"},"Backlog":0,"To Do":2,"In Progress":0,"Done":0,"inProgress":[],"tasks":[{"id":"m3Qw","text":"Implement authentication","status":"To Do","index":0},{"id":"p9Lx","text":"Write tests","status":"To Do","index":1}]}

Search and filter:

tasks_search({
  source_id: "xK8p",        // From setup response
  terms: ["auth", "deploy"],          // Search terms (text or status, OR logic)
  statuses: ["To Do"],      // Filter by status
  ids: ["m3Qw", "p9Lx"]     // Filter by specific task IDs
})
// Returns: [{"id":"m3Qw","text":"Implement authentication","status":"To Do","index":0}]

Update tasks status:

tasks_update({
  source_id: "xK8p",        // From setup response
  ids: ["m3Qw", "p9Lx"],    // Task IDs from add/search responses
  status: "Done"            // Use "Deleted" to remove
})
// Returns: {"source":{"id":"xK8p","path":"/absolute/path/to/tasks.md"},"Backlog":0,"To Do":0,"In Progress":0,"Done":2,"inProgress":[],"tasks":[{"id":"m3Qw","text":"Implement authentication","status":"Done","index":0},{"id":"p9Lx","text":"Write tests","status":"Done","index":1}]}

Get overview:

tasks_summary({
  source_id: "xK8p"         // From setup response
})
// Returns: {"source":{"id":"xK8p","path":"/absolute/path/to/tasks.md"},"Backlog":0,"To Do":0,"In Progress":1,"Done":2,"inProgress":[{"id":"r7Km","text":"Fix critical bug","status":"In Progress","index":0}]}

๐ŸŽ›๏ธ Environment Variables

VariableDefaultDescription
TRANSPORTstdioTransport mode: stdio or http
PORT4680HTTP server port (when TRANSPORT=http)
PREFIX_TOOLStruePrefix tool names with tasks_
STATUS_WIPIn ProgressWork-in-progress status name
STATUS_TODOTo DoToDo status name
STATUS_DONEDoneCompleted status name
STATUS_REMINDERSRemindersReminders for the AI (empty string to disable)
STATUS_NOTESNotesNotes/non-actionable tasks (empty string to disable)
STATUSESBacklogComma-separated additional statuses
AUTO_WIPtrueOne WIP moves rest to To Do, first To Do to WIP when no WIP's
KEEP_DELETEDtrueRetain deleted tasks (AI can't lose you tasks!)
INSTRUCTIONS...Included in all tool responses, for the AI to follow
SOURCES_PATH./sources.jsonFile to store source registry (internal)
DEBUGfalseif true, enable the tasks_debug tool

Advanced Configuration Examples

Optional, the WIP/ToDo/Done statuses can be included to control their order.

Custom workflow statuses:

{
  "env": {
    "STATUSES": "WIP,Pending,Archived,Done,To Review",
    "STATUS_WIP": "WIP",
    "STATUS_TODO": "Pending",
    "AUTO_WIP": "false"
  }
}

๐Ÿ“Š File Formats

Markdown (.md) - Human-Readable

# Tasks - File Name

## In Progress
- [ ] Write user registration

## To Do
- [ ] Implement authentication
- [ ] Set up CI/CD pipeline

## Backlog
- [ ] Plan architecture
- [ ] Design database schema

## Done
- [x] Set up project structure
- [x] Initialize repository

## R

---

*README truncated. [View full README on GitHub](https://github.com/flesler/mcp-tasks).*

Alternatives

Related Skills

Browse all skills
personal-assistant

This skill should be used whenever users request personal assistance tasks such as schedule management, task tracking, reminder setting, habit monitoring, productivity advice, time management, or any query requiring personalized responses based on user preferences and context. On first use, collects comprehensive user information including schedule, working habits, preferences, goals, and routines. Maintains an intelligent database that automatically organizes and prioritizes information, keeping relevant data and discarding outdated context.

0
godot

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

398
pptx

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

65
sequential-thinking

Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope.

31
blender-toolkit

Automate Blender tasks like creating 3D shapes, managing materials, and retargeting Mixamo animations with real-time control.

29
docx

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

22