diff-mcp
jsondiffpatch 로 구동됨
특징
텍스트 비교( google-diff-match-patch가 제공하는 텍스트 diff 사용)
데이터(json, json5, yaml, toml, xml, html)를 비교하고 다양한 출력 형식(text, json, jsonpatch)으로 읽을 수 있는 diff를 얻습니다.
Related MCP server: MCP JSONDiff Kel
도구
차이
텍스트나 데이터를 비교하여 읽을 수 있는 차이점을 얻습니다.
입력:
left(string | unknown[] | Record<string, unknown>): 왼쪽 텍스트 또는 데이터leftFormat(문자열, 선택 사항): text, json, json5(기본값), yaml, toml, xml, htmlright(string | unknown[] | Record<string, unknown>): 오른쪽 텍스트 또는 데이터(left와 비교)rightFormat(문자열, 선택 사항): text, json, json5(기본값), yaml, toml, xml, htmloutputFormat(문자열, 선택 사항): text(기본값), json, jsonpatch
설정
Claude Desktop과 함께 사용
claude_desktop_config.json 에 다음을 추가하세요:
지엑스피1
모든 기여자 ✨
특허
이 MCP 서버는 MIT 라이선스에 따라 라이선스가 부여됩니다. 즉, MIT 라이선스의 조건에 따라 소프트웨어를 자유롭게 사용, 수정 및 배포할 수 있습니다. 자세한 내용은 프로젝트 저장소의 LICENSE 파일을 참조하세요.
Available Tools
1 tooldiffC
compare text or data and get a readable diff
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, and the description does not disclose behavioral traits such as whether the operation is read-only, destructive, or requires specific permissions. The description is minimal and does not add behavioral context beyond the tool name.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very concise at one sentence, with no unnecessary words. However, it could be better structured by front-loading key information. It is adequately sized but lacks depth.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complex nested input schema, multiple format options, and no output schema, the description is insufficient. It does not explain the return value, error cases, or how different formats affect output. The tool requires richer context to be fully usable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has descriptions for sub-parameters (left, right, formats) but the main 'state' parameter lacks a description. The tool description does not add any parameter information, leaving the agent to rely solely on the schema. Schema coverage is 0% for the top-level parameter, but sub-parameters are documented.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it compares text or data and returns a diff. The verb and resource are specific, and the tool's name matches the purpose. However, it lacks details on what types of diff outputs are available, which could be more precise.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives, or when not to use it. The description simply states what it does without context for decision making.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.0- First observed
diff
TDQS
Scored across 1 tool
With only a single tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly stated and distinct by default.
The single tool name 'diff' is concise, descriptive, and matches the server's purpose. There is no mixed convention or inconsistency since there is only one tool.
One tool is on the low end of typical server sizes, but for a narrowly scoped diff utility it is a reasonable and focused set. It doesn't feel trivial since diff is a meaningful operation.
The server's stated purpose is to compare text or data and produce a readable diff, which is exactly what the tool provides. There are no obvious gaps for this single-operation domain.
Maintenance
Related MCP Connectors
Compare two JSON files deeply, ignoring order, to surface every difference. Get a clear, structure…
Compare two JSON files deeply, regardless of order. Get a detailed difference report highlighting…
Compare two JSON files deeply without worrying about key or array order. Detect missing, extra, an…
Compare two versions of a JSON row list: what was added, removed or changed, field by field.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables deep, order-independent comparison of JSON files to detect differences including missing keys, value mismatches, and type differences. Provides detailed reports with path tracking for precise identification of variations between JSON structures.MIT
- FlicenseCqualityDmaintenanceAn efficient MCP server for performing accurate, deep comparisons between JSON objects or strings using the deepdiff engine. It provides AI agents with standardized difference reports, supporting nested structures and various input formats to ensure precise data analysis.1-
- AlicenseNot gradedqualityFmaintenanceTransforms code diffs into beautiful visual comparisons with support for GitHub Gist sharing and local file output (HTML/PNG).11 npm12MIT
- FlicenseNot gradedqualityBmaintenanceValidates OpenAPI documents, JSON Schemas, and JSON payloads. Also compares OpenAPI specs and displays breaking changes.-
Appeared in Searches
- Compare all differences between two source code folders, including binary files
- A system for legal document analysis and contract management
- A method or tool for converting code into a tree structure
- Steps for analyzing new API documentation and writing test cases
- Tools or methods for editing files using diffs