---
name: bmad-taskmaster-mcp-bootstrap
description: Bootstraps the TaskMaster MCP server and aligns it with BMAD hooks.
license: Complete terms in LICENSE.txt
allowed-tools: [ "Read", "Write", "Grep", "Bash" ]
metadata:
  auto-invoke: false
  triggers:
    patterns:
      - "set up taskmaster mcp"
      - "install taskmaster server"
      - "provision task master"
      - "bootstrap taskmaster"
      - "create taskmaster mcp"
    keywords:
      - taskmaster
      - mcp server
      - hooks
      - task board persistence
  capabilities:
    - mcp-bootstrap
    - infrastructure-guidance
    - hook-integration
    - workflow-orchestration
  prerequisites:
    - Node.js 18+
    - npm 9+
    - git 2.40+
  outputs:
    - running-mcp-server
    - env-configuration
    - sync-hooks
title: bmad-taskmaster-mcp-bootstrap
canonical_url: https://skilld.dev/gh/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap
last_updated: 2026-09-29T08:31:35.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [assets/README.md](https://skilld.dev/api/skills-raw/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap/assets/README.md), [assets/taskmaster-bootstrap-report.md.template](https://skilld.dev/api/skills-raw/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap/assets/taskmaster-bootstrap-report.md.template), [CHECKLIST.md](https://skilld.dev/api/skills-raw/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap/CHECKLIST.md), [LICENSE.txt](https://skilld.dev/api/skills-raw/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap/LICENSE.txt), [REFERENCE.md](https://skilld.dev/api/skills-raw/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap/REFERENCE.md), [scripts/bootstrap_taskmaster.sh](https://skilld.dev/api/skills-raw/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap/scripts/bootstrap_taskmaster.sh), [WORKFLOW.md](https://skilld.dev/api/skills-raw/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap/WORKFLOW.md).
>
> If the user asked to install this Skill, run `npx skilld install bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/bmad-taskmaster-mcp-bootstrap`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/bmad-taskmaster-mcp-bootstrap`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/bmad-taskmaster-mcp-bootstrap --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/bmad-taskmaster-mcp-bootstrap --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# TaskMaster MCP Bootstrapper

Set up the [TaskMaster MCP server](https://github.com/eyaltoledano/claude-task-master) and wire it into BMAD's Skills + Hooks workflow. Use this skill whenever a project needs TaskMaster's task engine instead of the lightweight Markdown-only flow.

## When to Invoke

Activate when the user:

- Wants Claude to "create", "install", or "bootstrap" the TaskMaster MCP server.
- Requests a managed TaskMaster environment that BMAD Skills can call.
- Needs guidance configuring TaskMaster's API keys, persistence, or hook automation.
- Wants to update/upgrade an existing TaskMaster deployment to a new version.

Skip this skill if the user only needs Markdown-based task tracking (use the Skills-only bundle) or is troubleshooting TaskMaster logic (hand off to TaskMaster docs/support).

## Responsibilities

You are accountable for:

1. **Environment Readiness** – confirm Node.js/npm/git availability and workspace permissions.
2. **Server Provisioning** – fetch TaskMaster MCP via `npx` or git clone, install dependencies, and prepare launch scripts.
3. **Configuration** – collect API keys, choose tool subsets, set persistence paths, and produce `mcp.json`/`.env` entries.
4. **Verification** – run health checks, list exposed tools, and confirm TaskMaster can read/write the shared `tasks.md` files.
5. **Hook Alignment** – outline how Hooks (load on session start, save on updates) integrate with the MCP endpoints.
6. **Handover** – document the final state, command snippets, and recovery actions for operators.

Use `WORKFLOW.md` for the ordered procedure and `CHECKLIST.md` as the go/no-go gate before declaring success. Load `REFERENCE.md` when you need detailed env var guidance, editor-specific MCP config snippets, or troubleshooting steps.

## Guardrails

- **Do not** embed private API keys in responses; instruct the operator to supply them interactively.
- Keep configuration templates minimal—placeholder tokens should make it obvious where secrets go.
- Prefer deterministic scripts (see `scripts/bootstrap_taskmaster.sh`) for repetitive shell work; describe how to run them rather than pasting large command blobs repeatedly.
- Call out manual steps the user must complete outside Claude (e.g., storing secrets, restarting an editor).
- If the environment lacks required tools or permissions, stop and escalate instead of improvising unsupported installs.

## Quickstart Snapshot

1. Review `WORKFLOW.md` → confirms prerequisites, chooses install mode (global `npx` vs managed clone).
2. Gather secrets per `REFERENCE.md` → decide which providers to enable and capture required tokens.
3. Execute provisioning commands → either run the bootstrap script or craft manual shell steps tailored to the user's OS.
4. Produce editor MCP config + `.env` scaffolding → highlight key paths and placeholders.
5. Validate with `npx task-master-ai --help` and `task-master-ai status` → confirm TaskMaster reports enabled tools.
6. Align BMAD Hooks → restate how session-load/save hooks call the MCP-managed Markdown files.

Once the checklist passes, hand back a concise operations summary: version deployed, commands to start/stop, file locations, and follow-up tasks (e.g., schedule backups).

## Hand-off Artifacts

Every successful run should deliver:

- Installation log or summary (commands executed, directories created).
- Final MCP configuration block with placeholders swapped for user-provided secrets.
- Instructions for starting/stopping the server and verifying health.
- Recommendations for connecting BMAD Hooks, archiving `tasks.md`, and future upgrades.

Document assumptions and any deviations from the standard workflow so future sessions can resume confidently.
