Dependency Migration Mcp

io.github.SolvoHQ由 GitHub 帳號 SolvoHQ 發布v0.1.2更新於 Oct 24, 2026

Through-the-upgrade dependency-migration briefs for LLM coding agents.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,為編碼代理提供相依套件主版本升級的結構化遷移簡報,涵蓋破壞性變更與過時 API 陷阱。

可以做什麼
依套件名稱與版本對取得遷移簡報,包含每項破壞性變更的分類、變更前後、修正方式與 codemod 涵蓋情形,並列出代理應抑制的過時 API 幻覺警告。
適用情境
適合在升級過程中運用:剛升級主版本、建置失敗時,讓代理在動手修改前先取得簡報。目前僅涵蓋少數組合:tailwindcss 3 到 4、next 14 到 15、react 18 到 19。
執行需求
以 Python 套件形式透過 stdio 在本機執行,可用 uvx 或 pip 啟動(需 Python 3.10+)。不需帳號、API 金鑰或環境變數;資料內建且離線,執行時不發起網路請求。
安裝前請注意
僅供讀取,只回傳簡報,不會修改程式碼。各組合準確度不同:僅 tailwindcss 3 到 4 標示為已驗證,其餘為合理準確度。不支援的套件會回傳 not_found 結果。安裝時會從公開 GitHub 儲存庫取得程式碼。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

dependency-migration-mcp

Through-the-upgrade migration briefs for LLM coding agents.

Official codemods auto-apply the mechanical ~90% of a major version bump. This MCP server briefs your agent on the non-mechanical ~10% that still leaves the build red, and corrects the agent's stale-v3-training hallucination of the old API surface — the part a codemod cannot do.

For one (package, from, to) triple it returns a structured brief: per breaking change — category, before/after, how to grep every occurrence in your code, the fix, and whether the free codemod already covers it — plus a top-level list of the specific old-API hallucinations the agent must suppress.

Supported matrix

packagefrom → totiersource
tailwindcss3 → 4flagship — verified against the upstream upgrade guide (2026-05-16)https://tailwindcss.com/docs/upgrade-guide
next14 → 15reasonable-accuracyhttps://nextjs.org/docs/app/guides/upgrading/version-15
react18 → 19reasonable-accuracyhttps://react.dev/blog/2024/04/25/react-19-upgrade-guide

Versions are normalised by major (3, 3.4.1, v3, ^3 → 3). An unknown package or unsupported pair returns a clean structured not_found (with the supported matrix) — never an exception. Data is hand-curated and offline (no runtime network calls).

Install (one command, zero account)

bash
uvx --from git+https://github.com/SolvoHQ/dependency-migration-mcp dependency-migration-mcp

That fetches, builds, and runs the stdio MCP server straight from public GitHub. No clone, no signup, no API key. (Need uvx? pip install uv.)

Prefer pip? A venv fallback:

bash
python3 -m venv .venv && . .venv/bin/activatepip install "git+https://github.com/SolvoHQ/dependency-migration-mcp.git"dependency-migration-mcp        # runs the stdio server

Wire it into your agent

Claude Code — claude mcp add:

bash
claude mcp add dependency-migration -- uvx --from git+https://github.com/SolvoHQ/dependency-migration-mcp dependency-migration-mcp

or drop this into .mcp.json at your project root:

json
{  "mcpServers": {    "dependency-migration": {      "command": "uvx",      "args": [        "--from",        "git+https://github.com/SolvoHQ/dependency-migration-mcp",        "dependency-migration-mcp"      ]    }  }}

Cursor — ~/.cursor/mcp.json:

json
{  "mcpServers": {    "dependency-migration": {      "command": "uvx",      "args": [        "--from",        "git+https://github.com/SolvoHQ/dependency-migration-mcp",        "dependency-migration-mcp"      ]    }  }}

Tool

get_migration(package: str, from_version: str, to_version: str) -> dict

Read-only. Returns a JSON-able brief: summary (counts, codemod command + what it does/doesn't cover, stale_training_hallucination_warnings, positioning) and breaking_changes[] (each with id, title, category ∈ {mechanical, non-mechanical, behavioural, removed-api, config-shape}, what_changed.{description,before,after}, find_occurrences.{guidance,patterns}, fix, codemod_covered, and codemod_command when covered).

Use it mid-upgrade: right after bumping a major version and seeing the build go red, ask the agent to call get_migration before it starts editing.

Smoke test

bash
pip install -r requirements.txt          # mcp>=1.2, pydantic>=2  (Python 3.10+)python smoke_test.py

Imports the server, calls get_migration("tailwindcss","3","4") and asserts the @tailwind→@import change, the CSS-first config-shape change, and a stale-training hallucination warning are present; then asserts an unknown pair returns a clean not_found.

來源:README.md,提交 6cf6a9b

工具

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

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

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