cairn
A repo-native task graph as plain Markdown files, served to AI agents over MCP and to humans over a clean web UI .
Documentation
cairn
Repo-native task management. One task graph your agents and you share.
·
·
·
·

cairn is a task graph that lives as Markdown files in your repository. A single Go binary
(`cairn`) serves it to AI agents over MCP and to humans over
a clean web UI. One source of truth: the files. One rule-set: `internal/task`. No database.
- Lives in your repo. A task is Markdown (YAML frontmatter for the machine, a prose body for
humans). Tasks branch, merge, and review like code; a task's history *is* its git history.
- Built for agents. Agents list ready work, claim it, run an observable session with
heartbeats, and hand off for review. Every write is stamped with the actor that made it.
- One rule-set, two front-ends. The web UI and the MCP server are thin adapters over the
same engine, so an agent and a human always see the same gates and the same readiness.
- Connect any agent in one click. The Connect page detects installed agents and writes their
MCP config for you, each under its own identity.
Quickstart
make build # -> bin/cairn
cairn web --repo . # open the board in your browserThen open the Connect page and wire up an agent in one click, or do it by hand:
claude mcp add cairn -- "$(pwd)/bin/cairn" serve --actor agent:claude --repo "$(pwd)"Full walkthrough: **Installation** →
**Quickstart**.
Run it your way
| How | Use it for | |
|---|---|---|
| Desktop app | **Download** (macOS / Windows / Linux) | A native window + tray; auto-updates |
| Web UI | `cairn web --repo .` | The board in your browser |
| MCP server | `cairn serve --actor agent:x --repo .` | Headless, launched by an agent |
Supported agents
One-click connect for Claude Code, Cursor, Codex, Windsurf, OpenCode, Kilo Code, and Pi;
a copy-paste guide for Antigravity and any other MCP client. See the
Development
make check # gofmt + go vet + go test ./...
make web-dev # Vite dev server (proxies /api -> :8080)
make desktop-dev # native window against a dev serverThis repo dogfoods cairn: its own work is tracked in `.cairn/`. See
AGENTS.md and .cairn/WORKFLOW.md.
Security
cairn is a local, single-user tool with no authentication by design. See
SECURITY.md for the trust model and how to report a vulnerability.
License
MIT.
Frequently asked questions
What is cairn?
cairn is A repo-native task graph as plain Markdown files, served to AI agents over MCP and to humans over a clean web UI .
How do I install cairn?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is cairn open source?
Yes — it is hosted on GitHub at https://github.com/ShahramMebashar/cairn and has 6 stars.
Related MCP tools
eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts TLS without keys. Queryable by AI agents via MCP and humans via dashboard.
GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.
The missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology, event timeline, Helm, GitOps, live service traffic, and cluster audits - all in one Go binary.
mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.
The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks®. This MCP server for MATLAB supports a wide range of coding agents like Claude Code® and Visual Studio® Code.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP