Agentโ™ฅ๏ธŽAge
Catalog

io.github.MukundaKatta/diff-mcp

Official

by MukundaKatta ยท JavaScript

Character-precise unified diff + patch application + patch parsing.

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 patch and git apply on the first try
  • unified_diff returns patch text plus addition/deletion/unchanged line counts

โš ๏ธ Limitations

  • The available documentation excerpt lists only unified_diff and apply_patch, with no further supported behaviors or edge-case handling described