Skip to content

Repository files navigation

Agent Kanban

A platform for AI-agent-driven development workflows. Provides a CLI to scaffold projects, an MCP server for agent integration, a VS Code Kanban board, and starter templates with built-in task management.

Built as a learning project — prefer clarity over cleverness.

What's Inside

packages/
├── core/ Shared markdown parser, writer, scanner
├── cli/ create-kanban-app — scaffold projects from templates
├── mcp-server/ MCP server for AI agents to manage tasks/PRDs/ADRs
└── vscode-extension/ Kanban board for VS Code (sidebar + status bar)
templates/
├── shared/ Common .agents/ + docs/ structure (all templates get this)
├── todo-vite-react/ Working React + Vite todo app
├── todo-flutter/ Flutter placeholder (you build it)
└── blank/ Docs-only scaffold

Quick Start

1. Scaffold a New Project

npx create-kanban-app my-project --template todo-vite-react
cd my-project
npm install
npm run dev

2. Available Templates

TemplateDescription
todo-vite-reactWorking React todo app with Vite + TypeScript
todo-flutterFlutter placeholder with agent skills
blankMinimal docs/ + .agents/ structure only
npx create-kanban-app --list # see all templates
npx create-kanban-app doctor # validate your project structure

MCP Server Setup

The MCP server lets any AI agent manage your Kanban board programmatically — create tasks, move cards, read PRDs, etc.

Available MCP Tools
ToolDescription
board_listShow full Kanban board (TODO/WIP/DONE/BLOCKED)
task_createCreate a new task from template
task_moveMove task between columns (renames file)
task_readRead parsed task content
task_updateTick checkboxes or add notes
prd_createCreate a new PRD
prd_listList all PRDs
adr_createCreate a new ADR
next_idGet next sequential ID
Available MCP Resources
Resource URIDescription
kanban://boardFull board state as structured JSON
kanban://tasksAll tasks as a flat list
kanban://prdsAll product requirement documents
kanban://adrsAll architecture decision records
Setup for Cursor

Create .cursor/mcp.json in your project root:

{
"mcpServers": {
"kanban": {
"command": "node",
"args": ["/absolute/path/to/agent-kanban/packages/mcp-server/dist/index.js"],
"cwd": "."
}
}
}

Or in your global Cursor settings (~/.cursor/mcp.json):

{
"mcpServers": {
"kanban": {
"command": "node",
"args": ["/absolute/path/to/agent-kanban/packages/mcp-server/dist/index.js"]
}
}
}
Setup for Claude Code / Anthropic

Add to your project's .mcp.json:

{
"mcpServers": {
"kanban": {
"command": "node",
"args": ["/absolute/path/to/agent-kanban/packages/mcp-server/dist/index.js"]
}
}
}

Or add it via the CLI:

claude mcp add kanban node /absolute/path/to/agent-kanban/packages/mcp-server/dist/index.js
Setup for Gemini CLI

Add to ~/.gemini/settings.json:

{
"mcpServers": {
"kanban": {
"command": "node",
"args": ["/absolute/path/to/agent-kanban/packages/mcp-server/dist/index.js"]
}
}
}
Setup for VS Code Copilot (GitHub Copilot)

Add to .vscode/mcp.json in your project:

{
"servers": {
"kanban": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/agent-kanban/packages/mcp-server/dist/index.js"]
}
}
}
Setup for Windsurf / Codeium

Add to ~/.codeium/windsurf/mcp_config.json:

{
"mcpServers": {
"kanban": {
"command": "node",
"args": ["/absolute/path/to/agent-kanban/packages/mcp-server/dist/index.js"]
}
}
}
Setup for Antigravity

Add to your workspace or global MCP settings:

{
"mcpServers": {
"kanban": {
"command": "node",
"args": ["/absolute/path/to/agent-kanban/packages/mcp-server/dist/index.js"]
}
}
}
Windows Users

On Windows, replace paths with backslashes or use forward slashes:

{
"mcpServers": {
"kanban": {
"command": "node",
"args": ["C:/Users/you/agent-kanban/packages/mcp-server/dist/index.js"]
}
}
}

Tip: After adding the config, restart your AI tool. Then ask your agent: "Use the board_list tool to show me my Kanban board."


VS Code Extension

The extension provides a Kanban board sidebar that auto-syncs with your docs/tasks/ directory.

Features

  • Kanban Board — Tabbed interface for TODO, WIP, BLOCKED, DONE
  • Click to Open — Click any card to open the task markdown in the editor
  • Move Buttons — Hover a card to see quick-move buttons
  • Progress Bars — Shows acceptance criteria completion per task
  • Status Bar — Live count of tasks by status
  • File Watcher — Board updates automatically when files change
  • Create CommandsAgent Kanban: New Task and Agent Kanban: New PRD commands
  • Auto-activation — Only activates in workspaces with docs/tasks/ directory

Install (Development)

There are a few ways to test the extension locally:

1. Debug via VS Code (Recommended) Open the monorepo root in VS Code and press F5 (or use the "Run and Debug" view). It will launch a new Extension Development Host window. Be sure to run pnpm --filter agent-kanban-vscode dev in the background to recompile your changes automatically.

2. CLI Launch

code --extensionDevelopmentPath=./packages/vscode-extension

3. Build a .vsix Package

cd packages/vscode-extension
npx @vscode/vsce package --no-dependencies
code --install-extension agent-kanban-vscode-0.1.0.vsix

How It Works with MCP

The VS Code extension and MCP server share the same source of truth — your markdown files:

┌──────────────────┐ ┌──────────────────┐
│ VS Code Ext │ │ AI Agent │
│ (Kanban Board) │ │ (via MCP) │
└────────┬─────────┘ └────────┬─────────┘
│ │
│ reads/writes │ reads/writes
│ │
▼ ▼
┌──────────────────────────────────────────────┐
│ docs/tasks/*.md │
│ docs/prd/*.md │
│ docs/decisions/*.md │
│ (File System = Source of Truth) │
└──────────────────────────────────────────────┘
  • You click a move button in the Kanban board → file gets renamed
  • Agent calls task_move via MCP → file gets renamed
  • File watcher detects the change → board updates in real-time

Both humans and agents work on the same files. No sync needed.


Development (this repo)

pnpm install # install all workspace deps
pnpm build # build all packages
pnpm test# run all tests

Package Overview

PackageDescriptionBuild
@agent-kanban/coreMarkdown parser, writer, scannertsc
create-kanban-appCLI for scaffolding projectstsc
@agent-kanban/mcp-serverMCP server (stdio)tsc
agent-kanban-vscodeVS Code extensionesbuild

Workflow

  1. Idea → write a PRD in docs/prd/
  2. PRD → break into tasks in docs/tasks/
  3. Task → hand to an agent or code it yourself
  4. Decision → log non-trivial choices as ADRs in docs/decisions/
  5. Done → rename wip-NNNN-...md to done-NNNN-...md

Task File Naming

docs/tasks/{prefix}-{NNNN}-{slug}.md
PrefixMeaning
todo-Not started
wip-In progress
done-Completed
blocked-Blocked

Status is the filename prefix. Rename the file to change status.


Roadmap

  • @agent-kanban/core — parser, writer, scanner
  • create-kanban-app CLI — scaffold projects
  • MCP server — 9 tools, 4 resources
  • VS Code extension — Kanban board, tabs, status bar
  • Publish create-kanban-app to npm
  • Publish VS Code extension to marketplace
  • Add tests for core parser/writer
  • Chat tabs per task in VS Code
  • Template contributions (Next.js, Python, Go, etc.)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages