SuperAPIAI Directory

mcp-tasks

github.com · AI developer platforms

mcp-tasks is a task management MCP server for AI assistants that supports three task file formats: Markdown, JSON, and YAML. Its streamlined design of only 5 tools reduces AI tool-selection confusion, and it reduces LLM API calls through batch operations, smart defaults, and automatic operations. It provides case-insensitive text/status search, ID-based lookup, filtering by status, position-based task ordering, simultaneous management of multiple task files, real-time persistence, automatic WIP management, duplicate task prevention, TypeScript and Zod type validation, and a safety mechanism that by default prohibits AI from rewriting or deleting tasks. It can be installed via NPX or Docker and can also be used as a command-line tool, suitable for MCP-compatible clients such as Cursor and Claude Desktop.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

mcp-tasks is an MCP server for task management that emphasizes efficiency and safety, supporting three task file formats: Markdown (.md), JSON (.json), and YAML (.yml). Its design goal is to reduce AI confusion among multiple tools and to minimize LLM token and API call overhead.

Key capabilities

  • Streamlined toolset: only 5 tools are provided, reducing AI confusion in choosing tools.
  • Budget optimization: reduces LLM API calls through batch operations, smart defaults, and automatic operations.
  • Multi-format support: Markdown, JSON, and YAML task files can be mixed within the same project, with the format automatically detected from the file extension.
  • Search and filtering: supports case-insensitive text/status filtering (OR logic) and ID-based lookup.
  • Organization capabilities: filter by status, with support for custom workflow statuses; 0-based position indexes make task ordering easy.
  • Multi-source management: multiple task files can be managed simultaneously.
  • Real-time updates: changes are automatically persisted to the selected format.
  • Automatic WIP management: automatically manages the limit on the number of tasks in progress.
  • Duplicate prevention: automatically blocks duplicate tasks.
  • Type safety: full TypeScript support and Zod validation.
  • Safety mechanism: by default, AI cannot rewrite or delete tasks and can only add and move tasks, unless the corresponding permissions are explicitly enabled.
  • Optional reminders: a dedicated Reminders area can be enabled for AI to continuously view and maintain.

Usage

  • Installation: NPX is recommended, and Docker is also supported. Cursor can be configured in ~/.cursor/mcp.json, and Claude Desktop can be configured in ~/.config/claude_desktop_config.json.
  • Prompt guidance: you can first use a prompt to have the AI use these tools and specify a .md (recommended), .json, or .yml path.
  • Parallel task addition: while the AI is working, you can safely add tasks from another terminal using the CLI without interfering with AI operations.
  • Remote access: HTTP transport is supported.
  • Command-line usage: mcp-tasks or npx mcp-tasks can be used as a command-line tool, outputting JSON for easy script parsing, suitable for automation scripts and CI/CD pipelines.
  • Before toolsPrefix: When PREFIX_TOOLS=true (default), all tools have the tasks_ prefix.
  • ID format: source_id (from the file path) and task id (from the task text) are both 4-character alphanumeric strings, e.g. "xK8p", "m3Qw".

Use cases Suitable for scenarios where an AI assistant needs to maintain a task list during development or project work, track progress by status, and organize work across multiple task files, especially for MCP client users who want to restrict the AI's write permissions on task files, avoid accidental deletion or modification, and reduce token consumption.

Limitations and notes

  • Requires Node.js ≥20.
  • Tools rewrite the entire file, keeping only tasks under recognized status sections; non-task content (notes, documents) may be lost when tools modify the file, so it is recommended to use dedicated task files and start from a new file rather than an existing task file.
  • If ERR_MODULE_NOT_FOUND occurs when running npx mcp-tasks, run npx clear-npx-cache first and retry.
  • The task storage location is determined by the file path specified by the AI in tasks_setup; source.path in each tool call response returns the absolute path.
  • The project is licensed under MIT.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools