text-diff-mcp

v1.0.1
io.github.mrfentmen/text-diff-mcp Checked 1 day ago Published 24 days ago

Unified diffs of two texts: change hunks with context, plus added and removed line counts

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

unified_diff

Build a unified diff (patch format) between two texts.

ParameterTypeDescription
after *stringNew text
before *stringOriginal text
contextintegerContext lines around each change
labelAfterstringLabel for the new file in the header
labelBeforestringLabel for the original file in the header

diff_stats

Count added, removed and unchanged lines between two texts.

ParameterTypeDescription
after *stringNew text
before *stringOriginal text