1.1.8npm · locklens · current release
Observed 2026-08-15T20:34:52.755Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.
{
"resources": {
"listChanged": true
},
"tools": {
"listChanged": true
}
}| Tool | Category | Annotations | Risk |
|---|---|---|---|
package_auditAudit a local project or remote Git repository lockfile and return normalized package vulnerability results.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "Required. Local directory path or remote Git repository URL"
},
"threshold": {
"description": "Minimum threshold that controls the returned advisories list. Defaults to low.",
"type": "string",
"enum": [
"low",
"moderate",
"high",
"critical"
]
},
"registry": {
"description": "Custom registry URL used during audit execution. Defaults to https://registry.npmjs.org/.",
"type": "string"
},
"skipDev": {
"description": "Whether to skip dev dependencies during audit",
"type": "boolean"
},
"retryCount": {
"description": "Retry count passed to the audit executor",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"outputFormat": {
"description": "Response format. Defaults to text.",
"type": "string",
"enum": [
"json",
"text"
]
},
"outputFormatLanguage": {
"description": "Text report language. Defaults to zh.",
"type": "string",
"enum": [
"zh",
"en"
]
}
},
"required": [
"source"
]
} | — | — · — | — |
package_audit 的最小使用指南,包含默认值、输入规则、私有仓库接入方式和常见示例。
{
"resource_key": "locklens://guides/package-audit",
"uri": "locklens://guides/package-audit",
"name": "package-audit-guide",
"description": "package_audit 的最小使用指南,包含默认值、输入规则、私有仓库接入方式和常见示例。",
"mime_type": "text/markdown",
"annotations": null,
"metadata_hash": "27cebb2cd7f61d4c6c0a8d465442faede86e923681981880c78bc61db3beba44"
}