Dep

io.github.rog0x由 GitHub 帳號 rog0x 發布v1.0.1更新於 Oct 24, 2026

License check, outdated deps, security for AI agents

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理檢查 Node.js 專案的相依套件:授權條款、過期版本、相依樹、打包體積與安全漏洞。

可以做什麼
分析相依套件授權條款,標示 copyleft 與未知授權及相容性問題,依據專案的 package.json 與鎖定檔資料,估算體積時無需安裝 node_modules。找出過期相依套件,將已安裝或指定版本與 npm 最新版本比較,並依 major、minor、patch 分類。建立並顯示相依樹,包含間接相依、最大深度與循環相依。透過查詢 Bundlephobia API 估算每個正式相依套件的壓縮與 gzip 後體積。透過 npm audit 或 npm registry 公告 API 稽核已知漏洞,回報嚴重等級與修復建議。
適用情境
適合在發佈或升級前檢視 Node.js 專案的相依套件狀況、檢查授權合規性,或在助理工作階段中排查已知漏洞與過期相依套件。
執行需求
以本機 Node.js 程序執行(npm 套件 @rog0x/mcp-dep-tools,需 npm install 與 npm run build 建置),在桌面用戶端以 node 指令指向建置後的進入檔案設定。每個工具需要含 package.json 的絕對路徑 project_dir。存取 npm registry、Bundlephobia 與公告 API 需要網路。
安裝前請注意
工具會讀取專案檔案,並將相依套件名稱與版本傳送至外部服務(npm registry、Bundlephobia、公告 API)。安全稽核可能在專案中執行 npm audit。未宣告任何憑證,但請留意所暴露的專案路徑。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

mcp-dep-tools

MCP server providing dependency and package management tools for AI agents. Analyze licenses, find outdated packages, visualize dependency trees, estimate bundle sizes, and audit security vulnerabilities — all from your AI assistant.

Tools

dep_check_licenses

Analyze licenses of all dependencies in a project. Lists each dependency's license type, flags copyleft (GPL) and unknown licenses, and checks for compatibility issues.

dep_find_outdated

Check which dependencies are outdated. Compares installed or specified versions against the latest on npm, categorizes updates as major/minor/patch, and shows how many days since the latest version was published.

dep_analyze_tree

Build and display the dependency tree. Shows direct dependencies and their transitive sub-dependencies, calculates maximum depth, detects circular dependencies, and counts total transitive packages.

dep_analyze_size

Estimate total bundle size from package.json without installing node_modules. Queries the Bundlephobia API for each production dependency to get minified and gzipped sizes.

dep_security_audit

Check dependencies for known security vulnerabilities. Runs npm audit when a lockfile is present, otherwise queries the npm registry advisory API directly. Reports severity levels, affected version ranges, and fix recommendations.

Setup

bash
npm installnpm run build

Usage with Claude Desktop

Add to your Claude Desktop config:

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

All tools accept a single parameter

  • project_dir (string, required): Absolute path to the project directory containing a package.json.

License

MIT

來源:README.md,提交 594c2c3

工具

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

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

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