Skip to main content

dsh-kanban-mcp

Filesystem-driven four-lane kanban board (todo / doing / blocked / done) exposed as a read-only MCP server and a Python API. Works with DeepSeek Harness and any MCP client.

A kanban board is just a directory tree of markdown cards:

<base_dir>/YYYY/YYYY-MM/YYYY-MM-DD/{todo,doing,blocked,done}/YYYYMMDD-HHMMSS__agent__slug__status.md

That design is the whole point: the board survives restarts, is diffable in git, needs no database, and can be inspected by any file tool. This package manages those files and exposes the board to agents over MCP.

Install

pip install "dsh-kanban-mcp"          # Python API
pip install "dsh-kanban-mcp[mcp]"     # + MCP server (fastmcp)

Requires Python 3.10+.

Run the MCP server

python -m kanban_mcp          # stdio transport
# or: kanban-mcp

Register it in DeepSeek Harness (MCP settings — the built-in MCP client) or any MCP client. The tools take an optional base_dir argument (default .agent/kanban) so one server can point at any board.

Tools (read-only)

Tool Description
kanban_board Full four-lane board with card details (agent, work_item, purpose, status, outcome, priority, timestamps)
kanban_status Per-lane card counts + total
kanban_doing Cards currently in progress
kanban_blocked Blocked cards
kanban_done_today Cards completed today

All tools are read-only. Card creation / update / movement is available through the KanbanManager Python API (see below); write tools are planned but not yet exposed over MCP.

Python API

from kanban_mcp import KanbanManager, LaneStatus

kanban = KanbanManager(base_dir=".agent/kanban")

card = kanban.create_doing_card(
    agent="coder",
    work_item="build-api",
    purpose="Build the REST API endpoint",
)
kanban.update_card(card, outcome="GET /users implemented")
kanban.move_to_done("coder", "build-api", "API endpoint complete")

board = kanban.get_board()      # full board
stats = kanban.stats()          # per-lane counts
blocked = kanban.get_blocked_cards()

Writes go through an atomic temp-file + os.replace, so a concurrent reader never sees a half-written card.

Why files instead of a database

  • Git-diffable — card changes are reviewable like code.
  • Survives restarts — no daemon, no lock, no migration.
  • Inspectable — any file tool can read a card directly.
  • Portablecp -r the directory and you have a new board.

Development

pip install -e ".[dev]"
pytest

License

MIT © 2026 Chen (Jarry) Pan

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dsh_kanban_mcp-0.1.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dsh_kanban_mcp-0.1.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file dsh_kanban_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: dsh_kanban_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.11

File hashes

Hashes for dsh_kanban_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7485ee502cb7e222ba24bfa88a9c7038102f7030b36e4f15eb00a67da627af0f
MD5 b90cd9754bdae78609978083ca7d36e7
BLAKE2b-256 844b60a3f593fd818a090b90422096d1d03cb6adfbbff3d2d4515ba0b9129111

See more details on using hashes here.

File details

Details for the file dsh_kanban_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dsh_kanban_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.11

File hashes

Hashes for dsh_kanban_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f647f3a3a4818d537aed4952214ac47a65f74782ff9980cff9debe9c94f676ef
MD5 c0643b4ca4ee1f382a834aeedc2345a6
BLAKE2b-256 07984a4a32b53a26c24ecd549a449d316cfc2cfe8a1af3d2b566b913b5750ccd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page