
Dependency Migration Mcp
io.github.SolvoHQ由 GitHub 账号 SolvoHQ 发布v0.1.2更新于 Oct 24, 2026
Through-the-upgrade dependency-migration briefs for LLM coding agents.
概览
本地 MCP 服务器,为编码代理提供依赖主版本升级的结构化迁移简报,涵盖破坏性变更与过时 API 陷阱。
- 可以做什么
- 按包名和版本对获取迁移简报,包含每项破坏性变更的分类、变更前后、修复方式与 codemod 覆盖情况,并列出代理应抑制的过时 API 幻觉警告。
- 适用场景
- 适合在升级过程中使用:刚升级主版本、构建报错时,让代理在动手修改前先获取简报。目前仅覆盖少数组合:tailwindcss 3 到 4、next 14 到 15、react 18 到 19。
- 运行要求
- 以 Python 包形式通过 stdio 在本机运行,可用 uvx 或 pip 启动(需 Python 3.10+)。无需账号、API 密钥或环境变量;数据内置且离线,运行时不发起网络请求。
安装
在 SourceWeft 中
- 打开 控制台中的 Dependency Migration Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
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)
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:
Wire it into your agent
Claude Code — claude mcp add:
or drop this into .mcp.json at your project root:
Cursor — ~/.cursor/mcp.json:
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
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版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。