Index of every page on this site: llms.txt
All skills
bacoco avatar

/bmad-taskmaster-mcp-bootstrap

@58378b1
by Baconnier Loicbacoco/bmad-skills67 stars
11
Run it yourself

Bootstraps the TaskMaster MCP server and aligns it with BMAD hooks.

Use this Skill: https://skilld.dev/gh/bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

REFERENCE.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

TaskMaster MCP Reference

Use this file when you need deeper context, command snippets, or troubleshooting material that would bloat the main SKILL.md.


Core Commands

Command Purpose Notes
npx -y task-master-ai -- --version Confirm npm package availability and version. Append --tag <version> to pin prerelease builds.
npx -y task-master-ai status Lists enabled tools and checks API key coverage. Mirrors node bin/cli.js status when installed locally.
npx -y task-master-ai board --format markdown Dumps the canonical task board. Use --data-dir <path> if TASK_MASTER_DATA_DIR not set.
npx -y task-master-ai progress Summarizes task completion by status. Great for Hook 3 scheduled reports.
npm run build Prepares distributable build (clone installs). Required before npm link in some environments.

Environment Variables

Variable Required? Description
TASK_MASTER_TOOLS Optional Set to all, standard, core, or comma-separated list of tool names to enable. Default: standard.
TASK_MASTER_DATA_DIR Recommended Directory where tasks.md, tasks-archive.md, and other stateful files are stored.
ANTHROPIC_API_KEY Yes (unless using Claude Code CLI) Enables Claude-based commands.
OPENAI_API_KEY Optional Enables OpenAI-backed commands.
PERPLEXITY_API_KEY Optional Enables research model.
GOOGLE_API_KEY Optional Enables Gemini provider.
MISTRAL_API_KEY Optional Enables Mistral provider.
GROQ_API_KEY Optional Enables Groq provider.
OPENROUTER_API_KEY Optional Enables OpenRouter aggregator.
XAI_API_KEY Optional Enables xAI provider.
AZURE_OPENAI_API_KEY Optional Enables Azure OpenAI provider.
OLLAMA_API_KEY Optional Enables Ollama provider.

Store secrets in .env files excluded from version control (add to .gitignore) and restrict permissions with chmod 600 (Unix) or ACL adjustments (Windows).

Recommended Directory Layout

~/projects/
├── taskmaster-data/
│   ├── tasks.md
│   └── tasks-archive.md
└── taskmaster-mcp/
    ├── .env
    ├── package.json
    └── ...

Point TASK_MASTER_DATA_DIR at ~/projects/taskmaster-data. Configure Hooks to commit that folder to GitHub or other storage.

MCP Configuration Snippets

Cursor / Windsurf / Q CLI

{
  "mcpServers": {
    "task-master-ai": {
      "command": "npx",
      "args": ["-y", "task-master-ai"],
      "env": {
        "TASK_MASTER_TOOLS": "standard",
        "TASK_MASTER_DATA_DIR": "${HOME}/projects/taskmaster-data",
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}"
      }
    }
  }
}

VS Code (per-project)

{
  "servers": {
    "task-master-ai": {
      "type": "mcp",
      "command": "node",
      "args": ["/srv/taskmaster-mcp/bin/cli.js"],
      "env": {
        "TASK_MASTER_TOOLS": "all",
        "TASK_MASTER_DATA_DIR": "/srv/taskmaster-data",
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}"
      }
    }
  }
}

Replace paths with the operator's actual locations. Encourage them to test the config by restarting the editor and verifying that the MCP server reports a non-zero tool count.

Hook Integration Tips

  • Hook 1 (Save Updates): Monitor the data directory for file changes (tasks.md, tasks-archive.md). Trigger a Git commit + push, or invoke TaskMaster's own export commands if you maintain derived artifacts.
  • Hook 2 (Load on Session Start): Pull the latest repo, run task-master-ai board --format markdown --data-dir <path>, and inject the result into Claude's context before activating planning skills.
  • Hook 3 (Scheduled Sync): Combine task-master-ai progress --format markdown with email/Slack bots. Capture the timestamp in commit messages to maintain an audit trail.

Troubleshooting

Symptom Likely Cause Resolution
Error: No tools enabled Missing API keys or TASK_MASTER_TOOLS set to an empty list. Confirm at least one provider is configured and restart the MCP client.
Cannot find module 'task-master-ai' during npx Firewall or npm registry outage. Retry, check corporate proxy, or switch to git clone path.
tasks.md not found warnings TASK_MASTER_DATA_DIR incorrect or repo not cloned. Create the directory and ensure the Markdown files exist (copy templates if needed).
MCP client fails to connect Editor not restarted or config path wrong. Double-check config file location and restart the editor/CLI.
Rate limit errors from providers Excessive automation frequency. Stagger hooks, add caching, or request higher quotas.

Useful Resources

Use these references sparingly—load only the sections needed for the current task to preserve context budget.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

3 warnings8mo4 checks · Risk MEDIUM
  • Gen Agent Trust Hub9mo

    This skill automates the installation and configuration of the TaskMaster MCP server. It involves downloading code from a non-trusted third-party repository, executing packages via npx, and running shell commands. It also collects user API keys and interacts with shared task files, creating a surface for indirect prompt injection.

  • Socket8mo

    No alerts

  • Snyk9mo

    Risk: MEDIUM · No issues

  • Runlayer9mo

    1/1 file flagged

Signed by skilld at 58378b1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated last year
What it can do
Reads files Edits files Runs commands
All 4 allowed tools
ReadWriteGrepBash
Other metadata
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"
  ]
}

README badge

README badge for bacoco/bmad-skills/bmad-taskmaster-mcp-bootstrap