Worktrail
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Worktrailshow my open threads and what's next"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Worktrail
A record of what an AI coding agent did, kept so the next session does not have to guess from the code.
Worktrail is an MCP server and a small local window. While Claude Code or Codex works in your repository, it records the work as threads: what the thread is for, what was decided and what it was decided from, what is still open, and what comes next. The next session, another agent, or you picks up from that record instead of re-reading the diff.
Demo (read-only, a fictional team): https://casebook-api.syncflo.cloud/demo/en/ · Korean
Request access to the hosted server: https://casebook-api.syncflo.cloud/join (Google sign-in; a handful of seats, first come)
Feedback: GitHub Issues
What gets recorded
Every thread keeps four kinds of things apart, because they are overturned by different things:
Focus — what this thread is for and what would finish it.
Decisions and constraints — choices the work follows from now on, with the reason and who made them (you or the agent). They are superseded, never edited.
Evidence — what the machine or you actually said, byte-exact: a test result, an error, a diff. Never paraphrased.
Notes — what the agent observed and concluded at each step, and next: whose turn it is and what happens next.
The screen shows a thread as three lines a person can read without opening anything: how far it got, what is next, and why. The rules behind that are enforced by the server rather than by the agent's memory: a thread needs a topic, a next needs an owner, the first line of everything is a title (at most 120 columns, no record numbers in it), and evidence is cited by number instead of being pasted into prose.
Related MCP server: MCP Memory Keeper
Hosts
Claude Code — with session hooks, your open threads appear when a session starts.
Codex CLI — registered with
codex mcp add; say "show my open Worktrail threads" once when you start.claude.ai — as a connector, signed in with OAuth (hosted server only).
Works on macOS, Linux and WSL. Native Windows is not supported yet: the installer and the launcher are sh scripts.
Install
Claude Code plugin
Claude Code users can install it as a plugin.
/plugin marketplace add jasonethicseo/worktrail
/plugin install worktrail@worktrailOn macOS and Linux it needs Python 3.11 or newer, or uv. (Windows: follow the existing instructions)
To get new versions automatically, turn on auto-update.
If you already installed it with the install line, installing the plugin cleans up the old registration and hooks automatically.
Install line
The easy way is the hosted server. Sign in at https://casebook-api.syncflo.cloud/join, read the data notice, and paste the one install line it gives you into a terminal. That line installs the client, registers the MCP server with whichever agents it finds, and installs the hooks. Afterwards casebook-ui opens the window and casebook-login signs you in from a terminal.
Two things worth knowing:
The MCP server is registered under the name
casebook. That is its original name, kept so that nothing already installed breaks. Say "casebook" to your agent.The installer asks where records live: on the hosted server, or only on your machine. During the test period the hosted server is recommended — fixes reach you without reinstalling, and the author can see what breaks. What is stored, who can read it, and how to delete it is written on the sign-up page.
From source (records stay on your machine)
git clone https://github.com/jasonethicseo/worktrail.git && cd worktrail
python3 -m venv .venv && .venv/bin/pip install -e ".[mcp]"
mkdir -p ~/.casebook && echo local > ~/.casebook/mode # records in a local sqlite file, no server
# Claude Code
claude mcp add casebook -s user \
-e CASEBOOK_DB=$PWD/casebook.db -e CASEBOOK_MCP_EMAIL=you@example.com \
-- $PWD/.venv/bin/python -m casebook.adapters.mcp_proxy
sh tools/hooks/install_claude_hooks.sh # optional: session-start and post-commit hooks
# Codex CLI: the same, as `codex mcp add casebook --env CASEBOOK_DB=... --env CASEBOOK_MCP_EMAIL=... -- ...`
.venv/bin/python -m casebook.adapters.ui_server # the windowLayout
casebook/core— the record: threads, turns, evidence, decisions, the first-line rules.casebook/adapters— the doors:mcp_server(stdio and HTTP),mcp_proxy(thin client),http_api,ui_server(the window),device_login,client_dist(what the install line delivers).web/worktrail— the screen.web/join— the sign-up page.tools/hooks— Claude Code and git hooks.tools/demo_*— the demo's fictional records.tests— run with.venv/bin/python -m pytest -q.
License
Functional Source License 1.1, Apache 2.0 Future License (FSL-1.1-ALv2, the license Sentry uses). You may use, copy, modify and redistribute it for any purpose except a competing product or service. Two years after each version is released, that version becomes Apache 2.0. GitHub lists it as "Other" because it is source-available rather than open source.
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent engineering memory designed to follow developers across coding agents.
- MayaMemoOAuthcom.mayamemo
Evidence-backed project memory and checkpoints for AI coding agents.
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Related MCP Servers
- AlicenseCqualityCmaintenanceCaptures key development moments, enables multi-agent traceability, provides intelligent context curation, and facilitates seamless agent-to-agent handoffs.2917MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI coding assistants to save, search, checkpoint, and restore context across sessions so work history, decisions, and progress persist through conversation compaction or session resets.250 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding assistants to persist and restore development context across sessions, including decisions, progress, checkpoints, file caches, and searchable channel-based memory. Supports shared context across parallel sessions and helps recover after context compaction.250 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding assistants to persist context across sessions by saving, searching, checkpointing, restoring, and organizing decisions, progress, files, and Git-related state.250 npmMIT