Diff Forge Mcp

io.github.ryudi84由 GitHub 帳號 ryudi84 發布v1.0.1更新於 Oct 24, 2026

Compare text and code, show differences with context

已驗證STDIO僅桌面開發者工具

概覽

AI 產生的概覽

讓助理比較兩段文字或程式碼,回傳逐行統一差異以及基本的差異統計。

可以做什麼
提供兩個工具:diff_text 比較兩段文字,以加號和減號標記逐行顯示差異;diff_stats 回報兩段文字之間的字元數、字數與行數差異。它在本機執行,供 IDE 或桌面 MCP 用戶端呼叫,用來檢視文字或程式碼版本之間的變化。
適用情境
適合需要助理展示某段程式碼、檔案內容或字串在兩個版本之間有何變化,並概括變動幅度時使用。也方便審閱編輯結果,或將生成內容與原始內容對比。
執行需求
以本機程序透過 stdio 執行,可用 npx diff-forge-mcp 啟動,或以 Node.js 和 npm 從原始碼建置。未宣告任何驗證、環境變數或標頭。
安裝前請注意
README 範例呼叫的工具名稱為 text_diff,但工具表列出的是 diff_text,實際工具名稱可能與範例不同。未描述任何憑證、付款或寫入操作;輸入文字在本機處理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Diff Forge Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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

bash
npx diff-forge-mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

json
{  "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:

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

Build from Source

bash
git clone https://github.com/ryudi84/sovereign-mcp-serverscd sovereign-mcp-servers/diff-forgenpm install && npm run buildnpm 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!

來源:diff-forge/README.md,提交 da6bbcc

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。