原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Claude Checkpoint MCP

作者:daniel-munoz版本 0.3.3i★ –i在你的电脑上运行
注册名称io.github.daniel-munoz/claude-checkpoint-mcp

安装

概览

作者提供的说明(英文原文)

MCP server that checkpoints Claude Code session context to survive crashes and token limits

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CHECKPOINT_PROJECT_ROOT, CLAUDE_CODE_SESSION_ID

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "claude-checkpoint": {
      "command": "npx",
      "args": [
        "-y",
        "session-checkpoint-mcp"
      ],
      "env": {
        "CHECKPOINT_PROJECT_ROOT": "your-value",
        "CLAUDE_CODE_SESSION_ID": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add claude-checkpoint --env CHECKPOINT_PROJECT_ROOT=your-value --env CLAUDE_CODE_SESSION_ID=your-value -- npx -y session-checkpoint-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "claude-checkpoint": {
      "command": "npx",
      "args": [
        "-y",
        "session-checkpoint-mcp"
      ],
      "env": {
        "CHECKPOINT_PROJECT_ROOT": "your-value",
        "CLAUDE_CODE_SESSION_ID": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "claude-checkpoint": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "session-checkpoint-mcp"
      ],
      "env": {
        "CHECKPOINT_PROJECT_ROOT": "your-value",
        "CLAUDE_CODE_SESSION_ID": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CHECKPOINT_PROJECT_ROOT env
    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 env
    Set automatically by Claude Code; do not set it yourself. Selects the per-session checkpoint file (.claude-checkpoints/ .json). Without it the server uses the shared .claude-checkpoint file.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 daniel-munoz 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4906 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4906 个服务器的 98% 更新
  • 基础检查结果等于或优于此分类中其他 4906 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Claude Checkpoint MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.3)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

session-checkpoint-mcp

Save your Claude Code session state locally, so a crash, `/clear`, or context limit doesn't make Claude rebuild context from scratch.

session-checkpoint-mcp is a local Model Context Protocol server with three tools:

  • save_session_checkpoint writes your session's working state to a small JSON file in the project.
  • load_session_checkpoint turns that file back into a compact resume brief.
  • list_session_checkpoints lists the checkpoints in the project, so you can pick which session to resume.

Each Claude Code session gets its own checkpoint, so several sessions can share a directory without overwriting each other.

It runs entirely on your machine. Nothing is sent anywhere.

Fork of tenlean/claude-checkpoint-mcp by Tenzin. The repository keeps that original name. The server is published as session-checkpoint-mcp, and the Claude Code plugin is session-checkpoint.


Contents

  • Why: stop paying twice for the same context
  • How it works
  • Installation
  • Configuration
  • Environment variables
  • Claude Code
  • Claude Desktop
  • Other MCP clients
  • Usage
  • Tool reference & examples
  • The checkpoint files
  • Security & privacy
  • Troubleshooting
  • Development

Why: stop paying twice for the same context

A long Claude Code session builds up a lot of context:

  • what you're trying to do;
  • which approaches already failed;
  • which files matter;
  • which test is still red.

Several things can wipe that out mid-task:

  • a terminal crash, SSH drop, or laptop sleep;
  • running out of context window;
  • a /clear to get a fresh window.

The next session starts cold. To get back to where you were, Claude has to rebuild that context:

  • Re-reading files to work out what was changed and why. Every file read is input tokens.
  • Re-running exploration: grep, git diff, ls, test runs, all just to rediscover state.
  • Re-explaining. You retype the goal, the constraints, and the dead ends, or Claude rediscovers the dead ends the hard way.

Each of those turns resends the growing conversation as input, so the cost compounds.

`session-checkpoint-mcp` swaps that rebuild for one small, structured read:

Without a checkpointWith load_session_checkpoint
Restoring the goal & constraintsYou retype them, or Claude infers themOne section of the brief
Knowing what's done vs. pendingRe-derived from code and gitTask list with statuses
Knowing which files matterBroad re-readingExact list of touched files, with notes
Knowing what changed sinceRe-read everything to be safeOnly files whose content actually changed are flagged
Remembering failed attemptsOften repeatedRecorded under *Decisions & gotchas*

The resume brief for a typical session is about 1.2 KB of markdown, a few hundred tokens. The example below is real output at that size.

The biggest saving comes from drift detection. At save time, the server records a content hash for every file with uncommitted changes. On load, it compares those hashes against the working tree and tells Claude exactly which files changed after the checkpoint. Everything else in the brief can be trusted as-is, so Claude re-reads only what it has to.


How it works

  Session 1                                     Session 2 (after crash / /clear)

───────── ──────────────────────────────── Claude ──save_session_checkpoint──┐ ┌──load_session_checkpoint── Claude goal, tasks, summary, │ │ compact markdown brief next steps, decisions, ▼ │ + "changed since checkpoint" files, commands ┌─────────────────────┐ │ / │ server adds: │ .claude-checkpoint │◀── git: branch, HEAD, git branch/HEAD, │ .claude-checkpoint │ dirty files + hashes dirty files + hashes, │ .prev (backup) │ redacts secrets └─────────────────────┘

  • Claude supplies the meaning: the goal, progress, decisions, next steps, and which commands mattered.
  • The server supplies the facts: git branch and HEAD, every uncommitted or untracked file with its content hash, and timestamps.
  • The server instructions teach Claude when to act. Claude is told to load at the start of a session and to save after milestones, before risky operations, and when the conversation gets long. It doesn't need to be prompted every time.
One checkpoint per session

Claude Code passes each MCP server its session id (CLAUDE_CODE_SESSION_ID). The server uses it to give every session its own file, /.claude-checkpoints/ .json, so sessions that share a directory (/tmp, or wherever you run claude agents) never overwrite or merge into each other.

  • Saving always writes the current session's own file.
  • Loading returns the session's own checkpoint if it has one. Otherwise, if other checkpoints exist, it returns a list (goal, last-saved time, branch, whether all tasks are done) and Claude asks you which one to resume. It never picks one for you, even when there's only one.
  • Resuming another session's checkpoint loads it, but saves still go to the current session's own file, starting from what was loaded and recording where it came from (resumedFrom). The original is never modified.
  • Checkpoints are kept until you delete them, so an old session can be resumed later.
  • Clients without a session id (e.g. Claude Desktop) use the single /.claude-checkpoint file, exactly as before. A .claude-checkpoint left by an earlier version shows up in the list as legacy.

The session id an MCP server sees is the one it was started with:

You…The server seesResult
start a fresh claude (e.g. after a crash)a new idthe list, so you pick what to resume
run /clearthe same id as before the clearthe pre-clear checkpoint loads directly; later saves keep updating it
run claude --resume that idthat session's checkpoint loads directly
run claude --continue, or --resume without an idpossibly a different idthe list

Installation

Requirements: Node.js 20+ and git. Git is optional, but without it you lose drift detection.

git clone https://github.com/daniel-munoz/claude-checkpoint-mcp.git

cd claude-checkpoint-mcp npm install npm run build

The server entry point is now at dist/index.js.

From npm. The server is also published as session-checkpoint-mcp. In any of the configurations below, you can replace node /absolute/path/to/claude-checkpoint-mcp/dist/index.js with npx -y session-checkpoint-mcp:

claude mcp add --scope user checkpoint -- npx -y session-checkpoint-mcp

(The npm package claude-checkpoint-mcp is the upstream project's 0.1.0 release, not this fork.)


Configuration

Environment variables
VariableSet byRequiredDefaultWhat it does
CHECKPOINT_PROJECT_ROOTYou (optional)NoUnset: the client's root, then the server's working directoryAbsolute path of the default project to checkpoint. Use it for clients with no current project, such as Claude Desktop. A projectRoot argument on a tool call takes precedence.
CLAUDE_CODE_SESSION_IDClaude Code, automaticallyNoUnset: one shared .claude-checkpoint filePicks this session's checkpoint file, .claude-checkpoints/ .json. You don't set it. See one checkpoint per session.
Claude Code

As a plugin (easiest). This repo is also a Claude Code plugin marketplace. You don't need to clone or build anything:

claude plugin marketplace add daniel-munoz/claude-checkpoint-mcp

claude plugin install session-checkpoint@daniel-munoz

Restart Claude Code, then /mcp should show plugin:session-checkpoint:session-checkpoint as connected.

Upgrading from 0.2.x or earlier? The plugin was renamed from claude-checkpoint-mcp to session-checkpoint in 0.3.0, because Claude Code reserves the claude- prefix for its own plugins. Uninstall the old plugin and install the new one:

`sh

claude plugin uninstall claude-checkpoint-mcp@daniel-munoz

claude plugin marketplace update daniel-munoz

claude plugin install session-checkpoint@daniel-munoz

`

The full tool names changed from mcp__plugin_claude-checkpoint-mcp_claude-checkpoint__* to mcp__plugin_session-checkpoint_session-checkpoint__*. Update any permission allowlists in settings.json, hooks, or instructions that use the old names. Short names such as save_session_checkpoint and your existing checkpoint files are unaffected.

Manual setup. If you cloned the repo, register the server once for your user account, so it's available in every project:

# Run from the claude-checkpoint-mcp directory

claude mcp add --scope user checkpoint -- node "$PWD/dist/index.js"

Use an absolute path. A user-scoped server is launched from whichever project you open Claude Code in. A relative path like ./dist/index.js would resolve against *that* project, not this repo. "$PWD/dist/index.js" expands to the absolute path when you run the command, which is what gets saved.

Check that it's registered:

claude mcp list

Inside a session, /mcp should show checkpoint as connected.

Project-scoped alternative. To share the server with a team through version control, add it to the project's .mcp.json:

{

"mcpServers": { "checkpoint": { "command": "node", "args": ["/absolute/path/to/claude-checkpoint-mcp/dist/index.js"] } } }

Either way, add the checkpoint files to the project's .gitignore, or to your global gitignore:

.claude-checkpoint*
Claude Desktop (claude_desktop_config.json)

Open the config file:

OSPath
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json

Add the server under mcpServers, using the absolute path to your local build:

{

"mcpServers": { "checkpoint": { "command": "node", "args": ["/absolute/path/to/claude-checkpoint-mcp/dist/index.js"], "env": { "CHECKPOINT_PROJECT_ROOT": "/absolute/path/to/your/project" } } } }

Restart Claude Desktop after saving the file.

Claude Desktop has no notion of a "current project". Use CHECKPOINT_PROJECT_ROOT to set the default project, or have Claude pass projectRoot on each call (*"save a checkpoint for /home/me/code/my-app"*). See project root resolution.

Other MCP clients

Any MCP client that supports the stdio transport can run the server:

node /absolute/path/to/claude-checkpoint-mcp/dist/index.js

or

npx -y session

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx