DependAgent
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
DepAgent
DepAgent is a local CLI and MCP server for checking and updating dependencies in polyglot repositories. It runs on the user's machine: there is no hosted service, web interface, or database.
Supported manifests:
Manifest | Ecosystem | Registry |
| npm | npm Registry |
| Python | PyPI |
| Go | Go module proxy |
| Rust | crates.io |
Requirements
Node.js 22 or newer
Network access to the relevant registry for checks and updates
The native package manager is optional for checks, but required when lockfile synchronization is enabled during an update
Related MCP server: Elevate
Quick start
Run DepAgent from a published package:
npx depagent check
npx depagent updateThe commands use the current directory by default. A path can be supplied:
depagent check ./my-project
depagent check ./my-project --json
depagent update --path services/apicheck only reads files. update changes non-pinned dependencies within
their current major version and synchronizes the lockfile when possible.
The CLI command is depagent:
depagent checkPreview changes without writing:
npx depagent update --dry-runUpdate selected packages or one manifest:
npx depagent update typescript zod
npx depagent update --manifest apps/web/package.json
npx depagent update --strategy current-major typescript
npx depagent update --major --strategy target-major --target-major 6 typescriptCLI
Running depagent without arguments shows the version and available
commands.
Initialize the project before using the CLI check/update workflow:
depagent initRefresh the saved dependency manifest index after adding or removing project files:
depagent indexProject settings are stored in .depagent/config.toml. The generated
.depagent/.gitignore ignores the entire directory by default.
Check for updates
depagent check [path]Useful options:
--json Print structured JSON
--all Include manifests without available updates
--depth <number> Maximum discovery depth (default: 5)
--ignore <glob> Ignore a path; can be repeated
--no-cache Refresh manifest discoverycheck reads manifest paths from .depagent/index.json. Use check --all to
include indexed manifests without available updates.
The exit code is 3 when updates are available, 2 when no supported
manifests are found, and 0 when the check completes without updates.
Example result
In a monorepository, results are grouped by the relative path of each manifest. Regular updates, major updates, and pinned dependencies are shown separately in the same report:
Dependency manifests:
- apps/mobile/package.json
- react: 18.3.1 -> 18.4.0
- typescript: 5.6.3 -> 6.0.1 [major]
- services/api/pyproject.toml
- httpx: 0.27.2 -> 0.28.1
- pydantic: 2.8.2 -> 2.10.4
- services/worker/go.mod
- golang.org/x/sync: v0.8.0 -> v0.10.0 [major]
- tools/desktop/Cargo.toml
- serde: 1.0.210 -> 1.0.215 [pinned - skipped]
Warnings:
- Could not check npm package "example-package": request timed outThe MCP tools return the same information as structured data. A response is organized around the operation and its manifest-scoped reports:
{
"projectPath": "/path/to/project",
"discoveredManifests": 4,
"manifests": [
{
"path": "apps/mobile/package.json",
"ecosystem": "npm",
"minor": [
{
"packageName": "react",
"currentVersion": "18.3.1",
"latestVersion": "18.4.0"
}
],
"major": [],
"pinned": []
}
],
"changes": [],
"warnings": []
}Update dependencies
depagent update [packages...]Useful options:
--major Allow major updates
--major-strategy <next|latest> Choose a strategy for multi-major updates
--path <dir> Limit discovery to a directory
--manifest <file> Limit the operation to one manifest
--dry-run Show changes without writing
--no-sync Skip lockfile synchronization
--depth <number> Maximum discovery depth
--ignore <glob> Ignore a path; can be repeated
--no-cache Refresh manifest discovery
--strategy <strategy> current-major, next, latest, or target-major
--target-major <number> Target major lineDiscovery and configuration
DepAgent recursively finds supported manifests, applies the root
.gitignore, skips common generated/vendor directories, and groups results by
relative manifest path. It also understands npm, pnpm, and Cargo workspaces.
Repository-specific settings are stored in .depagent/config.toml after
running depagent init:
max_depth = 5
ignore_patterns = ["examples/**"]
[[rules]]
manifest_path = "apps/web/package.json"
packages = ["typescript"]
strategy = "current-major"Command and tool options take precedence over repository configuration. Manifest paths must be relative to the project and remain inside it.
The project manifest index is stored in .depagent/index.json. Run
depagent index or use MCP's index_dependencies tool after adding or
removing dependency files. MCP also supports refreshIndex: true.
Safety model
Pinned versions are reported but never changed automatically.
The default update mode never crosses a major version.
Major updates require
--majorin the CLI.The MCP major-update tool requires explicit
confirmMajor: true.Multi-major updates require either
next(the next available major line) orlatest(directly to the latest version).checkand--dry-rundo not write manifests or lockfiles.Lockfile failures are returned as warnings and do not undo a successful manifest update.
For Go modules, different 0.x minor lines are treated as major-risk
updates:
v0.38.0 -> v0.38.5 # regular update
v0.38.0 -> v0.39.4 # major-risk updateMCP
Start the MCP server over stdio:
depagent mcpThe server exposes:
check_dependencies– inspect dependencies without changing files;update_minor_dependencies– apply non-pinned updates within the current major version;update_major_dependencies– preview and, after confirmation, apply major updates.
The simplest client configuration is:
{
"mcpServers": {
"depagent": {
"command": "npx",
"args": ["-y", "depagent", "mcp"]
}
}
}For a local checkout, build the project and replace the command with
node /absolute/path/to/depagent/dist/index.js, keeping mcp as the
argument. Other MCP clients use the same command and argument fields in their
configuration.
Development
npm ci
npm run typecheck
npm run lint
npm test
npm run buildThe compiled executable is written to dist/index.js. To use the current
checkout as a global command:
npm link
depagent --versionDocumentation
License
DepAgent is distributed under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
npm & PyPI freshness for AI agents: latest version, deprecations, dated breaking-change diffs.
Free MCP security tools for AI coding agents. Check npm/PyPI package versions, identify known OSV vulnerabilities, compare with the latest releases, and review up to 3 dependencies before deployment.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to safely upgrade JavaScript and TypeScript projects through dependency analysis, upgrade path detection, breaking change identification, codemod application, and PR summary generation.1417 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables autonomous AI agents and CI/CD runners to discover repository modules, scan outdated dependencies, fetch version histories, and apply verified dependency updates with major-version safety guardrails across polyglot monorepos.36 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to fetch the real latest versions of packages from npm, PyPI, crates.io and the Go module proxy, then check manifests or whole projects for outdated dependencies and rewrite them in place. It also reports the current releases and underlying dependency stacks of AI coding tools like Claude Code, Codex and Gemini CLI.1MIT
- AlicenseAqualityCmaintenanceEnables Claude to fetch live package versions across npm, PyPI, crates.io, and Go modules, flag deprecations and known vulnerabilities, and audit dependency manifests with minimum safe upgrade versions.2MIT