npm why (who installs this package) for VS Code
io.github.lawatch/npm-why
Why a package is in node_modules, which versions, who pulls it in: npm explain from package-lock.
client:VS Code
transport:stdio
runtime:oci
Install npm why (who installs this package) in VS Code
.vscode/mcp.json
{
"servers": {
"npm-why": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/lawatch/npm-why:1.0.0"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs