depsonar
Comprehensive dependency audit MCP server supporting 9 languages and 23 tools for scanning, updating, security auditing, and migration detection.
README
<p align="center"> <img src="static/banner.png" alt="depsonar" width="900"/> </p> <p align="center"> <strong>The most complete dependency audit MCP server.</strong><br> <sub>Scan · Audit · Update · Migrate — 9 languages, 23 tools, one MCP server</sub> </p> <p align="center"> <img src="https://img.shields.io/npm/v/depsonar?color=60a5fa&label=npm"/> <img src="https://img.shields.io/badge/languages-9-34d399"/> <img src="https://img.shields.io/badge/tools-23-60a5fa"/> <img src="https://img.shields.io/badge/CVE_scanner-live-f59e0b"/> <img src="https://img.shields.io/badge/license-MIT-blue"/> </p>
<p align="center"> <a href="cursor://anysphere.cursor-deeplink/mcp/install?name=depsonar&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImRlcHNvbmFyQGxhdGVzdCJdfQ=="><img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Install in Cursor" /></a> <a href="https://soflution1.github.io/BrandCheck/install.html?name=depsonar&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImRlcHNvbmFyQGxhdGVzdCJdfQ=="><img src="https://img.shields.io/badge/Install_via-Web-60a5fa?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik0xMiAyYTEwIDEwIDAgMSAwIDAgMjAgMTAgMTAgMCAwIDAgMC0yMHoiLz48cGF0aCBkPSJNMiAxMmgyMCIvPjxwYXRoIGQ9Ik0xMiAyYTEwIDEwIDAgMCAxIDggOCAxMCAxMCAwIDAgMS04IDgiLz48cGF0aCBkPSJNMTIgMmExMCAxMCAwIDAgMC04IDggMTAgMTAgMCAwIDAgOCA4Ii8+PC9zdmc+" alt="Install via Web" /></a> </p>
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:
{
"mcpServers": {
"depsonar": {
"command": "npx",
"args": ["-y", "depsonar"]
}
}
}
Option 2: Global install
npm install -g depsonar
{
"mcpServers": {
"depsonar": {
"command": "depsonar"
}
}
}
Option 3: Clone
git clone https://github.com/Soflution1/depsonar.git
cd depsonar && npm install && npm run build
{
"mcpServers": {
"depsonar": {
"command": "node",
"args": ["/path/to/depsonar/dist/index.js"]
}
}
}
Restart Cursor after editing the config.
All 23 Tools
| Tool | Description |
|---|---|
depsonar_scan |
Scan all projects for outdated deps |
depsonar_check |
Check a specific project |
depsonar_update |
Update a project's dependencies |
depsonar_update_all |
Batch update all projects |
depsonar_health |
Health score 0-100 for a project |
depsonar_install |
Fresh install with optional clean |
depsonar_audit |
Security scan (npm/pip/cargo audit) |
depsonar_cve |
Curated framework CVE advisory check |
depsonar_live_cve |
Real-time CVE scan via osv.dev API |
depsonar_changelog |
Changelogs & breaking changes before updating |
depsonar_migrate |
Framework migration detector |
depsonar_deprecated |
Deprecated & replaced package detection |
depsonar_secrets |
Secret & API key scanner |
depsonar_licenses |
License compliance (GPL/AGPL flags) |
depsonar_runtimes |
Runtime version check (EOL detection) |
depsonar_toolchain |
Global tool versions |
depsonar_docker |
Docker image audit |
depsonar_actions |
GitHub Actions audit |
depsonar_envcheck |
.env, lockfile, config validation |
depsonar_infra |
Full infrastructure report (everything) |
depsonar_alerts |
Instant alerts from background scans |
depsonar_setup_checker |
Setup automatic background scanning |
depsonar_config |
View/edit configuration |
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):
// ~/.depsonarrc.json
{
"projectsDir": "/Users/me/my-projects"
}
Or from Cursor: "Set my projects directory to ~/Code"
Supported Languages
| Language | Detected by | Package Manager |
|---|---|---|
| Node.js | package.json |
npm, pnpm, yarn, bun |
| Python | requirements.txt, pyproject.toml, Pipfile |
pip, pipenv, poetry |
| Rust | Cargo.toml |
cargo |
| Go | go.mod |
go |
| PHP | composer.json |
composer |
| Ruby | Gemfile |
bundler |
| Dart/Flutter | pubspec.yaml |
pub |
| Swift | Package.swift |
swift |
| Kotlin/Java | build.gradle.kts |
gradle |
Framework Detection
SvelteKit · Next.js · Nuxt · Astro · Remix · SolidStart · Django · Flask · Laravel · Express · Fastify · Hono · Actix · Gin · Fiber
Architecture
depsonar/
├── src/
│ ├── index.ts # Entry: MCP server or --check mode
│ ├── checker.ts # Background scanner (cron/launchd)
│ ├── dashboard.ts # Web dashboard (http://127.0.0.1:24681)
│ ├── constants.ts # Language markers, ecosystem patterns
│ ├── types.ts # TypeScript interfaces
│ ├── schemas/index.ts # Zod input validation
│ ├── services/
│ │ ├── project.ts # Multi-lang detection, outdated parsing
│ │ ├── formatter.ts # Reports, tables, alerts formatting
│ │ ├── audit.ts # Native security audit (npm/cargo/pip)
│ │ ├── cve.ts # Curated CVE advisory database
│ │ ├── osv.ts # Live CVE via osv.dev API
│ │ ├── changelog.ts # Changelog & breaking change detection
│ │ ├── migrate.ts # Framework migration detector
│ │ ├── deprecated.ts # Deprecated package detection
│ │ ├── secrets.ts # Secret & token scanner
│ │ ├── licenses.ts # License compliance checker
│ │ ├── runtimes.ts # Runtime version checker
│ │ ├── toolchain.ts # Global toolchain checker
│ │ ├── docker.ts # Docker image auditor
│ │ ├── actions.ts # GitHub Actions auditor
│ │ └── envcheck.ts # Environment validator
│ └── tools/index.ts # 23 MCP tools
├── static/
│ ├── logo.png # depsonar logo (512x512)
│ └── banner.png # GitHub banner (1800x600)
├── package.json
├── tsconfig.json
└── LICENSE (MIT)
CLI
depsonar # Start MCP server (for Cursor)
depsonar --check # Run background scan
depsonar --version # Show version
depsonar --help # List all 23 tools
Also by Soflution
- brandcheck — Check brand name availability across 27 platforms in one shot. Domains, social media, app stores, trademarks.
License
MIT — Soflution Ltd
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。