claude-checkpoint-mcp
v1.1.0MCP server that checkpoints Claude Code session context to survive crashes and token limits
Values you need
| Variable | What it is | |
|---|---|---|
CHECKPOINT_PROJECT_ROOT | optional | Optional. Absolute path of the default project to checkpoint, used when the client has no current project (e.g. Claude Desktop). A projectRoot argument on a tool call takes precedence. |
CLAUDE_CODE_SESSION_ID | optional | Set automatically by Claude Code; do not set it yourself. Selects the per-session checkpoint file (.claude-checkpoints/<session-id>.json). Without it the server mints a session id per conversation, or uses the shared .claude-checkpoint file with CHECKPOINT_SESSION_IDS=legacy. |
CHECKPOINT_SESSION_IDS | optional | Optional. Unset or mint: clients without a session id get their own checkpoint per conversation (the server mints an id on the first save and the agent passes it back). Set to legacy to have them share one .claude-checkpoint file, as before 1.0. No effect on Claude Code. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add claude-checkpoint-mcp -- npx -y session-checkpoint-mcp@1.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"claude-checkpoint-mcp": {
"args": [
"-y",
"session-checkpoint-mcp@1.1.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"claude-checkpoint-mcp": {
"args": [
"-y",
"session-checkpoint-mcp@1.1.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"claude-checkpoint-mcp": {
"args": [
"-y",
"session-checkpoint-mcp@1.1.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.claude-checkpoint-mcp]
command = "npx"
args = ["-y", "session-checkpoint-mcp@1.1.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: save_session_checkpoint, load_session_checkpoint, list_session_checkpoints.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json