Letmediff MCP

it.letmediff由 letmediff.it 发布v0.0.11更新于 Oct 24, 2026

The official Letmediff MCP server helping you review your code with an agent first workflow

已验证STDIO仅桌面开发者工具沟通与协作

概览

AI 生成的概览

本地 MCP 服务器,对仓库代码差异做快照、把检查点上传到 letmediff 网页应用,并把评审反馈返回给智能体。

可以做什么
  • 创建命名检查点,保存自上次快照以来的代码差异
  • 重置评审,清空所有检查点并从当前工作区重新开始
  • 上传已收集的检查点并获取可分享的差异评审链接
  • 等待网页应用中提交的反馈,并交回给智能体
适用场景
适合希望由人在同一编码会话中评审智能体代码改动的场景:智能体把改动整理成检查点、给出评审链接,并在收到反馈后继续工作。
运行要求
通过 npx 从 npm 包以本地进程方式运行,需在被评审的仓库中启动。需要 Git 做快照,并能访问 letmediff 网页应用;可用 URL 环境变量指向其他基础地址,默认使用托管服务。
安装前请注意
检查点差异会上传到 letmediff 网页应用,代码会离开本机,拿到返回链接的人都能查看差异。reset_review 工具具有破坏性,会清空所有检查点。检查点仅保存在内存中,进程结束后即丢失。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Letmediff MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

letmediff CLI

letmediff is an MCP server that lets an agent share its current code diff for review and receive feedback from the reviewer without leaving the coding session.

It snapshots the repository where it is started, tracks named checkpoints, uploads the checkpoint diffs to the letmediff web app, and waits for feedback over server-sent events.

Install

From the published package:

sh
pnpm dlx letmediff

From this workspace:

sh
pnpm --filter letmediff exec letmediff

MCP Usage

Configure your MCP client to run letmediff in the repository you want reviewed.

Example command:

sh
letmediff

For local app development, point the CLI at the local SvelteKit server:

sh
URL=http://localhost:5173 letmediff

If URL is not set, the CLI posts diffs to https://letmediff.com.

Tools

The server exposes four MCP tools.

  • create_checkpoint: stores the diff since the previous snapshot under a reviewer-friendly name.
  • reset_review: clears all checkpoints and restarts the review from the current working tree. Destructive.
  • get_url: uploads the collected checkpoints and returns the shareable /diff/[id] URL.
  • wait_for_feedback: waits for feedback submitted from the web app and returns it to the agent.

Review Flow

  1. Start the MCP server from the repository being edited.
  2. Ask the agent to create checkpoints when a change should appear as a separate review section.
  3. Ask the agent for the review URL.
  4. Open the URL, review the rendered diff, and submit feedback.
  5. The agent receives the feedback through wait_for_feedback and can continue working.

Development

Install dependencies from the repo root:

sh
pnpm install

Run tests:

sh
pnpm --filter letmediff test

The CLI entry point is src/index.js. Git snapshotting and checkpoint diff generation live in src/git.js.

Environment

  • URL: base URL of the letmediff app. Defaults to https://letmediff.com.

Notes

  • The server uses stdio transport, so normal stdout is reserved for MCP communication.
  • It snapshots the current working directory at startup, excluding .git.
  • Checkpoints are kept in memory for the life of the MCP process.

来源:packages/letmediff/README.md,提交 8f80bb3

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.0.11最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。