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.

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

概覽

AI 產生的概覽

Depsonar 針對 9 種語言稽核專案相依套件:過期套件、即時 CVE 掃描、遷移偵測、密鑰與授權檢查及基礎設施健康度。

可以做什麼
  • 掃描並檢查專案的過期相依套件,提供健康分數,並依修補、次要或最新層級批次更新
  • 執行安全檢查:原生稽核、精選框架公告、即時 CVE 查詢與密鑰掃描
  • 檢視變更日誌與破壞性變更,辨識已棄用套件、授權合規與框架遷移模式
  • 稽核基礎設施:執行環境 EOL、全域工具鏈版本、Docker 基礎映像、GitHub Actions 以及 .env 與鎖定檔狀態
  • 設定排程背景掃描並讀取快取警示,檢視或修改設定
適用情境
適合維護一個或多個程式專案、希望讓助理保持相依套件更新、找出漏洞並提示維護工作的情境,不必逐一手動執行套件管理工具。最適用於存放專案的本機開發電腦。
執行需求
以 npm 套件形式透過 stdio 在本機執行(npx、全域安裝,或複製後以 Node.js 建置)。僅支援桌面端;未宣告驗證或環境變數。需要連線套件倉庫與 osv.dev API 的網路,並需設定專案目錄,可從常見資料夾自動偵測或在設定檔中指定。
安裝前請注意
更新與安裝工具會變更相依套件檔與鎖定檔,批次更新可能一次影響所有專案,建議先以試執行預覽。密鑰掃描器會讀取專案檔案以尋找密鑰與權杖。背景檢查器會寫入快取檔並安裝 launchd 或 cron 工作。此套件每六小時從 npm 自動更新,可用 NO_UPDATE_NOTIFIER 或 SOFLUTION_AUTO_UPDATE 關閉。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

[depsonar]

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:

json
{  "mcpServers": {    "depsonar": {      "command": "npx",      "args": ["-y", "depsonar@latest"]    }  }}

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

bash
npm install -g depsonar
json
{  "mcpServers": {    "depsonar": {      "command": "depsonar"    }  }}

Option 3: Clone

bash
git clone https://github.com/Soflutionltd/depsonar.gitcd depsonar && npm install && npm run build
json
{  "mcpServers": {    "depsonar": {      "command": "node",      "args": ["/path/to/depsonar/bin/supervise.cjs"]    }  }}

Restart Cursor after editing the config.


All 23 Tools

ToolDescription
depsonar_scanScan all projects for outdated deps
depsonar_checkCheck a specific project
depsonar_updateUpdate a project's dependencies
depsonar_update_allBatch update all projects
depsonar_healthHealth score 0-100 for a project
depsonar_installFresh install with optional clean
depsonar_auditSecurity scan (npm/pip/cargo audit)
depsonar_cveCurated framework CVE advisory check
depsonar_live_cveReal-time CVE scan via osv.dev API
depsonar_changelogChangelogs & breaking changes before updating
depsonar_migrateFramework migration detector
depsonar_deprecatedDeprecated & replaced package detection
depsonar_secretsSecret & API key scanner
depsonar_licensesLicense compliance (GPL/AGPL flags)
depsonar_runtimesRuntime version check (EOL detection)
depsonar_toolchainGlobal tool versions
depsonar_dockerDocker image audit
depsonar_actionsGitHub Actions audit
depsonar_envcheck.env, lockfile, config validation
depsonar_infraFull infrastructure report (everything)
depsonar_alertsInstant alerts from background scans
depsonar_setup_checkerSetup automatic background scanning
depsonar_configView/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.

  1. A lightweight script runs every N hours via macOS launchd or Linux cron
  2. Scans all projects, compares versions with registries
  3. Writes results to ~/.depsonar-cache.json, exits immediately
  4. 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):

json
// ~/.depsonarrc.json{  "projectsDir": "/Users/me/my-projects"}

Or from Cursor: "Set my projects directory to ~/Code"


Supported Languages

LanguageDetected byPackage Manager
Node.jspackage.jsonnpm, pnpm, yarn, bun
Pythonrequirements.txt, pyproject.toml, Pipfilepip, pipenv, poetry
RustCargo.tomlcargo
Gogo.modgo
PHPcomposer.jsoncomposer
RubyGemfilebundler
Dart/Flutterpubspec.yamlpub
SwiftPackage.swiftswift
Kotlin/Javabuild.gradle.ktsgradle

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

bash
depsonar              # Start MCP server (for Cursor)depsonar --check      # Run background scandepsonar --version    # Show versiondepsonar --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

來源:README.md,提交 aef9482

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v4.0.0最新Oct 26, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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