🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

letmediff

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

letmediff

MCP server of letmediff.it...allows the agent to show the diff url and receive the diff comments from the server

latest
Source
npmnpm
Version
0.0.10
Version published
Weekly downloads
39
62.5%
Maintainers
1
Weekly downloads
 
Created
Source

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:

pnpm dlx letmediff

From this workspace:

pnpm --filter letmediff exec letmediff

MCP Usage

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

Example command:

letmediff

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

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

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

Development

Install dependencies from the repo root:

pnpm install

Run tests:

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.

FAQs

Package last updated on 28 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts