Skip to main content
Glama
claude-task-board

claude-task-board

by r-ms

claude-task-board

Task board MCP server for Claude Code. Tasks as markdown files, per-window focus tracking, status line integration.

Installation

Paste this into Claude Code:

Install claude-task-board from https://github.com/r-ms/claude-task-board — read the SETUP section in its README and follow every step.

Or with options:

Install claude-task-board from https://github.com/r-ms/claude-task-board for this project.
Board name: "MY PROJECT". Tasks dir: ./plan/tasks

That's it. Claude clones, builds, patches your configs, and restarts.

git clone https://github.com/r-ms/claude-task-board.git
cd claude-task-board
npm install && npm run build
bash install.sh ~/my-project/tasks "MY PROJECT"

The installer creates the tasks directory and prints JSON to paste into .mcp.json and .claude/settings.json.

SETUP

When installing claude-task-board for a project, execute these steps:

Inputs (ask user if not provided):

  • BOARD_NAME — board display name (default: project directory name in UPPER CASE)

  • CLONE_DIR — where to clone the repo (default: ~/.claude-task-board)

TASKS_DIR is always {project_root}/.claude/task-board/tasks. Do NOT make it configurable — this is the convention.

Step 1: Clone and build

git clone https://github.com/r-ms/claude-task-board.git $CLONE_DIR
cd $CLONE_DIR && npm install && npm run build

Skip if $CLONE_DIR/dist/index.js already exists.

Step 2: Create task-board directory

mkdir -p .claude/task-board/tasks/.sessions

Create .claude/task-board/sprint-goal.txt — ask user for the sprint goal text (one line).

Step 3: Gitignore task-board data

Add .claude/task-board/ to .gitignore in the project root (create if needed, append if exists).

Step 4: Patch .mcp.json in the project root — add to mcpServers:

"task-board": {
  "command": "node",
  "args": ["$CLONE_DIR/dist/index.js"]
}

Use absolute path for $CLONE_DIR. Create .mcp.json if it doesn't exist.

Step 5: Patch .claude/settings.json in the project root:

{
  "env": {
    "BOARD_TASKS_DIR": "$PROJECT_ROOT/.claude/task-board/tasks",
    "BOARD_NAME": "$BOARD_NAME"
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [{ "type": "command", "command": "bash $CLONE_DIR/templates/block-task-edits.sh" }]
      }
    ],
    "SessionStart": [
      {
        "matcher": "",
        "hooks": [{ "type": "command", "command": "bash $CLONE_DIR/templates/show-board.sh" }]
      }
    ]
  }
}

Use absolute paths for $CLONE_DIR and $PROJECT_ROOT. Merge with existing settings if the file exists (preserve existing env vars and hooks).

Step 6: Copy /focus skill

mkdir -p .claude/skills/focus
cp $CLONE_DIR/templates/focus-skill.md .claude/skills/focus/SKILL.md

Step 7: Add board rules to CLAUDE.md — append contents of $CLONE_DIR/templates/board-rules.md to the project's CLAUDE.md. Create CLAUDE.md if it doesn't exist.

Step 8: Tell user to restart Claude Code, then test with board_show.

Related MCP server: todo-tree MCP Server

What you get

Status line shows your current focus in each terminal tab:

[opus] 📁 myproject | 🌿 main +0~2 | ████░ 78% | 📋 [0001] Auth refactor → 🔍 fixing token refresh

/focus command sets what you're doing in this window:

/focus fixing token refresh

Task board via board_show:

━━━ MY PROJECT ━━━
🎯 Sprint: Launch MVP by March 30

📌 IN PROGRESS
  [0001] Auth refactor                   P0  backend    (started 2026-03-21)

📋 BACKLOG
  [0002] Dashboard UI                    P1  frontend
  [0003] API rate limiting               P2  backend
━━━━━━━━━━━━━━━━━━

Hook enforcement — Claude can't directly edit task files, forced to use MCP tools.

Manual setup (if not using install.sh)

1. Register MCP server

Add to your project's .mcp.json:

{
  "mcpServers": {
    "task-board": {
      "command": "node",
      "args": ["/path/to/claude-task-board/dist/index.js"]
    }
  }
}

2. Set environment and hooks

Add to your project's .claude/settings.json:

{
  "env": {
    "BOARD_TASKS_DIR": "/absolute/path/to/tasks",
    "BOARD_NAME": "MY PROJECT"
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "bash /path/to/claude-task-board/templates/block-task-edits.sh"
          }
        ]
      }
    ],
    "SessionStart": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "bash /path/to/claude-task-board/templates/show-board.sh"
          }
        ]
      }
    ]
  }
}

3. Create task-board directory and gitignore

mkdir -p .claude/task-board/tasks/.sessions
echo "My sprint goal" > .claude/task-board/sprint-goal.txt
echo ".claude/task-board/" >> .gitignore

4. Add /focus skill (optional)

mkdir -p .claude/skills/focus
cp /path/to/claude-task-board/templates/focus-skill.md .claude/skills/focus/SKILL.md

5. Add board rules to CLAUDE.md

Append templates/board-rules.md to your project's CLAUDE.md. This tells Claude to use MCP tools instead of editing files directly.

6. Status line (optional)

Add to ~/.claude/statusline.sh — see the snippet below:

Insert after your git section, before building the output string:

# Task board (only active when BOARD_TASKS_DIR is set)
BOARD_PART=""
if [ -n "$BOARD_TASKS_DIR" ]; then
    SESSION_ID="${ITERM_SESSION_ID:-${TERM_SESSION_ID:-${TMUX_PANE:-${WINDOWID:-${WT_SESSION:-${BOARD_SESSION_ID:-}}}}}}"
    TASK_PART=""
    NOTE_PART=""
    if [ -n "$SESSION_ID" ]; then
        SAFE_ID=$(printf '%s' "$SESSION_ID" | tr -c 'a-zA-Z0-9_-' '_')
        SESSION_FILE="${BOARD_TASKS_DIR}/.sessions/${SAFE_ID}.json"
        if [ -f "$SESSION_FILE" ]; then
            TASK_ID=$(jq -r '.active_task_id // ""' "$SESSION_FILE" 2>/dev/null)
            TASK_TITLE=$(jq -r '.active_task_title // ""' "$SESSION_FILE" 2>/dev/null)
            NOTE=$(jq -r '.note // ""' "$SESSION_FILE" 2>/dev/null)
            [ -n "$TASK_ID" ] && [ "$TASK_ID" != "null" ] && TASK_PART="📋 [${TASK_ID}] ${TASK_TITLE}"
            [ -n "$NOTE" ] && [ "$NOTE" != "null" ] && NOTE_PART="🔍 ${NOTE}"
        fi
    fi
    if [ -z "$TASK_PART" ]; then
        GOAL_FILE="$(dirname "$BOARD_TASKS_DIR")/sprint-goal.txt"
        [ -f "$GOAL_FILE" ] && TASK_PART="🎯 $(head -1 "$GOAL_FILE")"
    fi
    if [ -n "$NOTE_PART" ]; then
        if [ -n "$TASK_PART" ]; then
            BOARD_PART=" | ${TASK_PART} → ${NOTE_PART}"
        else
            BOARD_PART=" | ${NOTE_PART}"
        fi
    else
        BOARD_PART=" | \033[3m/focus to set session goal\033[0m"
    fi
fi

Then add to your output line: [ -n "$BOARD_PART" ] && OUT="$OUT${BOARD_PART}"

Environment variables

Variable

Required

Default

Description

BOARD_TASKS_DIR

Yes

.claude/task-board/tasks

Path to tasks directory

BOARD_NAME

No

TASK BOARD

Board header in board_show

BOARD_SESSION_ID

No

auto-detected

Manual session ID override

Session ID auto-detection: ITERM_SESSION_ID → TERM_SESSION_ID → TMUX_PANE → WINDOWID → WT_SESSION → BOARD_SESSION_ID → "default".

MCP Tools

Tool

Description

board_show

Sprint goal + all tasks grouped by status

task_list

List tasks with optional status/repo filter

task_get

Full task details including comments

task_create

Create new task in backlog

task_start

Start task + bind to current window

task_done

Mark done, clear from window

task_block

Mark blocked with reason

task_change_status

Move to any status (backlog/in_progress/blocked/done)

task_comment

Append timestamped comment

session_get

Current window's task + focus

session_note

Set focus note for this window

Task file format

---
id: "0001"
title: "Auth refactor"
status: "backlog"
priority: "P1"
repo: "backend"
created: "2026-03-21"
started: null
completed: null
blocked_reason: null
---

## Description

Refactor authentication to use JWT refresh tokens.

## Comments

<!-- 2026-03-21 14:30 -->
Decided to use rotating refresh tokens for security.

File layout

your-project/
├── .claude/
│   ├── settings.json          # env vars + hooks
│   ├── skills/focus/SKILL.md  # /focus command
│   └── task-board/            # ← gitignored
│       ├── sprint-goal.txt
│       └── tasks/
│           ├── .sessions/     # per-window state
│           ├── 0001-auth-refactor.md
│           └── 0002-dashboard-ui.md
├── .mcp.json                  # MCP server registration
├── .gitignore                 # includes .claude/task-board/
└── CLAUDE.md                  # board rules

How it works

┌─────────────────────────────────────────────────────────┐
│ Claude Code                                             │
│                                                         │
│  CLAUDE.md rules    →  Claude uses MCP tools            │
│  PreToolUse hook    →  Blocks direct file edits         │
│  SessionStart hook  →  Shows board on startup           │
│  /focus skill       →  Sets window focus note           │
│  Status line        →  Reads session file (fast)        │
│                                                         │
│  ┌──────────────┐   ┌─────────────────────────┐         │
│  │ MCP Server   │   │ .claude/task-board/      │         │
│  │ (stdio)      │──→│   tasks/0001-*.md        │         │
│  │              │   │   tasks/.sessions/*.json  │         │
│  │ 11 tools     │   │   sprint-goal.txt        │         │
│  └──────────────┘   └─────────────────────────┘         │
└─────────────────────────────────────────────────────────┘

License

MIT

Available Tools

11 tools
board_showA

Show sprint goal and all tasks grouped by status

Inputs: no named parameters.

session_getA

Get the active task and note for the current session (iTerm2 tab)

Inputs: no named parameters.

session_noteA

Set a short note for this session — shown in the status line to remind what's happening in this window

Inputs: note (required).

task_blockB

Mark a task as blocked. If id is omitted, uses the active task for this session.

Inputs: reason (required), id.

task_change_statusB

Change task status to any valid state (backlog, in_progress, blocked, done)

Inputs: status (required), id, reason.

task_commentB

Append a timestamped comment to a task. If id is omitted, uses the active task for this session.

Inputs: comment (required), id.

task_createC

Create a new task in the backlog

Inputs: repo (required), title (required), priority, description.

task_doneA

Mark a task as done. If id is omitted, uses the active task for this session.

Inputs: id, summary.

task_getB

Get full task details including description and comments

Inputs: id (required).

task_listC

List tasks, optionally filtered by status or repo

Inputs: repo, status.

task_startA

Start a task — marks it in_progress and registers it as the active task for this session

Inputs: id (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools target distinct resources or actions, but the status cluster overlaps: task_change_status can set done/blocked, duplicating task_done and task_block. board_show and task_list also overlap in showing tasks, though grouping versus filtering distinguishes them reasonably well.

    Naming Consistency4/5

    Names are consistently snake_case, mostly following task_<verb> with a few noun_verb forms like board_show, session_get, and session_note. The pattern is predictable with only minor deviations.

    Tool Count5/5

    Eleven tools is well within the appropriate range for a task-board server, and each maps to a meaningful operation. The only redundancy is the status convenience tools, but the overall count is well-scoped.

    Completeness3/5

    Core lifecycle operations are covered: create, list, get, start, change status, done, block, and comment. However, there is no task update/edit or delete operation, and board_show displays a sprint goal with no corresponding tool to set it.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Persistent, cross-session task management for Claude Code. 24 MCP tools for tasks, projects, dependencies, and docs. 7 skills for planning, standups, and handoffs. Event-sourced storage with per-project isolation.
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables managing tasks in a structured TODO.md file through MCP tools for listing, adding, updating, setting status, logging notes, searching, and removing tasks while preserving hand-authored formatting.
      ISC
    • A
      license
      A
      quality
      C
      maintenance
      Enables a planning Claude chat and Claude Code to exchange work through local Markdown files, letting the chat create tasks that code agents pick up, complete, and report back on. Project-scoped task and report tools track each item's status from open through reported, eliminating manual copy-paste between the two clients.
      5
      MIT