由jsondiffpatch提供支持
特征
比较文本(使用由google-diff-match-patch提供支持的文本差异)
比较数据(json、json5、yaml、toml、xml、html)并以多种输出格式(text、json、jsonpatch)获得可读的差异
Related MCP server: IntelliDiff MCP Server
工具
差异
比较文本或数据并获取可读的差异。
输入:
left(字符串 | 未知[] | Record <string, unknown>):左侧文本或数据leftFormat(字符串,可选):text、json、json5(默认)、yaml、toml、xml、htmlright(字符串 | 未知[] | Record <string, unknown>):右侧文本或数据(与左侧进行比较)rightFormat(字符串,可选):text、json、json5(默认)、yaml、toml、xml、htmloutputFormat(字符串,可选):文本(默认)、json、jsonpatch
设置
与 Claude Desktop 一起使用
将其添加到您的claude_desktop_config.json中:
{
"mcpServers": {
"diff": {
"command": "npx",
"args": [
"-y",
"diff-mcp"
]
}
}
}所有贡献者✨
执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
- diffC
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/benjamine/jsondiffpatch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
