Skip to main content
Glama
Task Master MCP

Task Master MCP

by GofMan5

📋 Task Master MCP v2.2.1

MCP Server for intelligent task and spec management. State machine, dependency graphs, AI coaching, and spec generation with auto-export.

📝 Base Prompt: pastebin.com/EJcJ3fJF

Features

  • Specs — Requirements → Design → Tasks workflow

  • Auto-Export — Files created in .gofman3/specs/ automatically

  • Auto-Sync — tasks.md updates on task/subtask completion

  • Subtasks — Break tasks into steps (1.1, 1.2, 1.3) with completion tracking

  • State Machine — Strict task lifecycle with validation

  • Dependency Graph — Tasks block until deps complete

  • AI Coaching — WIP limits, stale warnings, impact analysis

  • Checkpoints — 🚩 validation points in task flow

  • Optional Tasks — ⚡ MVP hint when optional tasks exist

Related MCP server: Foundry MCP

Quick Start

npx @gofman3/task-master-mcp

MCP Config

{
  "mcpServers": {
    "task-master": {
      "command": "npx",
      "args": ["@gofman3/task-master-mcp"]
    }
  }
}

Tools

task_spec

Spec management — better than Kiro Specs.

Actions: create, get, list, update, delete, generate_tasks, progress, export

⚠️ CRITICAL: generate_tasks REQUIRES workspacePath!

// Create spec with subtasks
task_spec({
  action: 'create',
  name: 'Auth Module',
  requirements: [
    { id: 'REQ-1', userStory: 'As a user, I want to login', criteria: ['Email validation'] }
  ],
  taskTemplates: [
    { content: 'Design API', priority: 1, subtasks: ['Define endpoints', 'Create schemas'] },
    { content: 'Implement login', dependsOn: ['t1'], priority: 2 },
    { content: 'Write tests', dependsOn: ['t2'], optional: true }
  ]
})

// Generate tasks + auto-export to .gofman3/specs/
task_spec({ 
  action: 'generate_tasks', 
  specId: 'spec-xxx',
  workspacePath: 'F:/Projects/my-app'  // REQUIRED! Files created automatically
})

Export creates in .gofman3/specs/{spec-name}/:

  • requirements.md — User stories + acceptance criteria

  • design.md — Architecture + components + diagrams

  • tasks.md — Progress bar + grouped tasks + subtasks (auto-synced!)

  • context.md — #[[file:]] references for auto-load

task_manage

Task CRUD and state transitions.

Actions: add, update, delete, start, complete, complete_subtask, do, block, reopen, abandon

// Complete a subtask (0-based index)
task_manage({ action: 'complete_subtask', taskId: 'xxx', subtaskIndex: 0 })

// When all subtasks done → task auto-completes!

State Machine:

todo → doing, abandoned
doing → todo, blocked, done, abandoned
blocked → todo, doing, abandoned
done → todo (reopen)

task_board

Visual task board.

Views: kanban, list, priority, mermaid

task_bulk

Atomic batch creation with tempId references.

task_recommend

AI-powered next task suggestion.

Auto-Sync

When you complete a task or subtask, tasks.md is automatically updated if workspacePath was provided during generate_tasks.

# Tasks: Auth Module

## Progress: 1/3 (33%)

### ✅ Completed

- [x] 1. Design API
  - [x] 1.1 Define endpoints
  - [x] 1.2 Create schemas

### 📋 To Do

- [ ] 2. Implement login

License

MIT


🎯 How to Use (for humans)

Simple task — just tell AI what to do

You: "Fix bug in auth.ts line 42"
AI: *just does it, no extra steps*

Complex feature — FULL WORKFLOW

Example prompt:

Working directory: C:/Projects/my-backend

1. Study folders src/auth/ and src/services/
2. use think_batch — analyze architecture and edge cases
3. use task_spec — create specification with tasks

Goal: "Implement JWT auth system with refresh tokens"

Requirements:
- Access token expires in 15 minutes
- Refresh token expires in 7 days
- Refresh token rotation on use
- Blacklist for revoked tokens

What happens:

  1. AI studies project code

  2. think_batch — thinks through edge cases (what if token stolen? race condition on rotation?)

  3. task_spec — creates spec in .gofman3/specs/jwt-auth/:

    .gofman3/specs/jwt-auth/
    ├── requirements.md   ← what we're building (user stories)
    ├── design.md         ← how we're building (architecture)
    ├── tasks.md          ← progress tracking (auto-updates!)
    └── context.md        ← file references

Track progress

Show task_board
┌─────────────┬─────────────┬─────────────┐
│    TODO     │   DOING     │   DONE      │
├─────────────┼─────────────┼─────────────┤
│ [P2] Tests  │ [P1] Token  │ [P1] Routes │
│             │   Service   │             │
└─────────────┴─────────────┴─────────────┘

What to work on next?

use task_recommend

AI tells you which task to pick (by priority + dependencies).

Completing subtasks

When working on task with subtasks — they get checked off automatically, tasks.md updates:

- [x] 1. Setup routes
  - [x] 1.1 POST /login
  - [x] 1.2 POST /refresh  
  - [ ] 1.3 POST /logout    ← current

Available Tools

7 tools
task_batchTask Batch AddB

Create multiple tasks at once.

Use this when you need to add several tasks quickly, e.g., after planning. Each task can have its own priority, dependencies, and estimates.

Example: { "tasks": [ { "content": "Design API", "priority": 1, "estimate": 60 }, { "content": "Implement service", "priority": 2, "dependsOn": ["task-id-1"] } ] }

Inputs: tasks (required).

task_boardTask BoardA

Get visual representation of the task board.

Views:

  • kanban: ASCII Kanban board with columns (TODO, DOING, BLOCKED, DONE)

  • list: Simple list sorted by priority

  • priority: Tasks grouped by priority level

  • mermaid: Dependency graph in Mermaid format (v1.2)

Filters:

  • filterByStatus: Show only specific statuses

  • filterByThought: Show tasks linked to specific thought number

  • filterByTags: Filter by tags (case-insensitive) (v1.2)

  • filterByContent: Search by content/notes/files (case-insensitive) (v1.6)

  • showCompleted: Include done/abandoned tasks (default: false)

Inputs: view, filterByTags, showCompleted, filterByStatus, +2 more.

task_bulkTask Bulk SyncA

Create multiple tasks atomically with tempId support for internal references.

USE THIS when you have a complete task plan ready - reduces N round-trips to 1. Integrates with ThinkingService v4.0 submit_thinking_session.

Features:

  • tempId: Temporary IDs for referencing tasks within the same batch

  • dependsOn: Can reference tempIds OR existing task IDs

  • milestones: Group tasks into named milestones (recommended if > 10 tasks)

  • idMapping: Returns mapping from tempId to real taskId

Validation (atomic - all or nothing):

  • All tempIds must be unique

  • All dependency references must be valid (tempId or existing task)

  • No circular dependencies within batch

  • Content length <= 500 chars

Example: { "tasks": [ { "tempId": "t1", "content": "Design API", "priority": 1 }, { "tempId": "t2", "content": "Implement service", "dependsOn": ["t1"] }, { "tempId": "t3", "content": "Write tests", "dependsOn": ["t2"] } ], "milestones": [ { "name": "Backend", "taskIds": ["t1", "t2", "t3"] } ] }

Inputs: tasks (required), sessionId, milestones.

task_manageTask ManageA

Управление задачами: создание, обновление, удаление и смена статуса.

ACTIONS:

  • add: Создать задачу (требует content)

  • update: Обновить задачу (требует taskId)

  • delete: Удалить задачу (требует taskId)

  • start: Начать работу → статус 'doing' (проверяет зависимости!)

  • complete: Завершить → статус 'done' (автоматически считает timeSpent)

  • complete_subtask: Завершить подзадачу (требует taskId + subtaskIndex)

  • block: Заблокировать → статус 'blocked' (рекомендуется указать reason)

  • reopen: Вернуть в TODO

  • abandon: Отменить задачу

STATE MACHINE:

  • todo → doing, abandoned

  • doing → todo, blocked, done, abandoned

  • blocked → todo, doing, abandoned (НЕ напрямую в done!)

  • done → todo (только reopen)

  • abandoned → todo (воскрешение)

FEATURES:

  • dependsOn: Зависимости (ID задач, которые должны быть done)

  • estimate: Оценка времени в минутах

  • effort: Сложность (low/medium/high)

  • focusFiles: Связанные файлы

  • notes: Контекстные заметки (накапливаются при update)

  • Time tracking: startedAt при start, timeSpent при complete

  • Subtasks: Подзадачи с отслеживанием выполнения (complete_subtask)

Inputs: action (required), notes, tasks, effort, +11 more.

task_recommendTask RecommendA

Get AI-powered recommendation for the next task to work on.

Analyzes:

  • Task priorities (P1 > P2 > P3...)

  • Dependency graph (tasks with all deps done are eligible)

  • Impact score (tasks that unblock others get bonus)

Returns:

  • Best task to start next with reasoning

  • Alternative candidates if available

Use this when you're unsure what to work on next.

Inputs: no named parameters.

task_specTask SpecA

Управление спецификациями проекта (лучше чем Kiro Specs).

⚠️ CRITICAL: generate_tasks REQUIRES workspacePath! AI MUST provide absolute path to current workspace (e.g. "F:/Projects/my-app"). Files are auto-created in {workspacePath}/.gofman3/specs/

ACTIONS:

  • create: Создать спецификацию (требует name)

  • get: Получить спецификацию по ID

  • list: Список всех спецификаций

  • update: Обновить спецификацию

  • delete: Удалить спецификацию

  • generate_tasks: Создать задачи из шаблонов (⚠️ REQUIRES workspacePath!)

  • progress: Получить прогресс выполнения спецификации

  • export: Экспорт в markdown (⚠️ REQUIRES workspacePath!)

  • validate: Проверить полноту спецификации (score, issues, warnings)

СТРУКТУРА СПЕЦИФИКАЦИИ:

  • name: Название

  • description: Описание

  • requirements: Требования с user stories и acceptance criteria

  • design: Архитектура (overview, components, dataModels, diagram)

  • taskTemplates: Шаблоны задач с зависимостями

💡 BEST PRACTICES:

  • Use SUBTASKS to break complex tasks into steps (shown as 1.1, 1.2)

  • Mark tests/docs as optional=true for MVP flexibility

  • Use isCheckpoint=true for validation points

WORKFLOW:

  1. task_spec(create) → создать спеку с requirements и taskTemplates

  2. task_spec(validate) → проверить полноту перед генерацией

  3. task_spec(generate_tasks, workspacePath: "...") → создать задачи + файлы в .gofman3/specs/

  4. task_spec(progress) → отслеживать прогресс (включая requirements coverage)

ПРИМЕР: { "action": "create", "name": "Auth Module", "description": "Модуль аутентификации", "requirements": [ { "id": "REQ-1", "userStory": "As a user, I want to login", "criteria": ["Email validation", "Password hashing"] } ], "taskTemplates": [ { "content": "Design auth API", "priority": 1, "subtasks": ["Define endpoints", "Create schemas", "Document API"] }, { "content": "Implement login", "priority": 2, "dependsOn": ["t1"], "subtasks": ["Create controller", "Add validation", "Hash passwords"] }, { "content": "Write tests", "priority": 3, "dependsOn": ["t2"], "optional": true } ] }

Inputs: action (required), name, design, specId, +7 more.

task_syncTask Sync ThoughtsA

Import tasks from Sequential Thinking data.

This tool is AUTONOMOUS - it does NOT read files from think-module. Instead, YOU (the agent) pass thought data as parameters.

Usage:

  1. After using sequentialthinking, extract subSteps/alternatives

  2. Call this tool with the thought data

  3. Tasks are created with linkedThought reference

Duplicate detection: Tasks with same linkedThought + content are skipped.

Example: { "thoughts": [ { "thoughtNumber": 1, "subSteps": ["Design API", "Implement service"] }, { "thoughtNumber": 2, "alternatives": ["Option A", "Option B"] } ], "importSubSteps": true, "importAlternatives": false }

Inputs: thoughts (required), importSubSteps, defaultPriority, importAlternatives.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 7 tools

    Disambiguation3/5

    Task creation is spread across task_manage(add), task_batch, task_bulk, task_sync, and task_spec(generate_tasks). Descriptions clarify intended use cases, but task_batch vs task_bulk remain easy to confuse, and the agent must decide between several creation paths.

    Naming Consistency4/5

    All tool names follow a consistent task_ prefix and snake_case convention. Minor inconsistency exists because some suffixes are verbs (manage, recommend, sync) while others are nouns (board, batch, bulk, spec).

    Tool Count4/5

    Seven tools is a reasonable count for a task management server. However, task_batch and task_bulk are near-duplicate creation paths, so not every tool fully earns its place.

    Completeness4/5

    The surface covers task lifecycle, dependencies, subtasks, batch creation, board views, recommendations, and specs. An explicit single-task get operation is missing, though board filters partially compensate for this gap.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables spec-driven development with task tracking, approval workflows, and real-time progress monitoring through OpenSpec CLI functionality. Includes a web dashboard for visual management of change proposals and specifications.
      40
      184 npm
      33
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables spec-driven development workflows with AI assistants, providing tools for managing specification lifecycles, task dependencies, code navigation, testing, and automated reviews through a unified CLI and MCP interface.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage complex development workflows by creating structured handoffs between strategic planning and tactical implementation, with project management, task tracking, and intelligent scaffolding.
      MIT