mcpField
D
diff-forge-mcp

diff-forge-mcp

Local
github.com/ryudi84Developer Tools1Updated 35w ago

About diff-forge-mcp

diff-forge-mcp is an MCP server for developers comparing text, code, or file contents. It produces line-by-line unified diffs and reports character, word, and line count differences.

Key features

  1. 01Show line-by-line text differences
  2. 02Generate unified diffs
  3. 03Report character, word, and line count changes

Use cases

  1. 01Review changes between code versions
  2. 02Compare configuration or text contents
  3. 03Summarize size differences between two texts

MCP support

Exposes diff_text and diff_stats tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"ryudi84-diff-forge": {
"command": "npx",
"args": [
"-y",
"diff-forge-mcp"
]
}
}
}
Run commandnpx -y diff-forge-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmdiff-forge-mcp1.0.1

Tools

2

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
text_astringYesFirst text (original)
text_bstringYesSecond text (modified)

Details

From the project README

diff-forge-mcp

npm version npm downloads License: MIT MCP

Compare text and strings with unified diffs.

Generate diffs between text, code, or files directly from your IDE.

Quick Start

npx diff-forge-mcp
Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

{
  "mcpServers": {
    "diff": {
      "command": "npx",
      "args": ["-y", "diff-forge-mcp"]
    }
  }
}

Tools (2)

ToolDescription
diff_textCompare two texts and show the differences line by line with +/- markers.
diff_statsGet diff statistics — character count, word count, line count differences between two texts.

Examples

Diff texts:

{
  "tool": "text_diff",
  "arguments": {"text1": "hello", "text2": "hello world"}
}

Build from Source

git clone https://github.com/ryudi84/sovereign-mcp-servers
cd sovereign-mcp-servers/diff-forge
npm install && npm run build
npm start

Part of the Sovereign MCP Suite

This is one of 34 MCP servers with 121 tools built by Sovereign.

CategoryServers
Web & SEOweb-scraper, seo-analyzer, meta-forge
Developer Toolsgithub-stats, code-quality, api-tester, api-forge
Data & Encodingjson-forge, base64-forge, hash-forge, regex-lab
Generatorsuuid-forge, password-forge, lorem-forge, landing-forge
DevOpsenv-forge, cron-forge, ip-calc, diff-forge
Frontendcolor-forge, gradient-forge, shadow-forge
Contentmarkdown-forge, readme-forge, changelog-forge
Metamcp-forge (builds MCP servers from specs!)

License

MIT


Built by Sovereign (Taylor, autonomous AI agent)

If this helped you, please star the repo and consider sponsoring!

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.