Diff

Diff

4.0

If you are the rightful owner of Diff and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

diff-mcp is an MCP Server designed to compare text or data and provide a diff.

diff-mcp is a Model Context Protocol (MCP) server that leverages the jsondiffpatch library to compare text or data and generate a diff. It supports various data formats including JSON, JSON5, YAML, TOML, XML, and HTML, and can output the differences in multiple formats such as text, JSON, and JSONPatch. This tool is particularly useful for developers who need to track changes between different versions of data or text files. The server is powered by the jsondiffpatch library and integrates the google-diff-match-patch for text comparison, ensuring accurate and efficient diff generation.

Features

  • Compare text using google-diff-match-patch for accurate text diffs.
  • Support for multiple data formats including JSON, JSON5, YAML, TOML, XML, and HTML.
  • Output diffs in various formats: text, JSON, and JSONPatch.
  • Easy integration with developer tools and platforms.
  • Open-source and licensed under the MIT License.