text_diff
Generate a unified diff between two text strings. Ideal for comparing file versions before and after edits.
contextmodifiedrequiredoriginalrequiredmodified_fileoriginal_file
io.github.lazymac2xPublished by GitHub account lazymac2xv1.0.0Updated Oct 24, 2026
Cloudflare Workers MCP server: diff-patch-tools
A remote MCP server that lets an assistant compute text and JSON diffs, apply or validate patches, and perform three-way merges.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.lazymac2x%2Fdiff-patch-tools/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"diff-patch-tools": {
"type": "http",
"url": "https://api.lazy-mac.com/diff-patch-tools/mcp"
}
}
}Cloudflare Workers MCP server: diff-patch-tools. REST + MCP (JSON-RPC 2.0). Live: api.lazy-mac.com/diff-patch-tools
Source: README.md at commit 9199f50
Generate a unified diff between two text strings. Ideal for comparing file versions before and after edits.
contextmodifiedrequiredoriginalrequiredmodified_fileoriginal_fileCompute a structural diff between two JSON values, showing added, removed, and replaced fields.
modifiedrequiredoriginalrequiredApply a unified diff patch to an original text and return the patched result.
patchrequiredoriginalrequiredPerform a three-way merge of base, ours, and theirs. Conflicts are marked with standard diff3 conflict markers.
baserequiredoursrequiredtheirsrequiredours_labeltheirs_labelParse a unified diff string and return line-level statistics: additions, deletions, hunks, files changed.
diffrequiredCheck whether a unified diff patch can be applied cleanly to an original text without actually applying it.
patchrequiredoriginalrequired90% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare a license in the repository or the registry entry.