Skip to main content
Glama
depsonar

depsonar

by Soflutionltd

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.


Related MCP server: Code-Oracle

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@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

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

Option 3: Clone

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

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.

  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):

// ~/.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

Available Tools

25 tools
depsonar_actionsGitHub Actions AuditA
Read-onlyIdempotent

Scan GitHub Actions workflow files for outdated or deprecated actions. Knows 30+ popular actions (actions/checkout, docker/build-push-action, cloudflare/wrangler-action, etc.).

Examples:

  • "Check my GitHub Actions versions"

  • "Any deprecated actions in my workflows?"

Inputs: project, directory.

depsonar_alertsCheck AlertsA
Read-onlyIdempotent

Show pending dependency alerts from the last background scan. This reads the cache file written by the background checker (no live scan, instant response).

If no cache exists, suggests running depsonar_scan or setting up the background checker.

Examples:

  • "Any dependency alerts?"

  • "Do any of my projects need updates?"

  • "Show depsonar alerts"

Inputs: no named parameters.

depsonar_auditSecurity AuditA
Read-onlyIdempotent

Scan projects for known security vulnerabilities (CVEs). Uses npm audit, cargo audit, pip-audit, composer audit, govulncheck.

CRITICAL: Run this after any CVE announcement (e.g. Svelte CVE-2026-22775, devalue DoS).

Examples:

  • "Audit all my projects for vulnerabilities"

  • "Security scan JobPin"

  • "Any CVEs in my SvelteKit projects?"

Inputs: project, directory.

depsonar_changelogChangelog & Breaking ChangesA
Read-onlyIdempotent

Check changelogs and breaking changes before updating. Shows major/minor/patch breakdown with changelog URLs and release notes for breaking updates.

Run this BEFORE depsonar_update to understand what will change.

Examples:

  • "Show changelog for RoomPilot before updating"

  • "What breaking changes are pending in my project?"

  • "Check what changed in latest versions"

Inputs: project (required).

depsonar_checkCheck Outdated DependenciesA
Read-onlyIdempotent

Check a project for outdated dependencies. Supports Node.js, Python, Rust, Go, PHP, Ruby, and Dart/Flutter.

Groups results by ecosystem for Node projects. Flags major version updates.

Examples:

  • "Check JobPin for outdated deps"

  • "What needs updating in my Django project?"

Inputs: project (required).

depsonar_configConfigure depsonarA
Idempotent

View or update configuration. Saved to ~/.depsonarrc.json.

Examples:

  • "Show depsonar config"

  • "Set projects directory to ~/Code"

Inputs: show, projects_dir.

depsonar_cveCVE Advisory CheckA
Read-onlyIdempotent

Check projects against known framework CVEs (Svelte, SvelteKit, devalue, Next.js, Vite, Express, Axios). Goes beyond npm audit by checking a curated database of framework-specific vulnerabilities.

CRITICAL after any CVE announcement. Run immediately when new CVEs are published.

Examples:

  • "Check my projects for known CVEs"

  • "Any Svelte CVEs affecting my code?"

  • "Show CVE database"

Inputs: project, show_db, directory.

depsonar_deprecatedDeprecated Package CheckA
Read-onlyIdempotent

Detect deprecated, unmaintained, or replaced packages. Checks both npm deprecated flags and a curated list of known replacements (moment→dayjs, node-fetch→native fetch, request→undici, etc.).

Examples:

  • "Any deprecated packages in my projects?"

  • "Check JobPin for deprecated deps"

  • "Find packages that should be replaced"

Inputs: project, directory.

depsonar_dockerDocker Image AuditA
Read-onlyIdempotent

Scan Dockerfile and docker-compose files for outdated or EOL base images. Checks: node, python, ruby, php, golang, rust, nginx, postgres, redis, ubuntu, alpine.

Examples:

  • "Check my Docker images"

  • "Any EOL images in my projects?"

Inputs: project, directory.

depsonar_docsLibrary Documentation (Context)A
Read-onlyIdempotent

Fetch up-to-date documentation, changelogs, and migration guides for any npm package directly from source (GitHub + npm registry).

Use this BEFORE writing code that depends on a library, to get the latest API docs and avoid hallucinating outdated APIs.

Sections available:

  • readme: Latest README with API docs, examples, setup instructions

  • changelog: Recent release notes (last 5 versions) with breaking changes

  • migration: Migration/upgrade guides (supports Svelte, Next.js, Tailwind, Vite, Stripe, Supabase, Better Auth, etc.)

Combine with a query to focus on a specific topic (e.g. query="runes" for Svelte 5 migration docs).

Examples:

  • "Get Svelte 5 docs focused on runes migration"

  • "Show me the Supabase JS changelog"

  • "What changed in Tailwind CSS v4?"

  • "Get Better Auth setup docs"

Inputs: package (required), query, sections.

depsonar_envcheckEnvironment & Config CheckA
Read-onlyIdempotent

Validate project environments: .env/.env.example sync, lockfile freshness, tsconfig best practices, Svelte config (detects deprecated svelte-preprocess with Svelte 5, duplicate adapters, etc.), multiple lockfiles.

Examples:

  • "Check my project environments"

  • "Any env issues in JobPin?"

  • "Validate all project configs"

Inputs: project, directory.

depsonar_healthHealth ReportA
Read-onlyIdempotent

Score a project from 0-100. Checks outdated deps, security issues, lockfile.

Examples:

  • "How healthy is JobPin?"

  • "Health report for my Rust project"

Inputs: project (required).

depsonar_infraFull Infrastructure ReportA
Read-onlyIdempotent

Complete infrastructure health check in one command. Combines: runtime versions, global toolchain, security audit, CVE advisories, Docker images, GitHub Actions, environment configs, secret scanning, license compliance, deprecated packages, and optionally dependency scan.

This is the "run everything" command. Use when you want a full picture.

Examples:

  • "Full infrastructure report"

  • "Check everything"

  • "How's my dev environment?"

Inputs: directory, skip_deps.

depsonar_installInstall DependenciesA
Idempotent

Fresh install. Use clean=true to nuke node_modules/vendor first.

Examples:

  • "Install deps for JobPin"

  • "Clean install my project"

Inputs: project (required), clean.

depsonar_licensesLicense Compliance CheckA
Read-onlyIdempotent

Check dependency licenses for commercial/SaaS compatibility. Flags: GPL/AGPL (copyleft, requires source disclosure), non-commercial (CC-BY-NC), unknown licenses.

Important for SaaS products to avoid legal issues.

Examples:

  • "Check license compliance for RoomPilot"

  • "Any GPL dependencies in my projects?"

  • "License audit all projects"

Inputs: project, directory.

depsonar_live_cveLive CVE Scan (osv.dev)A
Read-onlyIdempotent

Real-time vulnerability scan using the osv.dev API. Checks every installed package against the global OSV database (npm, PyPI, crates.io, Go, Packagist, RubyGems, Pub).

Unlike depsonar_audit (which uses local tools like npm audit), this queries the live osv.dev database for the most up-to-date vulnerability data. No API key needed.

Examples:

  • "Live CVE scan all my projects"

  • "Check RoomPilot for vulnerabilities with osv.dev"

  • "Real-time security scan"

Inputs: project, directory.

depsonar_migrateFramework Migration DetectorA
Read-onlyIdempotent

Detect framework migration needs by scanning code for deprecated patterns. Currently supports: Svelte 4→5, Next.js 13→14→15.

Finds exact file locations of code that needs to change, with migration instructions for each pattern.

Examples:

  • "Check if my projects need Svelte 5 migration"

  • "Migration scan for all projects"

  • "What Svelte 4 patterns are still in my code?"

Inputs: project, directory.

depsonar_runtimesCheck Runtime VersionsA
Read-onlyIdempotent

Check installed runtime versions (Node.js, Python, Rust, Go, PHP, Ruby, Dart, Swift). Detects EOL and outdated versions. Also checks project version files (.nvmrc, .python-version, rust-toolchain.toml, engines.node).

Examples:

  • "Check my runtime versions"

  • "Is my Node.js up to date?"

  • "Any runtime mismatches in my projects?"

Inputs: filter, directory, check_projects.

depsonar_scanScan All ProjectsA
Read-onlyIdempotent

Scan all projects in your workspace. Auto-detects language (Node, Python, Rust, Go, PHP, Ruby, Dart) and framework.

Can filter by framework or language.

Examples:

  • "Scan all my projects"

  • "Which Python projects need updates?"

  • "Show all SvelteKit projects status"

Inputs: language, directory, framework.

depsonar_search_packageSearch npm PackagesA
Read-onlyIdempotent

Search the npm registry for packages by name or keyword. Returns matching packages with name, latest version, and description.

Use this to find the right package name before calling depsonar_docs.

Examples:

  • "Search for Svelte authentication libraries"

  • "Find Stripe payment packages"

  • "What Tailwind utility packages exist?"

Inputs: query (required).

depsonar_secretsSecret ScannerA
Read-onlyIdempotent

Scan project files for exposed secrets, API keys, tokens, and credentials. Detects: AWS keys, GitHub tokens, Stripe keys, Supabase JWT, OpenAI/Anthropic keys, private keys, database URLs, generic API key patterns.

Also checks that .env files are properly gitignored.

Examples:

  • "Scan my projects for exposed secrets"

  • "Any leaked API keys in JobPin?"

  • "Secret scan all projects"

Inputs: project, directory.

depsonar_setup_checkerSetup Background CheckerA
Idempotent

Install or remove the background dependency checker. On macOS, uses launchd (native, lightweight). On Linux, uses cron.

The checker runs on schedule, scans all projects, writes results to ~/.depsonar-cache.json, then exits. Zero RAM between runs, zero AI tokens, zero cost.

Results are shown by depsonar_alerts.

Examples:

  • "Setup background dependency checking"

  • "Check my deps every 12 hours"

  • "Remove the background checker"

Inputs: uninstall, interval_hours.

depsonar_toolchainCheck Global ToolchainA
Read-onlyIdempotent

Check versions of globally installed tools: npm, pnpm, yarn, bun, composer, cargo, pip, typescript, git, docker, homebrew, vercel-cli, supabase-cli, wrangler.

Shows installed vs latest version and update commands.

Examples:

  • "Check my global tools"

  • "Is pnpm up to date?"

  • "Show all CLI tool versions"

Inputs: category.

depsonar_updateUpdate DependenciesA

Update dependencies for a project. Works with any supported language.

Three safety levels:

  • patch: Bugfixes only (safest)

  • minor: New features, no breaking changes (default)

  • latest: Includes major breaking changes

Examples:

  • "Update all deps in JobPin"

  • "Update svelte in Showly to latest"

  • "Update my Python project dependencies"

Inputs: project (required), level, dry_run, packages.

depsonar_update_allUpdate All ProjectsA

Batch update across all projects. Defaults to dry_run=true (safe preview).

Can filter by framework or language.

Examples:

  • "Update all my projects"

  • "Update all SvelteKit projects, apply changes"

  • "Preview updates for all Python projects"

Inputs: level, dry_run, language, directory, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 25 tools

    Disambiguation3/5

    Most tools have distinct purposes, but the three security scanning tools (depsonar_audit, depsonar_live_cve, depsonar_cve) could easily be confused, as could depsonar_check vs depsonar_scan. Descriptions help but the boundaries are subtle (local vs OSV vs curated framework CVEs). Some overlap between depsonar_deprecated and depsonar_check also adds ambiguity.

    Naming Consistency5/5

    All tools follow a consistent depsonar_<verb_noun> pattern in snake_case. Examples like depsonar_update_all and depsonar_setup_checker maintain the same structure. No mixed conventions or vague names.

    Tool Count3/5

    At 25 tools, this is at the upper boundary of what feels reasonable. The breadth is justified by the comprehensive scope (dependency updates, security, runtimes, Docker, CI, licenses, docs), but several tools could be consolidated (e.g., merging audit/live_cve/cve into one). The count feels heavy but not chaotic.

    Completeness4/5

    The toolset covers an impressive range of dependency health and security workflows: scanning, updating, auditing, secrets, licenses, runtimes, CI, and migration. Minor gaps exist, such as no explicit 'add dependency' or 'remove dependency' tool and no rollback mechanism for updates. However, core lifecycle coverage is strong, and the 'infra' tool aggregates everything.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      An MCP server that performs comprehensive health checks on project dependencies for JavaScript and Python projects, detecting outdated packages and fetching changelogs.
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      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.
      5
      48 npm
      MIT