Json diff
About
json diff tool based on Model Context Protocol (MCP)
Details
- Author
- YohanLiu
- Downloads
- 193
- Categories
- Developer Tools, Other
Jump to
—
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Json diffCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Configure the MCP server with uvx mcp-jsondiff-kel@latest or test using the inspector command: npx @modelcontextprotocol/inspector uvx mcp-jsondiff-kel.
jsonDiff
执行json对比
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"json diff": {
"mcp_jsondiff": {
"command": "uvx",
"args": [
"mcp-jsondiff-kel@latest"
]
}
}
}
}
McpServers
{
"mcp_jsondiff": {
"command": "uvx",
"args": [
"mcp-jsondiff-kel@latest"
]
}
}
基于 Model Context Protocol (MCP) 的高效JSON对比工具,专为AI对话场景设计。
- 准确性不足: 传统AI对比方法可能存在误判
- 理解偏差: AI可能误解需求,生成对比代码而非直接对比结果
- 输出冗长: 对比结果过于详细,难以快速获取关键信息
本项目通过MCP协议提供标准化的JSON对比服务,确保AI能够准确、快速地完成JSON对比任务。
git clone https://github.com/your-username/mcp-jsondiff.git cd mcp-jsondiff pip install -e .
{ "mcpServers": { "mcp_jsondiff": { "command": "uvx", "args": [ "mcp-jsondiff-kel@latest" ] } } }
{ "mcpServers": { "mcp_jsondiff": { "command": "uvx", "args": [ "mcp-jsondiff-kel@latest" ] } } }
首先在对话框中选择此 mcp 工具然后输入形如如下的文案即可进行对比json对比,预期值:{"a":1,"b":2}, 实际值:{"a":1,"b":2}
- 🔍 智能对比: 基于deepdiff库的深度JSON差异检测
- ⚡ 快速响应: 优化的对比算法,支持大型JSON文档
- 🔄 灵活输入: 支持JSON字符串和字典对象两种输入格式
- 📊 清晰输出: 结构化的差异报告,快速定位问题
- 🔧 MCP集成: 无缝集成到支持MCP协议的AI应用中
- 🐍 Python原生: 基于Python 3.13+,性能优异
- expectKey(Union[str, dict]): 期望的JSON值,支持JSON字符串或字典对象
- actualKey(Union[str, dict]): 实际的JSON值,支持JSON字符串或字典对象
{ "differences": "DeepDiff对象,包含所有差异信息", "is_identical": "布尔值,表示两个JSON是否完全一致", "message": "字符串,描述对比结果或错误信息" }
- 自动忽略数组顺序差异 (ignore_order=True)
- 支持嵌套JSON结构对比
- 智能错误处理,提供清晰的错误信息
npx @modelcontextprotocol/inspector uvx mcp-jsondiff-kel
cd src/mcp_jsondiff_kel python server.py
mcp-jsondiff/ ├── pyproject.toml # 项目配置和依赖 ├── README.md # 项目文档 ├── src/ │ └── mcp_jsondiff_kel/ │ ├── __init__.py # 包入口点 │ ├── __main__.py # 命令行入口 │ └── server.py # MCP服务器核心逻辑 └── uv.lock # 依赖锁定文件
- Python 3.13+: 核心运行时
- FastMCP: MCP协议实现框架
- DeepDiff: JSON差异检测引擎
- Hatchling: 构建系统
- Fork 本仓库
- 创建特性分支 (git checkout -b feature/AmazingFeature)
- 提交更改 (git commit -m 'Add some AmazingFeature')
- 推送到分支 (git push origin feature/AmazingFeature)
- 开启 Pull Request
# 克隆仓库 git clone https://github.com/your-username/mcp-jsondiff.git cd mcp-jsondiff # 安装开发依赖 pip install -e ".[dev]" # 运行测试 python -m pytest
- 初始版本发布
- 支持基础JSON对比功能
- MCP协议集成
- 错误处理和用户友好的输出格式
- Model Context Protocol- 提供MCP协议标准
- DeepDiff- 强大的差异检测库
- FastMCP- 高效的MCP实现框架
- 在GitHub Issues中提交问题
- 发送邮件至2220041897@qq.com
- 参与社区讨论
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
A hosted MCP server for generating fake data using faker-go
Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server
MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.
Browser automation via MCP for Chrome and Firefox
Bring the full power of BrowserStack’s Test Platform to your AI tools, making testing faster and easier for every developer and tester on your team.
A Model Context Protocol server for generating visual charts using AntV.
Official Chrome DevTools MCP server for controlling and inspecting a live Chrome browser from coding agents such as Gemini, Claude, Cursor, and Copilot.
Run code in secure sandboxes hosted by E2B
An MCP server for interacting with the Postman API, requiring an API key.
Proxyman MCP allows AI to inspect HTTP traffic, create debugging rules, and control Proxyman - all through natural language conversations.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





