MCPServers
JsonDiffPatch - MCP server logo

JsonDiffPatch

5.0k
0

Summary

jsondiffpatch is a JavaScript library that compares and patches JSON objects, providing a compact delta format that captures additions, modifications, deletions, and array moves. Created by Benjamin Eidelman, it features smart array diffing using LCS algorithm, multiple output formatters (HTML, console, JSON Patch RFC 6902), and text diffing for long strings. The library includes an MCP server implementation that enables AI assistants to compare text or structured data in various formats (JSON, YAML, TOML, XML) and get readable diffs. Ideal for version control systems, data synchronization, and change visualization in web applications.

Available Actions(1)

diff

Compare text or data and get a readable diff. Inputs: left (string | unknown[] | Record<string, unknown>), leftFormat (optional string), right (string | unknown[] | Record<string, unknown>), rightFormat (optional string), outputFormat (optional string)

Last Updated: April 17, 2025

Community Reviews

0.0
0 reviews
5
0
4
0
3
0
2
0
1
0

No reviews yet. Be the first to review!

Sign in to join the conversation

Coming soon to
HighlightHighlight AI

Language

TypeScript

Categories

Tags