text-diff-mcp
v1.0.1Unified 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.
| Parameter | Type | Description |
|---|---|---|
after * | string | New text |
before * | string | Original text |
context | integer | Context lines around each change |
labelAfter | string | Label for the new file in the header |
labelBefore | string | Label for the original file in the header |
diff_stats
Count added, removed and unchanged lines between two texts.
| Parameter | Type | Description |
|---|---|---|
after * | string | New text |
before * | string | Original text |