lockshield-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use lockshield-mcp to audit package-lock.json (v1/v2/v3), pnpm-lock.yaml, Cargo.lock, poetry.lock, and uv.lock offline for deal-blocking SPDX copyleft or source-available licenses (AGPL-3.0, SSPL-1.0, BUSL-1.1, FSL-1.1, Commons-Clause, CC-BY-NC), evaluate compound OR/AND/WITH SPDX boolean expressions across SaaS, Binary, and Internal deployment modes, detect postinstall lifecycle scripts, cleartext HTTP/unpinned Git origins, SHA-1 hashes, and ecosystem typosquats, and generate deterministic CycloneDX 1.5 JSON SBOMs.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| audit_lockfile_complianceB | Parses package-lock.json (v1/v2/v3), pnpm-lock.yaml, Cargo.lock, poetry.lock, or uv.lock offline and evaluates transitive SPDX copyleft/SaaS license contamination and supply-chain hazards. |
| evaluate_spdx_expression_policyB | Evaluates single or compound SPDX boolean license expressions (OR, AND, WITH, parentheses) across SaaS, Commercial Binary, and Internal Tool deployment modes. |
| scan_supply_chain_hazardsA | Scans lockfile dependencies specifically for preinstall/postinstall lifecycle hooks, cleartext HTTP or unpinned Git origins, deprecated SHA-1 hashes, and ecosystem typosquats. |
| generate_cyclonedx_sbomA | Generates a deterministic CycloneDX 1.5 JSON Software Bill of Materials (SBOM) with canonical Package URLs (purl), hex SHA-512/SHA-256 digests, and SPDX license objects. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| audit-saas-lockfile-due-diligence | Run an M&A / enterprise procurement compliance audit on a project lockfile to uncover AGPL/SSPL/BUSL blockers and supply-chain risks. |
| generate-eu-cra-cyclonedx-sbom | Generate a deterministic CycloneDX 1.5 JSON Software Bill of Materials and remediation report from a repository lockfile. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| LockShield 3-Mode SPDX License Policy Matrix | Reference classification of Permissive, Weak Copyleft, Strong Binary Copyleft, Network Copyleft (AGPL), Source-Available (SSPL/BUSL/FSL/Commons-Clause), and Non-Commercial licenses across SaaS, Binary, and Internal modes. |
| LockShield Supply-Chain & License Audit Rule Codes | Complete catalog of LockShield diagnostic rule codes, severities, and remediation guidance. |
TDQS
Scored across 4 tools
Each tool has a recognizable core action (audit lockfile, evaluate SPDX expression, scan hazards, generate SBOM), so selection is mostly clear. However, audit_lockfile_compliance's description also claims to evaluate "supply-chain hazards," which overlaps directly with scan_supply_chain_hazards, and its license-contamination check blurs with evaluate_spdx_expression_policy.
All four names follow a strict verb_noun snake_case pattern (audit_…, evaluate_…, scan_…, generate_…) with descriptive domain objects. No mixed conventions or vague one-word verbs.
Four tools is lean but each maps to a distinct stage of lockfile analysis, so nothing feels redundant. It sits at the low end of the ideal range, leaving little room for supporting operations.
The analysis-to-SBOM pipeline is covered, but there is no way to inspect or list raw resolved dependencies, no diff/compare between two lockfiles, and no remediation or policy-configuration tool despite policy evaluation being a core feature. Agents would have to work around these gaps for a full audit workflow.