
Dep
io.github.rog0x由 GitHub 账号 rog0x 发布v1.0.1更新于 Oct 24, 2026
License check, outdated deps, security for AI agents
概览
本地 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 需要网络。
安装
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
Usage with Claude Desktop
Add to your Claude Desktop config:
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版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。