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 分