
Depsonar
io.github.Soflutionltd由 GitHub 账号 Soflutionltd 发布v4.0.0更新于 Oct 26, 2026
Dependency audits, live CVE scans, migration detection and stack health across 9 languages.
概览
Depsonar 面向 9 种语言审计项目依赖:过期包、实时 CVE 扫描、迁移检测、密钥与许可证检查及基础设施健康度。
- 可以做什么
- 扫描并检查项目的过期依赖,给出健康评分,并按补丁、次要或最新级别批量更新
- 执行安全检查:原生审计、精选框架公告、实时 CVE 查询与密钥扫描
- 查看变更日志与破坏性变更,识别弃用包、许可证合规与框架迁移模式
- 审计基础设施:运行时 EOL、全局工具链版本、Docker 基础镜像、GitHub Actions 以及 .env 与锁文件状态
- 设置定时后台扫描并读取缓存告警,查看或修改配置
- 适用场景
- 适合维护一个或多个代码项目、希望让助手保持依赖更新、发现漏洞并提示维护工作的场景,无需逐个手动运行包管理器。最适用于存放项目的本地开发机。
- 运行要求
- 以 npm 包形式通过 stdio 在本地运行(npx、全局安装,或克隆后使用 Node.js 构建)。仅支持桌面端;未声明认证或环境变量。需要访问包仓库和 osv.dev API 的网络,并需配置项目目录,可从常见文件夹自动检测或在配置文件中指定。
安装
在 SourceWeft 中
- 打开 控制台中的 Depsonar,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
The most complete dependency audit MCP server.
Scan · Audit · Update · Migrate — 9 languages, 23 tools, one MCP server
[Install in Cursor] [Install via Web]
depsonar is an MCP server that keeps your projects' dependencies up to date, scans for vulnerabilities, detects framework migrations, and audits your entire dev infrastructure — directly from Cursor, Claude, or any MCP-compatible AI assistant.
Supports Node.js, Python, Rust, Go, PHP, Ruby, Dart/Flutter, Swift, and Kotlin/Java.
Why depsonar?
With AI-generated "vibe coding" projects, dependency maintenance is an afterthought. WordPress solved this with one-click updates. depsonar brings the same experience to modern development — plus security scanning, migration detection, and infrastructure auditing.
Features
Dependency Management
- Multi-language: 9 languages, auto-detected
- Framework-aware: SvelteKit, Next.js, Nuxt, Astro, Django, Laravel, Express...
- Safe updates: 3 levels (patch/minor/latest) with dry-run preview
- Batch operations: Update all projects at once
- Ecosystem grouping: Results grouped by Svelte, Supabase, Tailwind, Vite, etc.
Security & Compliance
- Live CVE scanning via osv.dev API (npm, PyPI, crates.io, Go, PHP, Ruby)
- Framework CVE database: Curated advisories for Svelte, Next.js, Vite, Express, Axios
- Native audit integration: npm audit, cargo audit, pip-audit, composer audit, govulncheck
- Secret scanner: Detects AWS keys, GitHub tokens, Stripe keys, database URLs, and more
- License compliance: Flags GPL/AGPL copyleft, non-commercial, and unknown licenses
Migration & Maintenance
- Migration detector: Identifies code patterns that need changing (Svelte 4→5 runes, Next.js Pages→App Router)
- Changelog preview: See breaking changes before updating
- Deprecated detection: Finds unmaintained packages and suggests replacements
- Health scores: 0-100 per project based on deps, security, lockfile, runtime
- Background checker: Scheduled scans via macOS launchd or Linux cron
Infrastructure Audit
- Runtime versions: Node.js, Python, Rust, Go, PHP, Ruby, Dart, Swift (EOL detection)
- Global toolchain: npm, pnpm, yarn, bun, cargo, pip, git, docker, vercel, supabase, wrangler
- Docker image audit: Detects outdated/EOL base images
- GitHub Actions audit: Flags deprecated actions across all workflows
- Environment check: .env sync, lockfile freshness, config validation
Quick Start
Option 1: npx (zero install)
Add to ~/.cursor/mcp.json:
Automatic updates
Every install below keeps itself up to date, without restarting Claude or Cursor. The MCP client talks to a small supervisor (bin/supervise.cjs) that stays connected while the server runs behind it. At start-up and every 6 hours it asks npm for the latest depsonar, installs it in the background in ~/.soflution/mcp/depsonar/, and switches over as soon as no request is in flight (the client is told the tool list may have changed). A version that fails to start is rolled back at once and never picked again on that machine. npm checks the integrity of every download, and releases are published from GitHub Actions with provenance.
The only network call is that version check to registry.npmjs.org; nothing about your machine or your use is sent. Turn it off with NO_UPDATE_NOTIFIER=1 (or SOFLUTION_AUTO_UPDATE=0). Started directly with node dist/..., depsonar does not update itself and only mentions a newer version in its first tool result.
Option 2: Global install
Option 3: Clone
Restart Cursor after editing the config.
All 23 Tools
Background Checker
The background checker scans your projects on a schedule and caches results. When you open Cursor, depsonar_alerts reads the cache instantly — zero wait.
- A lightweight script runs every N hours via macOS launchd or Linux cron
- Scans all projects, compares versions with registries
- Writes results to
~/.depsonar-cache.json, exits immediately - Zero RAM between runs, zero AI tokens, zero cost
Setup from Cursor: "Setup background checking every 6 hours"
Configuration
Set your projects directory (auto-detected from ~/Cursor/App, ~/Projects, ~/Developer, ~/Code, ~/dev):
Or from Cursor: "Set my projects directory to ~/Code"
Supported Languages
Framework Detection
SvelteKit · Next.js · Nuxt · Astro · Remix · SolidStart · Django · Flask · Laravel · Express · Fastify · Hono · Actix · Gin · Fiber
Architecture
CLI
Also by Soflution
- brandcheck — Check brand name availability across 27 platforms in one shot. Domains, social media, app stores, trademarks.
License
MIT — Soflution Ltd
来源:README.md,提交 aef9482
工具
0版本历史
1- v4.0.0最新Oct 26, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分