jsondiff-mcp
v1.0.1Compare two JSON documents and apply RFC 6902 JSON Patch offline, with canonical output
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
diff_json
Structural diff between two JSON documents: added, removed and changed paths.
| Parameter | Type | Description |
|---|---|---|
left * | string | First JSON document as text |
right * | string | Second JSON document as text |
apply_json_patch
Apply an RFC 6902 JSON Patch (add, remove, replace, move, copy, test) to a document.
| Parameter | Type | Description |
|---|---|---|
patch * | string | JSON array of patch operations |
target * | string | JSON document as text |
canonical_json
Re-serialise JSON deterministically, sorting keys so equal values compare byte-for-byte.
| Parameter | Type | Description |
|---|---|---|
text * | string | JSON text |
indent | integer | Indent, 0 for compact, default 2 |
sortKeys | boolean | Sort object keys, default true |