diff-mcp
Allows comparison of TOML data, generating diffs between TOML structures, and processing TOML content for difference analysis
Supports comparison of XML data, generating diffs between XML structures, and processing XML content for difference analysis
Enables comparison of YAML data, generating diffs between YAML structures, and processing YAML content for difference analysis
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@diff-mcpcompare these two JSON configs and show me what changed"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
powered by jsondiffpatch
Features
compare text (using text diff powered by google-diff-match-patch )
compare data (json, json5, yaml, toml, xml, html) and get a readable diff in multiple output formats (text, json, jsonpatch)
Related MCP server: JSON Compare MCP Server
Tool
diff
compare text or data and get a readable diff.
Inputs:
left(string | unknown[] | Record<string, unknown>): left text or dataleftFormat(string, optional): text, json, json5 (default), yaml, toml, xml, htmlright(string | unknown[] | Record<string, unknown>): right text or data (to compare with left)rightFormat(string, optional): text, json, json5 (default), yaml, toml, xml, htmloutputFormat(string, optional): text (default), json, jsonpatch
Setup
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"diff": {
"command": "npx",
"args": [
"-y",
"diff-mcp"
]
}
}
}All contributors ✨
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
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
Related MCP Servers
- Flicense-quality-maintenanceEnables intelligent file and folder comparison with advanced text normalization, duplicate detection, and line-level diff analysis. Provides secure workspace-constrained file operations with CRC32-based exact matching and smart text comparison capabilities.Last updated
- Alicense-qualityDmaintenanceEnables 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.Last updatedMIT
- 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.Last updated1
- Alicense-qualityFmaintenanceTransforms code diffs into beautiful visual comparisons with support for GitHub Gist sharing and local file output (HTML/PNG).Last updated2412MIT
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…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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