io.github.MukundaKatta/diff-mcp (MCP) โ Character-precise unified diffs and patch parsing
This MCP server provides character-precise unified diff generation, patch application, and patch parsing. Its purpose is to produce patches that apply cleanly to code-review and code-edit agent workflows, avoiding diffs that are syntactically plausible but fail under standard tools.
๐ ๏ธ Key Features
- Character-precise unified diff output
- Patch application
- Patch parsing
- Tools:
unified_diff,apply_patch
๐ Use Cases
- Code review workflows that rely on accurate patch hunks
- Code editing agents that must generate diffs that work with common patch utilities
- Generating diffs that include correct context lines and hunk headers
โก Developer Benefits
- Diffs routed through this server are intended to work with standard
patchandgit applyon the first try unified_diffreturns patch text plus addition/deletion/unchanged line counts
โ ๏ธ Limitations
- The available documentation excerpt lists only
unified_diffandapply_patch, with no further supported behaviors or edge-case handling described