DepScope

dev.depscope由 depscope.dev 發布官方發布者v0.9.24更新於 Oct 24, 2026

Package intelligence MCP for AI agents — 22 tools, 19 ecosystems, AGPL SDK, free.

已驗證Streamable HTTP可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

DepScope 是套件情報 MCP 伺服器,讓助理在安裝前跨 19 個生態系驗證套件。

可以做什麼
檢查套件:是否存在、是否棄用、健康分數、最新版本,以及為棄用套件提供精選替代方案,並支援跨生態系(npm、PyPI、Cargo、Go、Maven 等)比較健康度、授權與漏洞。評估風險:來自 OSV 的未修補 CVE 及 KEV/EPSS 訊號、仿冒套件名稱相似度檢查與相依堆疊相容性檢查。規劃升級:版本間的破壞性變更與遷移方案、來自 GitHub issue 的已知缺陷。排查問題:將錯誤訊息對應到可能原因與修正方式,並跨生態系搜尋相似錯誤回報。
適用情境
當 AI 程式助理安裝或升級相依套件時,希望在進入專案前攔下虛構、已棄用或仿冒的套件名稱;或需要比較函式庫、規劃遷移時使用。
執行需求
可使用 mcp.depscope.dev 遠端端點,或透過 npx 執行本機 npm 套件 depscope-mcp(需要 Node.js)。未宣告驗證、API 金鑰或環境變數;需要能連線至 DepScope 後端的網路。
安裝前請注意
伺服器在握手時會向用戶端送出系統提示指令,要求模型主動呼叫,從而在無需手動規則檔的情況下改變助理行為。查詢的套件名稱與錯誤訊息會傳送給第三方 depscope.dev 後端。後端為專有實作,README 說明 0.9.0 以下的 npm 版本已棄用。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.depscope%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "depscope": {
      "type": "http",
      "url": "https://mcp.depscope.dev/mcp"
    }
  }
}

README

DepScope MCP Server

[npm version] [License: AGPL-3.0] [MCP Compatible]

Package intelligence MCP server for AI agents. Stops AI coding agents (Claude, ChatGPT, Cursor, Windsurf, Copilot) from installing hallucinated, deprecated, or malicious packages across 19 ecosystems.

→ Backed by depscope.dev — 1.2M+ packages indexed, 19,000+ vulnerabilities tracked, real-time.

What's new in v0.9.0

The MCP server now sends a system-prompt directive to your AI client at handshake (server.instructions). Claude Code, Cursor, Windsurf and other MCP clients receive a proactive-invocation brief automatically — manual rule files (CLAUDE.md, .cursorrules, .windsurfrules) are now optional. Existing rules still work; they're just redundant.

What the model sees at every session start:

  • The 19-ecosystem coverage list
  • An "INVOKE PROACTIVELY" directive with explicit triggers (install, version bump, lockfile change, "module not found" errors, library comparison)
  • Three pillars: token-saving, energy-saving, security
  • Standard invocation flow: check_malicious → check_typosquat → check_package → install_command

For Claude Code there is also a companion plugin that bundles the MCP server with a skill carrying rich frontmatter triggers:

bash
git clone https://github.com/cuttalo/depscope-claude-plugin ~/.claude/plugins/depscope

All npm versions <0.9.0 are now deprecated. Run npm update -g depscope-mcp if you installed globally.


Why this exists

LLMs frequently invent package names that look real but don't exist (fastapi-turbo, lodahs, tokio-stream-extras). When an agent tries to install one, it might hit an attacker's typosquat. DepScope verifies every package before install.

Quick start

Claude Desktop / Cursor / Windsurf (remote MCP)

Add to your MCP config:

json
{  "mcpServers": {    "depscope": {      "url": "https://mcp.depscope.dev/mcp"    }  }}

Local (stdio via npx)

json
{  "mcpServers": {    "depscope": {      "command": "npx",      "args": ["-y", "depscope-mcp"]    }  }}

Tools (22)

ToolPurpose
check_packageFull package check: deprecated/CVE/health/recommendation
get_health_score0-100 score with breakdown (maintenance/popularity/security/maturity/community)
get_vulnerabilitiesOpen CVEs from OSV + KEV/EPSS
package_existsHallucination detector (404 = LLM invented it)
find_alternativesCurated alternatives for deprecated/abandoned packages
get_typosquatSuspicious name similarity check
get_breaking_changesMigration plan between versions
get_bugsKnown bugs from GitHub issues
compare_packagesSide-by-side health/license/vuln comparison
resolve_errorMap error message → likely cause + fix
search_errorsFind similar error reports across ecosystems
check_compatStack compatibility check
get_latest_versionLatest stable + maturity signal
... and 9 morefull list in tools.js

Ecosystems (19)

npm · pypi · cargo · go · composer · maven · nuget · rubygems · pub · hex · swift · cocoapods · cpan · hackage · cran · conda · homebrew · jsr · julia

Pricing

Free. No auth required. Generous rate limits. The MCP server is open-source (AGPL-3.0); the backend (depscope.dev API) is proprietary.

License

AGPL-3.0-or-later. Backend is proprietary; this client is open.

Links

來源:README.md,提交 56861c4

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

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

評分

已滿足適用檢查項的 75%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

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

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

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