Deprecation Mcp

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

MCP server for cross-vendor API/SDK deprecation and breaking-change tracking

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

概覽

AI 產生的概覽

讓助理在進行升級或維護前,查詢某個廠商 API 或 SDK 是仍在使用、已棄用還是已停用。

可以做什麼
只提供一個工具 check_deprecation,輸入 provider 和 target,回傳狀態(active、deprecated、sunset 或 unknown),以及棄用日期、停用日期、建議替代方案、遷移連結、來源連結和最後驗證日期。查詢不分大小寫,也支援別名比對。精選資料集涵蓋十個廠商 API 和 SDK,未收錄的內容會回傳 unknown,而不是確認仍在使用。
適用情境
適合助理在規劃或執行升級、遷移、維護工作時,確認某個廠商 API 或 SDK 是否仍受支援。它只是一個唯讀的小型查詢,適合當作快速預檢,而不是通用的 API 文件來源。
執行需求
以本機 stdio MCP 伺服器執行,透過 npm 套件 deprecation-mcp 安裝;README 說明用 Node.js 建置並啟動,並讓 MCP 用戶端指向建置後的進入點檔案。未宣告任何帳號、API 金鑰、環境變數或標頭。
安裝前請注意
唯讀:只回傳查詢結果,不會變更、傳送或刪除資料。涵蓋範圍僅限十筆精選記錄,unknown 代表未收錄,而非確認仍在使用。資料集為人工驗證,可能過時;README 指出其中三筆記錄即使沒有實際變動,也可能被標記為漂移。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

deprecation-mcp

A free, open MCP server for checking whether a vendor API or SDK is active, deprecated, or sunset — so an agent doing upgrade/maintenance work can check before it breaks, instead of after.

API/SDK deprecations are scattered across changelog pages, RSS feeds (if you're lucky), and Sunset/Deprecation HTTP headers (if the vendor bothers implementing RFC 8594). This server puts a curated, hand-verified answer behind one tool call.

No payment gating, no metering, no billing code of any kind — this is a plain open MCP server.

What it exposes

One tool, check_deprecation:

check_deprecation(provider: string, target: string) -> {  status: "active" | "deprecated" | "sunset" | "unknown",  deprecated_on: string | null,  sunset_on: string | null,  replacement: string | null,  migration_url: string | null,  source_url: string,  last_verified_at: string}

status: "unknown" (with a blank source_url) is returned for any provider/target not in the curated dataset below — it means "not tracked", not "confirmed active."

Curated dataset

Ten provider APIs/SDKs, each checked against the vendor's own published page (source_url) on the date in last_verified_at. Data lives in data/deprecations.json.

providertargetstatus
awsaws-sdk-js-v2sunset
stripesources-apideprecated
twilioprogrammable-chatsunset
githubdependency-graph-sbom-syncdeprecated
openaiassistants-apideprecated
slackclassic-appsdeprecated
sendgridv2-mail-senddeprecated
shopifyrest-admin-apideprecated
auth0rules-and-hooksdeprecated
paypalnvp-soap-apideprecated

Lookups are case-insensitive and also match each record's aliases (e.g. aws/aws-sdk resolves to aws-sdk-js-v2).

Run it

bash
npm installnpm run buildnpm start        # starts the stdio MCP server

Add to an MCP client

Claude Code (.mcp.json in your project, or claude mcp add):

json
{  "mcpServers": {    "deprecation": {      "command": "node",      "args": ["/absolute/path/to/deprecation-mcp/dist/index.js"]    }  }}

Any other stdio-based MCP client config follows the same shape: run node dist/index.js as the server command.

Worked example

Once connected, an agent calls:

json
{  "name": "check_deprecation",  "arguments": { "provider": "aws", "target": "aws-sdk-js-v2" }}

and gets back:

json
{  "status": "sunset",  "deprecated_on": "2024-09-08",  "sunset_on": "2025-09-08",  "replacement": "AWS SDK for JavaScript v3",  "migration_url": "https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrating-to-v3.html",  "source_url": "https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-javascript-v2/",  "last_verified_at": "2026-08-08"}

Tests

bash
npm test   # builds, then runs node:test against the lookup logic

Updating the dataset

Edit data/deprecations.json directly — no build step or scraper needed, it's read at server startup. Each record needs a real source_url you actually checked and an accurate last_verified_at. When you re-verify a record, recompute its content_hash too (see below).

Drift detection

Hand-checking ten source_urls every so often doesn't scale, and stale data is worse than no data. A weekly GitHub Action (.github/workflows/check-drift.yml) fetches each record's source_url, hashes the response body (sha256), and compares it to the content_hash stored on the record at last_verified_at. If the hash changed, the page changed since it was last verified — the record is flagged, not auto-updated. The automation never writes to data/deprecations.json; a changed page only means "a human or agent needs to re-verify this record by hand," never an inferred new status. Wrong auto-inferred status is worse than no automation.

When drift or a fetch failure is detected, the workflow opens (or updates) a single GitHub issue labeled drift-check summarizing which records need attention; it closes that issue automatically once a later run comes back clean.

Run it locally:

bash
npm run buildnpm run check-drift

Exits 0 if every record's hash still matches, 1 otherwise.

All ten source_urls were fetched with a plain GET (no headless browser, no bot-protection workaround) when their content_hash baselines were seeded, and all ten succeeded. If a vendor later adds bot protection or a redirect that breaks the plain-GET fetch, that record will show up as fetch_failed in the weekly report rather than being silently skipped.

Known limitation: the AWS blog post, Stripe docs page, and PayPal docs page (aws/aws-sdk-js-v2, stripe/sources-api, paypal/nvp-soap-api) embed per-request dynamic content — a nonce, timestamp, or session token that changes on every fetch even when the substantive page content hasn't. Their body hash is therefore not fully stable across requests, and the weekly check may occasionally flag one of these three as "drifted" even with no real change. This is disclosed rather than worked around (e.g. by stripping known-volatile substrings): a false-positive "please go look at this page" is an acceptable cost for a tool whose entire design principle is to never guess at a status. A human/agent re-verifying such a flagged record should expect it may be a false alarm.

來源:README.md,提交 a528a79

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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