Breaking Changes & Migration Data
What breaks when you upgrade a package, and what to use instead - from official docs.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"breaking-changes": {
"url": "https://agentdataapi.onrender.com/mcp"
}
}
}遠端端點
https://agentdataapi.onrender.com/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟡list_packages
List every package with breaking-change data available, including tracked versions and how many breaking changes each has. Call this first if you are unsure whether a package is covered.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "list_packagesArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "list_packagesDictOutput"
}🟢get_breaking_changes(package, version)
Get breaking changes for a package upgrade: removed APIs with their replacements and the reason for each, changed defaults, behavior changes, known incompatible dependencies, official source URL, and codemod/automated-fix commands. Omit `version` to get every tracked version. Use this instead of relying on training data, which may predate the release.
輸入結構描述
{
"type": "object",
"properties": {
"package": {
"title": "Package",
"type": "string"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Version"
}
},
"required": [
"package"
],
"title": "get_breaking_changesArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "get_breaking_changesDictOutput"
}🟢check_upgrade_safety(package, target_version)
Given a package and the version you are upgrading TO, return a concise checklist an agent can act on: the count of breaking changes, the highest-risk removals, whether automated codemods exist, and the recommended upgrade path. Use before performing an upgrade.
輸入結構描述
{
"type": "object",
"properties": {
"package": {
"title": "Package",
"type": "string"
},
"target_version": {
"title": "Target Version",
"type": "string"
}
},
"required": [
"package",
"target_version"
],
"title": "check_upgrade_safetyArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "check_upgrade_safetyDictOutput"
}社群
證據