Back to MCP Servers

Unified Diff

Generate and visualize unified diff comparisons with beautiful HTML/PNG output, supporting side-by-side and line-by-line views for filesystem dry-run integration

developer-tools

Installation

npx -y unified-diff-mcp

Configuration

{
  "mcpServers": {
    "unified-diff-mcp": {
      "command": "npx",
      "args": ["-y", "unified-diff-mcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub