Basic information
About Casefile MCP Server
AI agents forget everything between sessions. Casefile gives every task a case file — decisions, dead ends, open questions — so the next agent picks up where the last one stopped. Self-hosted MCP.
Casefile is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by azimov777. It exposes 3 tools, including Tasks:, Case:, Journal:. Supported transport: Streamable HTTP. Runtime: node. License: MIT. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: agent-coordination, agent-memory, agentic-ai, ai-agents, casefile.
Setup
claude mcp add casefile --transport http http://localhost:8100/mcp
[mcp_servers.casefile] url = "http://localhost:8100/mcp"
{
"mcpServers": {
"casefile": {
"url": "http://localhost:8100/mcp"
}
}
}
{
"servers": {
"casefile": {
"type": "http",
"url": "http://localhost:8100/mcp"
}
}
}
Casefile MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"casefile": {
"type": "http",
"url": "http://localhost:8100/mcp",
"headers": {
"Authorization": "Bearer <token printed by the installer>"
}
}
}
}
Casefile MCP Server tools
- Tasks: — `get_task` returns everything about a task in one call. The rest are `search_tasks`, `create_task`, `update_task`, `transition`, `close_task` and `move_task`.
- Case: — `read_entries`, `add_summary`, `add_entry`, `ask`, `answer`, `resolve`, `add_verdict`, plus `read_project_entries` and `add_project_entry` for project-level cases.
- Journal: — `wait_journal` returns journal entries after a sequence number and waits for new ones.
Overview
What is Casefile?
The Casefile MCP Server is a self-hosted task tracker that AI agents keep for each other. Every task carries a case file of decisions, failed attempts, findings and open questions. The next agent, starting with a fresh context, picks up where the last one stopped, while you watch on a live board.
Casefile is an open-source (MIT) project by azimov777. It runs locally in Docker, listens on localhost only by default, and exposes MCP over streamable HTTP. A case file is an append-only log: corrections are new entries that point at old ones, and nothing is overwritten. That sets it apart from a CLAUDE.md handoff file, from memory servers that recall facts by similarity, and from issue trackers with MCP added on. Casefile also never starts agents or moves tasks by itself.
How to use Casefile?
All you need is Docker. Install on macOS or Linux:
curl -fsSL https://raw.githubusercontent.com/azimov777/casefile/main/install.sh | sh
On Windows (PowerShell):
irm https://raw.githubusercontent.com/azimov777/casefile/main/install.ps1 | iex
The board opens at http://localhost:8080, and the MCP address is http://localhost:8100/mcp by default. Casefile updates itself when Docker starts and then once an hour. You can also ask Claude Code, Codex or Cursor to install it by following the repo's docs/agent-install.md.
Claude Code and Codex
The installer connects both by itself. It installs the Casefile plugin (the skill plus the MCP connection) and signs them in with OAuth, so no token is copied. It asks [y/N] before editing other programs' config files. If it had no terminal for the sign-in, run:
claude mcp login plugin:casefile:casefile
codex mcp login casefile
Claude Desktop
The desktop chat app gets Casefile from casefile.mcpb, which is attached to every release. The installer downloads and opens it when it finds Claude Desktop, or you can double-click the file. It signs in with OAuth.
Cursor
Clients without MCP OAuth use the agent key. The installer prints it, or you can issue one per agent on the board's Access screen:
{
"mcpServers": {
"casefile": {
"type": "http",
"url": "http://localhost:8100/mcp",
"headers": {
"Authorization": "Bearer <token>"
}
}
}
}
VS Code
{
"servers": {
"casefile": {
"type": "http",
"url": "http://localhost:8100/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}
A stdio mode is also available for clients that can only launch a command. It runs a short-lived container attached to your installation's database.
Then tell your agent, for example: "File tasks in Casefile for my work: a project for it if there is none yet, and tasks with all their sections and checks." In a new session, ask it to carry out the tasks.
Key features of Casefile
- Append-only case files per task: decisions, attempts, findings, artifacts, remarks and four-part handover summaries.
- Hand-offs that survive a fresh context. The next agent reads the card, latest summary, open questions and case index, then only the entries it needs.
- Guardrails without bureaucracy. You can't close a task without a summary and a passed verdict on every check, and you can't start a blocked task.
- A live board and task pages where you answer agents' questions, leave remarks and manage each agent's access.
- Local by default. An optional network mode adds email and password sign-in for a team behind a TLS proxy.
- Self-updating releases, with a database snapshot before any schema change and automatic rollback if a release fails to start.
Casefile tools
- Tasks:
get_taskreturns everything about a task in one call. The rest aresearch_tasks,create_task,update_task,transition,close_taskandmove_task. - Case:
read_entries,add_summary,add_entry,ask,answer,resolve,add_verdict, plusread_project_entriesandadd_project_entryfor project-level cases. - Discussions and links:
add_conclusionandclose_discussion.linkandunlinkconnect tasks or attach them to discussions. - Projects and participants:
get_project,list_projects,create_project,update_project,archive_project,restore_project,set_attribute,remove_attribute,list_participants,register_participantandupdate_participant. - Journal:
wait_journalreturns journal entries after a sequence number and waits for new ones.
Use cases of Casefile
- Splitting a large refactor into tasks small enough for one agent session each, then handing them to sub-agents.
- Keeping a record of dead ends, so the next session doesn't retry what already failed.
- Asking a human a blocking question from inside a task and waiting for the answer on the board.
- Running several agents, such as Claude Code and Codex, against one shared tracker, with entries signed per agent.
Troubleshooting Casefile MCP Server
- The agent has tools but writes poor case files: install the Casefile skill. Installations from before v0.8.0 have no skill or plugin, so run the install line again or use
CASEFILE_SKILL_ONLY=1. unrecognized arguments: --stdio: the installation image predates stdio mode. Update it first.- The board refuses to start after setting
CASEFILE_BIND=0.0.0.0: with sign-in off, Casefile won't publish beyond localhost. SetCASEFILE_LOGIN=password, and checkdocker compose logs ui. - An MCP request gets
421: with sign-in on, MCP only answers on the host inTRACKER_MCP_PUBLIC_URL. Keep theHostheader in your proxy.
Frequently asked questions
1 Is Casefile free?
Yes. It is open source under the MIT license and self-hosted.
2 Does any data leave my machine?
Not by default. Casefile runs in Docker and listens on localhost only. The one outside call is an optional hourly check of the latest GitHub release, which you can turn off with TRACKER_RELEASE_CHECK=false.
3 Which agents does it work with?
Claude Code and Codex are connected by the installer with OAuth. Claude Desktop uses the .mcpb extension. Any other client can connect over streamable HTTP with an agent key, or over stdio.
4 How is it different from a memory MCP server?
Memory servers recall facts by similarity. Casefile is a work log per task, read in a fixed order: card, latest summary, open questions, index, then the entries you need.
5 Is the auto-updater a security risk?
The updater service mounts the Docker socket, which is root access to the machine, and the installer warns you about this. Set CASEFILE_AUTO_UPDATE=false to turn auto-update off.
6 Can a team share one installation?
Yes. Turn on network mode with CASEFILE_LOGIN=password and put a TLS reverse proxy in front. Everyone signs in with their own account, and agents sign in with OAuth or keys.
Videos
Tutorials, guides, and showcases related to Casefile MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In