checkpointer
Click on "Install 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., "@checkpointerundo my last edit to config.json"
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.
checkpointer
MCP server for file checkpointing and undo. Built with the Python MCP SDK v2 (mcp[cli] 2.0.0b1), implementing the 2025-07-28 MCP spec.
Lets an AI agent safely read, write, and edit files within a project directory while maintaining a full snapshot history. Changes can be reverted per-file or globally without requiring git or any external VCS.
How it works
All file state is tracked in a .checkpointer/ directory at the project root. Before any mutating tool runs, the current file content is hashed, compressed, and stored as a snapshot. A master ledger (master.json) records the per-file undo stack and a global edit history.
This adds minimal token overhead — snapshots are stored on disk, not in context.
Related MCP server: claude-vigil-mcp
Tools
Tool | Description |
| Read a file with line numbers. Smart-truncates large files (head+tail). Supports |
| List directory contents, optionally recursive to a given depth. |
| Overwrite or create a file. Snapshots before writing. |
| Replace a line range. Returns surrounding context with line numbers. |
| Content-based find-and-replace. |
| Revert a specific file to its state before the last mutation. |
| Revert whichever file was last mutated. |
| Discard all AI changes for a specific file. |
| Revert all AI changes across the project and delete history. |
| Unified diff of a file against its original state. |
Setup
Requires Python 3.10+.
uv syncSet PROJECT_DIR to the root of the project you want to checkpoint:
PROJECT_DIR=/path/to/project uv run main.pyConfiguration
After cloning the repo, add to your Claude Code MCP config:
{
"mcpServers": {
"checkpointer": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/this/repo/",
"server.py"
],
"env": {
"PROJECT_DIR": "/path/to/target/project/"
}
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/IronKommander/checkpointer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server