kagan

kagan-sh/kagan
100 starsMITCommunity

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

kagan-sh/kagan MCP server](https://glama.ai/mcp/servers/kagan-sh/kagan/badges/score.svg)](https://glama.ai/mcp/servers/kagan-sh/kagan) ๐Ÿ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - AI-powered Kanban TUI and MCP server for autonomous development workflows.

README.md

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/kagan-sh/kagan/main/.github/assets/hero-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/kagan-sh/kagan/main/.github/assets/hero-light.svg"> <img alt="Kagan โ€” Kanban TUI for AI coding agents with a structural human review gate" src="https://raw.githubusercontent.com/kagan-sh/kagan/main/.github/assets/hero-dark.svg" width="100%"> </picture> </p> <p align="center"> <a href="https://pypi.org/project/kagan/"><img src="https://img.shields.io/pypi/v/kagan?style=for-the-badge" alt="PyPI"></a> <a href="https://pypi.org/project/kagan/"><img src="https://img.shields.io/pypi/pyversions/kagan?style=for-the-badge" alt="Python"></a> <a href="https://opensource.org/license/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge" alt="License: MIT"></a> <a href="https://github.com/kagan-sh/kagan/stargazers"><img src="https://img.shields.io/github/stars/kagan-sh/kagan?style=for-the-badge" alt="Stars"></a> <a href="https://discord.gg/dB5AgMwMy"><img src="https://img.shields.io/badge/discord-join-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord"></a> </p>

<p align="center"> <a href="https://marketplace.visualstudio.com/items?itemName=kagan.kagan-vscode"><img src="https://img.shields.io/visual-studio-marketplace/v/kagan.kagan-vscode?label=VS%20Marketplace&style=flat" alt="VS Marketplace"></a> <a href="https://open-vsx.org/extension/kagan/kagan-vscode"><img src="https://img.shields.io/open-vsx/v/kagan/kagan-vscode?label=Open%20VSX&style=flat" alt="Open VSX"></a> <a href="https://snyk.io/test/github/kagan-sh/kagan?targetFile=pyproject.toml"><img src="https://snyk.io/test/github/kagan-sh/kagan/badge.svg?targetFile=pyproject.toml&style=flat" alt="Snyk"></a> <a href="https://glama.ai/mcp/servers/kagan-sh/kagan"><img src="https://glama.ai/mcp/servers/kagan-sh/kagan/badges/score.svg" alt="Glama"></a> </p>

<!-- mcp-name: io.github.kagan-sh/kagan -->

<h3 align="center"> <a href="https://docs.kagan.sh/">Docs</a> ยท <a href="https://docs.kagan.sh/quickstart/">Quickstart</a> ยท <a href="https://docs.kagan.sh/concepts/task-lifecycle/">The review gate</a> ยท <a href="https://docs.kagan.sh/guides/mcp-setup/">MCP Setup</a> ยท <a href="https://docs.kagan.sh/reference/cli/">CLI Reference</a> ยท <a href="CONTRIBUTING.md">Contributing</a> </h3>

---

Kagan is a Kanban TUI for AI coding agents with a structural human review gate. No agent-authored task reaches your main branch without an explicit approval โ€” the state machine enforces it.

The agent runs in an isolated git worktree. When it finishes, the task card moves to REVIEW. You read the diff, check the acceptance criteria, and press approve. Then merge fires. That transition โ€” REVIEW to DONE โ€” cannot be automated away. It is not a setting.

Install

uv tool install kagan     # or: uvx kagan

<details> <summary>Mac / Linux (no uv)</summary>

curl -fsSL https://uvget.me/install.sh | bash -s -- kagan

</details>

<details> <summary>Windows (PowerShell)</summary>

iwr -useb uvget.me/install.ps1 -OutFile install.ps1; .\install.ps1 kagan

</details>

What you get

  • Kanban board (BACKLOG โ†’ IN_PROGRESS โ†’ REVIEW โ†’ DONE) enforced by a state machine
  • Each task runs in its own git worktree โ€” your working copy stays untouched
  • Managed runs (background agent) or interactive attach (you + agent in tmux/editor)
  • REVIEW stage requires explicit human approval before merge; no path around it
  • MCP server so Claude Code, Codex, or any MCP-capable client can drive the board
  • kagan doctor preflight checks all required tools before first run

Tested agents: Claude Code ยท Codex ยท Gemini CLI ยท 11 more โ€” see docs/backends.

Full docs: docs.kagan.sh

Companion surfaces

The TUI (kagan) is the primary operator surface. Two companion surfaces exist for specific workflows:

  • Web dashboard (kagan web) โ€” browser-based board, useful for remote access or a second monitor
  • VS Code extension โ€” sidebar panel and @kagan chat participant inside VS Code

Both companions share the same state as the TUI via the same API server. Neither is required.

License

MIT

---

<p align="center"> <a href="https://www.star-history.com/#kagan-sh/kagan&type=date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=kagan-sh/kagan&type=date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=kagan-sh/kagan&type=date" /> <img alt="Star History" src="https://api.star-history.com/svg?repos=kagan-sh/kagan&type=date" width="600" /> </picture> </a> </p>

Related MCP servers

Browse all โ†’