MCP·09D606
B

jsondiffpatch

By benjamine·Visit Source
JavaScript对象差异比较与补丁应用
2025年4月18日
3 months ago
3 Clicks
About jsondiffpatch

JavaScript对象差异比较与补丁应用. jsondiffpatch is a Model Context Protocol (MCP) server maintained by benjamine. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 6 tools, including jsondiffpatch.diff, jsondiffpatch.patch, jsondiffpatch.reverse, jsondiffpatch.unpatch, jsondiffpatch.clone and jsondiffpatch.create, that an agent can call directly. It is categorized under Tool/TypeScript, Data/Format and Development/Utility.

什么是这个MCP

jsondiffpatch是一个用于比较和修补JSON对象的JavaScript库,它能生成表示两个对象间差异的增量数据。该库支持多种输出格式及高级功能,如数组差异比较和文本差异比较。

如何使用这个MCP

可通过npm安装或直接在浏览器中使用。使用jsondiffpatch.diff()创建两个对象间的差异,用jsondiffpatch.patch()应用补丁,并通过jsondiffpatch.reverse()撤销更改。可通过objectHash等选项自定义数组差异比较行为。

这个MCP的用途

jsondiffpatch适用于版本控制系统、实时协同编辑、审计日志记录,以及任何需要高效比较和同步JSON数据结构的应用场景。

Repository Info
Stars:
5301
Forks:
495
Watchers:
5301
Last Updated: 3 months ago

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the jsondiffpatch MCP server?

jsondiffpatch is a Model Context Protocol server from benjamine. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

How do I connect jsondiffpatch to my AI client?

Add jsondiffpatch to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

What tools does jsondiffpatch provide?

jsondiffpatch provides 6 tools: jsondiffpatch.diff, jsondiffpatch.patch, jsondiffpatch.reverse, jsondiffpatch.unpatch, jsondiffpatch.clone and jsondiffpatch.create.

Is jsondiffpatch free to use?

jsondiffpatch is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.