Skip to main content
Glama
session-checkpoint-mcp

session-checkpoint-mcp

by daniel-munoz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHECKPOINT_PROJECT_ROOTNoAbsolute path of the default project to checkpoint. Optional; if unset, the server uses the client's first file:// root, then its working directory. A projectRoot argument on a tool call takes precedence.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Persists session context to a checkpoint file in the project so work survives crashes, /clear, and context limits. Each Claude Code session has its own checkpoint.

  • At the start of a session, or when the user says "resume" / "continue where we left off", call load_session_checkpoint and follow its next steps. Re-read only the files it lists as changed since the checkpoint.

  • If load_session_checkpoint returns a list instead of a checkpoint, show the list to the user and ask which one to resume, then call it again with that checkpoint. Never pick one on the user's behalf.

  • After loading another session's checkpoint, pass its selector as resumedFrom on your next save_session_checkpoint call, so the save builds on it. The server does not remember what you loaded.

  • Call save_session_checkpoint after completing a milestone, before risky or long-running operations, and whenever the conversation is getting long. Use mode "merge" for incremental updates within the same task.

  • Subagents must not call save_session_checkpoint: they share the parent session's checkpoint, so a save would overwrite it. Report progress to the parent agent instead.

  • If a save result has sessionSource "minted" or "argument", pass its session id as session on every later checkpoint call in this conversation. When sessionSource is "env" (Claude Code), omit session.

  • In a workflow step (CHECKPOINT_WORKFLOW_ID is set), saves record the workflow on their own; to recover a step, load with workflowId to get the run's newest checkpoint, then pass its selector as resumedFrom.

  • Keep entries terse: the checkpoint is meant to be cheap to reload.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
save_session_checkpointA

Save the current session's goal, progress, touched files and recent commands to this session's checkpoint in the project (.claude-checkpoints/.json; a client without a session id gets one on its first save, returned as session), so a new session can resume after a crash, /clear, or context limit without re-exploring. Call after finishing a milestone, before risky operations, and when the conversation is getting long. Git branch, HEAD and uncommitted files are captured automatically. Subagents must not call this: they share the parent session's checkpoint. Report progress to the parent instead.

load_session_checkpointA

Load this session's checkpoint and return a compact brief of its goal, progress, next steps, touched files and recent commands, plus which files changed since it was saved. Call at the start of a session or when the user asks to resume. If this session has no checkpoint but others exist in the project, it returns a list instead: show it to the user, ask which one to resume, and call again with checkpoint set to its selector. After loading another session's checkpoint, pass that selector as resumedFrom on the next save_session_checkpoint call.

list_session_checkpointsA

List the checkpoints saved in the project (one per Claude Code session, plus a legacy .claude-checkpoint if present), newest first, with each one's goal, last-saved time, branch and whether all its tasks are done. Use it when the user wants to resume a different or older session; load one with load_session_checkpoint's checkpoint.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.7/5.0

Scored across 3 tools

Disambiguation5/5

The three tools map to cleanly separated operations: writing a checkpoint, reading one back, and enumerating available checkpoints. Descriptions explicitly cross-reference each other (load's `checkpoint` selector, list's role in choosing one), so an agent can pick the right tool without guessing.

Naming Consistency5/5

All three names follow the same verb_noun pattern (save/load/list_session_checkpoint) with only the natural pluralization on list. No mixed casing or vague verbs.

Tool Count5/5

Three tools is exactly the minimal complete set for a checkpoint save/restore workflow, and each one earns its place. Nothing here looks like padding or an artificial split of a single operation.

Completeness4/5

Save, load, and list cover the core crash-recovery lifecycle, including resuming another session's checkpoint via selector. The notable gap is deletion/pruning of stale checkpoints — there is no way to remove an obsolete or sensitive checkpoint through the tool surface.

Maintenance

ActivityNo data
ResponsivenessOutdated data