Scan a public GitHub repository
scan_public_repoScans the package files of a public GitHub repository (up to 40, shallowest first) for vulnerable and outdated dependencies across npm, PyPI, Composer, RubyGems, Go, Maven and NuGet. Returns the same health score and fixes as npmscan.io/scan. A repository scanned in the last 30 minutes comes from cache. Private repositories need an npmscan account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "scan_public_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | A public GitHub repository: https://github.com/owner/repo or owner/repo |