depsonar
One-line summary: depsonar is an MCP server that audits, updates, and secures your project dependencies across 9 languages, directly from an AI assistant.
Scan & check dependencies — scan all projects or one project for outdated packages, with auto language/framework detection and ecosystem grouping
Update safely — update a project or all projects at patch/minor/latest levels, with dry-run previews and batch operations
Install dependencies — fresh install with optional clean (wipes node_modules/vendor)
Security auditing — native audits (npm, cargo, pip-audit, composer, govulncheck), curated framework CVE database, and live CVE scanning via osv.dev
Secret scanning — detect AWS keys, GitHub/Stripe tokens, database URLs and other leaked credentials; verify .env is gitignored
License compliance — flag GPL/AGPL, non-commercial, and unknown licenses for SaaS safety
Deprecated package detection — finds unmaintained packages and suggests modern replacements
Migration detection — locate code needing Svelte 4→5 or Next.js 13→15 migrations, with file-level guidance
Changelog preview — review breaking changes and release notes before updating
Health scores — 0–100 per project based on deps, security, lockfile, and runtime
Runtime & toolchain checks — detect EOL/outdated Node, Python, Rust, Go, etc., plus global CLI tools (npm, pnpm, cargo, docker, vercel, wrangler)
Infrastructure audit — Docker base image and GitHub Actions deprecation checks, .env/lockfile/config validation, and a full one-command infra report
Background checker — schedule recurring scans (launchd/cron) with cached results and instant alerts
Docs & package search — fetch live READMEs, changelogs, and migration guides for npm packages, and search the npm registry
Configuration — view/edit settings and set your projects directory
Auto-updating — supervisor keeps the server current with rollback on failure and no telemetry
Detects Actix projects and provides dependency management.
Detects Astro projects and provides dependency and vulnerability management.
Included in framework CVE database for curated advisories.
Manages Bun dependencies.
Manages Composer (PHP) dependencies and runs audit.
Scans, audits, and updates Dart/Flutter dependencies using pubspec.yaml.
Detects Django projects and provides dependency and vulnerability management.
Audits Docker images for outdated or end-of-life base images.
Detects Express projects and includes in framework CVE database.
Detects Fastify projects and provides dependency management.
Detects Flask projects and provides dependency management.
Manages Flutter dependencies via pubspec.yaml.
Detects Gin projects and provides dependency management.
Checks global Git version as part of toolchain audit.
Audits GitHub Actions workflows for deprecated actions across all workflows.
Scans, audits, and updates Go dependencies using go.mod.
Manages Gradle dependencies for Kotlin/Java projects.
Detects Hono projects and provides dependency management.
Scans, audits, and updates Kotlin/Java dependencies using build.gradle.kts.
Detects Laravel projects and provides dependency management.
Detects Next.js projects, provides migration detection (Pages to App Router), and includes in framework CVE database.
Scans, audits, and updates Node.js dependencies using package.json and supports npm, pnpm, yarn, bun.
Manages npm dependencies, runs npm audit, and provides vulnerability scanning.
Detects Nuxt projects and provides migration detection and vulnerability scanning.
Scans, audits, and updates PHP dependencies using composer.json.
Manages pnpm dependencies and runs audit.
Manages Python dependencies via Poetry.
Scans live CVE vulnerabilities for PyPI packages via osv.dev.
Scans, audits, and updates Python dependencies via requirements.txt, pyproject.toml, or Pipfile.
Detects Remix projects and provides dependency management and vulnerability scanning.
Scans, audits, and updates Ruby dependencies using Gemfile.
Scans, audits, and updates Rust dependencies using Cargo.toml.
Detects SolidStart projects and provides dependency management.
Detects exposed Stripe API keys in project files via secret scanner.
Groups dependencies by Supabase ecosystem and provides update suggestions.
Detects SvelteKit/Svelte projects, provides migration detection (runes), and includes in framework CVE database.
Scans, audits, and updates Swift dependencies using Package.swift.
Checks global Vercel CLI version as part of toolchain audit.
Groups dependencies by Vite ecosystem and provides update suggestions.
Manages Yarn dependencies.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@depsonar scan my project for outdated dependencies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
| Scan all projects for outdated deps |
| Check a specific project |
| Update a project's dependencies |
| Batch update all projects |
| Health score 0-100 for a project |
| Fresh install with optional clean |
| Security scan (npm/pip/cargo audit) |
| Curated framework CVE advisory check |
| Real-time CVE scan via osv.dev API |
| Changelogs & breaking changes before updating |
| Framework migration detector |
| Deprecated & replaced package detection |
| Secret & API key scanner |
| License compliance (GPL/AGPL flags) |
| Runtime version check (EOL detection) |
| Global tool versions |
| Docker image audit |
| GitHub Actions audit |
| .env, lockfile, config validation |
| Full infrastructure report (everything) |
| Instant alerts from background scans |
| Setup automatic background scanning |
| 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 immediatelyZero 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 |
| npm, pnpm, yarn, bun |
Python |
| pip, pipenv, poetry |
Rust |
| cargo |
Go |
| go |
PHP |
| composer |
Ruby |
| bundler |
Dart/Flutter |
| pub |
Swift |
| swift |
Kotlin/Java |
| 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 toolsAlso 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 toolsdepsonar_actionsGitHub Actions AuditARead-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 AlertsARead-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 AuditARead-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 ChangesARead-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 DependenciesARead-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 depsonarAIdempotent
View or update configuration. Saved to ~/.depsonarrc.json.
Examples:
"Show depsonar config"
"Set projects directory to ~/Code"
Inputs: show, projects_dir.
depsonar_cveCVE Advisory CheckARead-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 CheckARead-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 AuditARead-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)ARead-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 CheckARead-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 ReportARead-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 ReportARead-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 DependenciesAIdempotent
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 CheckARead-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)ARead-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 DetectorARead-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 VersionsARead-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 ProjectsARead-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 PackagesARead-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 ScannerARead-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 CheckerAIdempotent
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 ToolchainARead-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
Scored across 25 tools
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.
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.
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.
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
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
One MCP server, 40 tools: web reading, safety and sanctions checks, DevOps checks, location.
Related MCP Servers
- AlicenseBqualityFmaintenanceComprehensive MCP server for analyzing GitHub pull requests, detecting security vulnerabilities, assessing code quality, and providing risk ratings across multiple languages.4MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for automated architectural mapping, security vulnerability detection, ML asset tracking, and code metrics in local repositories.-
- FlicenseAqualityDmaintenanceAn MCP server that performs comprehensive health checks on project dependencies for JavaScript and Python projects, detecting outdated packages and fetching changelogs.1-
- AlicenseAqualityDmaintenanceMCP 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.548 npmMIT