DepShield MCP
DepShield MCP is a real-time dependency security server that intercepts, verifies, and audits packages before installation, protecting against CVEs, hallucinated packages, and supply chain attacks. It works with npm and PyPI (no API keys required) and integrates with Cursor, Claude Code, Windsurf, Cline, and any MCP-compatible IDE.
check_dependency— Pre-install gate that verifies a package exists on the registry and checks it against CVE databases before installation.audit_project— Scans an entirepackage.jsonorrequirements.txtmanifest and returns a comprehensive vulnerability report with severity counts and risk verdicts.find_safe_version— Finds the newest version of a package with zero known vulnerabilities.get_advisory_detail— Retrieves full details on a specific CVE or GHSA, including affected versions, fix info, CVSS score, and references.check_npm_health— Scores an npm package's trustworthiness (0–100) based on weekly downloads, publish recency, maintainer count, license, and deprecation status.suggest_alternative— Recommends replacement packages when a given package is vulnerable, deprecated, or abandoned.deep_scan— Scans a package's transitive dependency tree (up to 2 levels deep) for vulnerabilities, typosquatting attempts, and suspicious patterns.
An optional Cursor rule can automatically force agents to call check_dependency before every package install.
Integrates with the npm Registry to verify package existence, check for CVEs, audit package.json manifests, assess package health (weekly downloads, maintenance status, deprecation, license), and find safe alternative versions of npm packages.
Integrates with PyPI to check Python package existence, scan for vulnerabilities in requirements.txt files, and identify safe versions within the Python ecosystem.
Click on "Install 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., "@DepShield MCPcheck if lodash is safe to install"
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.
🤔 Why
AI coding agents pull packages from stale training data. They install outdated versions with known CVEs. They hallucinate package names that don't exist, opening the door to typosquatting attacks. They default to deprecated libraries when better alternatives exist.
There's no checkpoint between "agent decides to use a package" and "package lands in your project." DepShield is that checkpoint.
Related MCP server: DepHealth MCP
⚡ What It Does
Seven security tools exposed over the Model Context Protocol:
Tool | What it does |
| Pre-install gate — verifies a package exists on the registry and has no known CVEs. Your agent calls this before every install. |
| Scans an entire |
| Finds the newest version of a package with zero known vulnerabilities. |
| Deep dive into a specific CVE/GHSA — full description, affected versions, fix info, references. |
| Package health report card: weekly downloads, last publish date, maintainer count, license, deprecation status. Scored 0–100. |
| Finds better packages when one is vulnerable, deprecated, or abandoned. |
| Scans a package's transitive dependency tree for vulnerabilities, typosquats, and suspicious patterns. |
Plus a depshield://status resource and a security_review prompt template for guided full-project audits.
Zero API keys required. DepShield uses free, open APIs: npm Registry, OSV.dev (Google's open vulnerability database), and PyPI.
🚀 Quick Start
Option 1: npx (no install)
Add to your IDE's MCP configuration and you're done. No global install needed.
Option 2: Clone and build
git clone https://github.com/devanshkaria88/depshield-mcp.git
cd depshield-mcp
npm install
npm run build🔌 IDE Setup
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project-level):
{
"mcpServers": {
"depshield": {
"command": "npx",
"args": ["-y", "depshield-mcp"]
}
}
}Or if you cloned the repo locally:
{
"mcpServers": {
"depshield": {
"command": "node",
"args": ["/absolute/path/to/depshield-mcp/dist/index.js"]
}
}
}Optionally, copy .cursor/rules/dep-shield.mdc into your project's .cursor/rules/ directory. This rule forces the Cursor agent to call check_dependency before every package install.
claude mcp add depshield -- npx depshield-mcpOr from a cloned repo:
claude mcp add depshield -- node /absolute/path/to/depshield-mcp/dist/index.jsAdd to your Windsurf MCP configuration:
{
"mcpServers": {
"depshield": {
"command": "npx",
"args": ["-y", "depshield-mcp"]
}
}
}DepShield uses stdio transport. Any tool that supports MCP over stdio can use it:
npx depshield-mcp💡 Usage Examples
Once connected, your AI agent has access to all seven tools. Try these prompts:
Pre-install check (automatic with .mdc rule)
"Add lodash for deep cloning"
Agent calls check_dependency → finds CVE → auto-upgrades to safe version
Block hallucinated packages
"Install react-super-utils-pro for state management"
Agent calls check_dependency → package doesn't exist → blocks install, suggests alternatives
Full project audit
"Run a security audit on this project's dependencies"
Agent calls audit_project on package.json → returns full vulnerability report
Package health check
"Is this package well maintained?"
Agent calls check_npm_health → returns health score (0–100) with breakdown
Supply chain deep scan
"Deep scan express for transitive vulnerabilities"
Agent calls deep_scan → scans dependency tree, flags suspicious patterns
Advisory deep dive
"Tell me more about GHSA-jf85-cpcp-j695"
Agent calls get_advisory_detail → returns full CVE details, remediation info
📖 Tools Reference
Parameter | Type | Required | Default | Description |
| string | yes | — | Package name (e.g., |
| string | no | latest | Specific version to check |
|
| no |
| Package ecosystem |
Returns: ✅ SAFE, ⚠️ VULNERABLE (with fix version), 🚫 BLOCKED (doesn't exist), or ⚠️ CANNOT VERIFY (registry unreachable).
Parameter | Type | Required | Default | Description |
| string | yes | — | Path to |
| boolean | no |
| Include devDependencies in scan |
Returns: Full audit report with summary stats, per-dependency vulnerability breakdown, severity counts, and risk verdict.
Parameter | Type | Required | Default | Description |
| string | yes | — | Package name |
|
| no |
| Package ecosystem |
Returns: The newest stable version with zero known vulnerabilities, with comparison of all checked versions.
Parameter | Type | Required | Default | Description |
| string | yes | — | Vulnerability ID (e.g., |
Returns: Full advisory with summary, severity, CVSS score, affected versions, fix versions, and reference links.
Parameter | Type | Required | Default | Description |
| string | yes | — | npm package name |
Returns: Health report card (0–100 score) based on: publish recency, weekly downloads, license, repository presence, deprecation status, and maintainer count.
Parameter | Type | Required | Default | Description |
| string | yes | — | Package to find alternatives for |
| string | no | — | Why an alternative is needed |
Returns: Top 3 alternative packages with downloads, npm score, and publish date.
Parameter | Type | Required | Default | Description |
| string | yes | — | Package to deep scan |
| string | no | latest | Specific version to scan |
|
| no |
| 1 = direct deps, 2 = deps of deps |
Returns: Dependency tree with vulnerability flags, suspicious pattern detection (newly added deps, nonexistent packages, low-download typosquat candidates), and risk verdict.
🔒 Cursor Rule (Optional)
The .cursor/rules/dep-shield.mdc file included in this repo forces the Cursor agent to automatically call check_dependency before every package install. Copy it to your project:
mkdir -p .cursor/rules
cp node_modules/depshield-mcp/.cursor/rules/dep-shield.mdc .cursor/rules/This turns DepShield from a tool the agent can use into a gate the agent must pass through.
🧪 Testing
MCP Inspector (interactive UI for testing tools):
npm run inspectOr:
npx @modelcontextprotocol/inspector node dist/index.jsRaw stdio (quick verification):
printf '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}\n{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"check_dependency","arguments":{"name":"lodash","version":"4.17.20"}}}\n' | node dist/index.js 2>/dev/null🌐 APIs Used
All free, no API keys required:
API | What it provides |
Package existence, versions, metadata, search | |
Weekly download counts | |
Open source vulnerability database (Google) | |
Python package metadata |
📁 Project Structure
depshield-mcp/
├── src/
│ ├── index.ts # MCP server entry — tool/resource/prompt registration
│ ├── cache.ts # In-memory TTL cache (5 min)
│ ├── utils.ts # Severity parsing, version sorting, fetch helpers
│ ├── apis/
│ │ ├── npm-registry.ts # npm registry, search, downloads
│ │ ├── osv.ts # OSV.dev vulnerability queries
│ │ └── pypi-registry.ts # PyPI JSON API
│ └── tools/
│ ├── check-dependency.ts # Pre-install gate
│ ├── audit-project.ts # Full manifest audit
│ ├── find-safe-version.ts # Safe version finder
│ ├── get-advisory-detail.ts # CVE/GHSA deep dive
│ ├── check-npm-health.ts # Package health scoring
│ ├── suggest-alternative.ts # Alternative package finder
│ └── deep-scan.ts # Transitive dependency scanner
├── .cursor/rules/
│ └── dep-shield.mdc # Cursor agent rule (alwaysApply)
├── package.json
├── tsconfig.json
├── LICENSE
└── README.md📋 Requirements
Node.js 22 or later
An MCP-compatible AI coding tool
🤝 Contributing
Contributions are welcome. Please open an issue first to discuss what you'd like to change.
Areas where help would be appreciated:
Additional ecosystem support (Cargo, Go modules, Maven)
Improved CVSS vector string parsing
Integration tests with mocked API responses
GitHub Actions CI pipeline
📄 License
MIT — see LICENSE for details.
Available Tools
7 toolsaudit_projectB
Scan a package.json or requirements.txt for all dependency vulnerabilities. Returns a full audit report.
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to package.json or requirements.txt | |
| includeDevDependencies | No | Include devDependencies in scan. Defaults to true. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but only minimally discloses behavior. It mentions returning a 'full audit report' but fails to clarify if this is a read-only operation, whether it makes external network calls to vulnerability databases, rate limits, or the output format (JSON vs formatted string).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with zero waste. Front-loaded with the core action ('Scan') and specific file types, followed by return value. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple 2-parameter tool with 100% schema coverage, the description covers the basic operation adequately. However, given the lack of annotations and output schema, it omits important context about whether the tool is read-only, requires authentication, or what structure the 'full audit report' takes.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, establishing a baseline of 3. The description mentions 'package.json or requirements.txt' which mirrors the schema's filePath description, and implies dependency scanning which relates to includeDevDependencies. It adds minimal semantic value beyond what the schema already clearly documents.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool scans package.json or requirements.txt files for dependency vulnerabilities and returns a full audit report. It identifies specific resource types and implies file-level scope, though it doesn't explicitly differentiate from siblings like check_dependency (which suggests single-dependency checking).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance provided on when to use this versus sibling tools like check_dependency, deep_scan, or find_safe_version. No mention of prerequisites (e.g., file must exist) or when a user might prefer individual dependency checks over a full file scan.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_dependencyA
Check a package for known vulnerabilities and verify it exists on the registry. MUST be called before installing any dependency.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (e.g., 'lodash', 'express') | |
| version | No | Specific version to check. If omitted, checks latest. | |
| ecosystem | No | Package ecosystem. Defaults to npm. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions vulnerability checking and existence verification, but omits critical details like: whether it returns a report or boolean, what happens when vulnerabilities are found (blocking vs. warning), error handling for non-existent packages, or data sources used.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, zero waste. The first sentence front-loads the core action (vulnerability checking + existence verification), while the second provides the critical workflow constraint (MUST call before install). Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of output schema and annotations, the description should ideally characterize the return value (e.g., vulnerability report, risk score, or boolean) to help the agent interpret results. The input side is complete due to schema coverage, but the output side leaves agents uncertain about what data structure to expect.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 100% description coverage for all 3 parameters (name, version, ecosystem), establishing a baseline of 3. The description mentions 'package' generally but adds no additional semantic context—such as version syntax requirements or ecosystem-specific behaviors—beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool checks for 'known vulnerabilities' and verifies registry existence, using specific verbs. It distinguishes from siblings (like audit_project or deep_scan) by focusing on single-package pre-installation verification rather than project-wide auditing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The 'MUST be called before installing any dependency' directive provides explicit workflow guidance. However, it lacks explicit comparison to siblings like 'audit_project' (for existing dependencies) or 'deep_scan' (for comprehensive analysis), which would help agents choose between similar security tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_npm_healthB
Assess package health and trustworthiness: downloads, maintenance, license, deprecation status. Scored 0-100.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | npm package name |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It successfully lists the evaluation criteria (downloads, maintenance, license, deprecation) and output format (0-100 score), compensating for the missing output schema. However, it omits safety indicators (read-only vs destructive), error handling (e.g., non-existent packages), or rate limiting concerns.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description consists of two efficient sentences with zero waste. It front-loads the action ('Assess') and uses a colon-delimited list to specify evaluation factors, ending with the output specification ('Scored 0-100'). Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter tool without output schema or annotations, the description is reasonably complete. It discloses the scoring range and evaluation dimensions, providing sufficient context for invocation. It could be improved by mentioning error cases (e.g., package not found) or confirming the read-only nature of the operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage for the single 'name' parameter ('npm package name'). The description adds no additional parameter context, examples, or format constraints beyond what the schema already provides, meeting the baseline expectation for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool assesses package health and trustworthiness using specific metrics (downloads, maintenance, license, deprecation) and produces a numeric score (0-100). However, it does not explicitly differentiate from sibling tool 'check_dependency' which may have overlapping functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'check_dependency', 'deep_scan', or 'audit_project'. There are no stated prerequisites, exclusions, or conditions for use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
deep_scanA
Scan a package's transitive dependency tree for vulnerabilities and suspicious patterns (newly added deps, typosquats, low-download packages).
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name to deep scan | |
| version | No | Specific version to scan. If omitted, scans latest. | |
| depth | No | How deep to scan: 1 = direct deps only (default), 2 = deps of deps. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full disclosure burden. It adds valuable specificity about detection patterns (typosquats, newly added deps, low-download packages) beyond generic 'security scan,' but lacks operational details like execution time expectations, API call behavior, or failure modes for invalid packages.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence structure with parenthetical elaboration maximizes information density. Every word earns its place: 'transitive' establishes scope, parenthetical examples clarify 'suspicious patterns' without disrupting flow, and no filler words are present.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Adequate for a 3-parameter tool with no output schema, covering the core security scanning purpose well. However, given the lack of output schema and annotations, the description should ideally disclose return value structure (vulnerability report format) or execution characteristics (async vs sync, typical duration) to be fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, establishing a baseline of 3. The description mentions 'transitive dependency tree' which conceptually maps to the depth parameter, and 'package' maps to name, but adds no explicit parameter guidance, syntax details, or version selection logic beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses specific verb 'Scan' with clear resource 'package's transitive dependency tree' and enumerates specific detection targets (vulnerabilities, typosquats, low-download packages). The terms 'deep' and 'transitive' effectively distinguish this from siblings like check_dependency or audit_project.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage through terminology like 'deep scan' and 'transitive dependency tree' (suggesting comprehensive analysis vs. shallow checks), but provides no explicit guidance on when to choose this over check_dependency or audit_project, nor mentions prerequisites like package availability.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_safe_versionB
Find the newest version of a package with zero known vulnerabilities.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name | |
| ecosystem | No | Package ecosystem. Defaults to npm. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. While it specifies the selection criteria (newest version with zero vulnerabilities), it fails to disclose error handling (what happens when no safe version exists), return format, or the vulnerability database source.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence of 11 words with zero redundancy. Every word contributes essential information about the tool's function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple two-parameter input schema with complete coverage, the description is minimally adequate. However, lacking both annotations and an output schema, it should ideally disclose error states (e.g., package not found, no safe version available) to be complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with both parameters fully documented. The description maps the concept of 'package' to the 'name' parameter but does not add semantics beyond the schema, such as explaining the ecosystem default behavior or valid values.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action (find), resource (package version), and constraint (zero known vulnerabilities). However, it does not explicitly differentiate from siblings like check_dependency or suggest_alternative that also handle security concerns.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like check_dependency or suggest_alternative. It omits prerequisites (e.g., exact package name requirements) and does not indicate when no safe version exists.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_advisory_detailC
Get full details about a specific security advisory (CVE, GHSA, etc).
| Name | Required | Description | Default |
|---|---|---|---|
| vulnId | Yes | Vulnerability ID (e.g., 'GHSA-jf85-cpcp-j695' or 'CVE-2021-23337') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It fails to specify what constitutes 'full details,' error handling for invalid IDs, rate limits, or whether the operation is idempotent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence that is appropriately sized for a simple lookup tool. The action is front-loaded, though 'full details' is vague and could be replaced with specific return value hints given the lack of output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter tool with 100% schema coverage, the description is minimally adequate. However, with no output schema provided, the failure to specify what 'full details' includes (severity, description, affected versions, references) leaves a significant gap in understanding the tool's utility.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the parameter already well-documented via examples (GHSA-jf85-cpcp-j695, CVE-2021-23337). The description mentions 'CVE, GHSA, etc' which aligns with the schema but adds no additional semantic context beyond the schema itself.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clear verb ('Get') and resource ('security advisory') with specific examples (CVE, GHSA) that hint at the expected input format. However, it does not explicitly differentiate from sibling tools like check_dependency that might also return vulnerability information.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides no guidance on when to use this tool versus alternatives (e.g., when to use get_advisory_detail vs check_dependency or deep_scan). No prerequisites or exclusion criteria are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
suggest_alternativeA
Find alternative packages when one is vulnerable, deprecated, or unmaintained.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name to find alternatives for | |
| reason | No | Why an alternative is needed (e.g., 'deprecated', 'vulnerable', 'unmaintained') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, yet the description offers no behavioral context beyond the basic operation. It omits how alternatives are ranked/selected, what criteria are used for recommendations, whether the operation is read-only, or what the response structure looks like.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence with zero waste. The phrase efficiently packs the action, target, and trigger conditions into a compact front-loaded structure where every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Adequate for a simple 2-parameter tool, but lacks description of return values or output format given the absence of an output schema. For a recommendation tool, omitting what kind of alternatives data is returned (names only? scores? compatibility info?) leaves a meaningful gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the baseline is 3. The description mirrors the schema's examples for the 'reason' parameter ('vulnerable, deprecated, unmaintained') but adds no additional semantic value regarding parameter formats, validation rules, or the optional nature of the reason field.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description provides a specific verb ('Find'), clear resource ('alternative packages'), and precise trigger conditions ('vulnerable, deprecated, or unmaintained'). It implicitly distinguishes from sibling 'find_safe_version' by focusing on alternative packages rather than alternative versions of the same package.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description specifies when to use the tool (when packages are vulnerable, deprecated, or unmaintained), but fails to explicitly contrast with 'find_safe_version'—a critical sibling that suggests upgrading the same package rather than replacing it. No guidance on when to prefer one approach over the other.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
7 tool updates
v0.1.0- First observed
audit_project - First observed
check_dependency - First observed
check_npm_health - First observed
deep_scan - First observed
find_safe_version - First observed
get_advisory_detail - First observed
suggest_alternative
TDQS
Tools are generally distinct with clear boundaries: audit_project targets manifest files, check_dependency is for pre-install validation, check_npm_health focuses on maintenance metrics, and deep_scan examines transitive dependencies. Minor overlap exists between check_dependency and check_npm_health (both examine single packages), but their purposes (security vs health) are different enough to guide selection.
Most tools follow a clear verb_noun pattern (audit_project, check_dependency, find_safe_version, get_advisory_detail, suggest_alternative). However, 'deep_scan' breaks the convention by using an adjective_noun structure rather than a verb-led name like 'scan_dependencies' or 'analyze_transitive_deps'. 'check_npm_health' is consistent but domain-specific (npm) while others are generic.
Seven tools is an ideal count for this domain. The set covers the full workflow: project scanning (audit_project), package vetting (check_dependency, check_npm_health, deep_scan), remediation (find_safe_version, suggest_alternative), and investigation (get_advisory_detail). No tool feels redundant or filler.
Strong coverage of the dependency security lifecycle including vulnerability detection, health assessment, transitive dependency analysis, and remediation strategies. Minor gaps include the lack of an 'apply_fix' or 'update_manifest' tool to automatically remediate findings, and no SBOM generation capability, but agents can work around these with the existing tools.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Protects AI coding agents from installing malicious open source packages. Every npm and PyPI package is checked against SafeDep’s real-time threat intelligence before installation.
check-package: block malicious npm/PyPI deps before your AI agent installs them. Free, no key.
Blocks typosquatted or hallucinated npm/PyPI packages before an AI agent installs them.
11Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with 25 security analysis tools including vulnerability scanning, package hallucination detection, prompt injection firewall, and CI/CD integration.1MIT
- AlicenseAqualityDmaintenanceDependency security & health auditing for AI agents with no account or API key required.22MIT
- AlicenseNot gradedqualityCmaintenanceValidates and checks packages across 19 ecosystems to prevent AI agents from installing hallucinated, deprecated, or malicious packages.117AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceProvides security checks for AI agents, including secret scanning, CVE lookup, and dependency vulnerability scanning, all running locally except for CVE lookups.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/devanshkaria88/depshield-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server