npm why (who installs this package) for Grok
io.github.lawatch/npm-why
Why a package is in node_modules, which versions, who pulls it in: npm explain from package-lock.
client:Grok
transport:stdio
runtime:oci
Install npm why (who installs this package) in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"npm-why": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/lawatch/npm-why:1.0.0"
]
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs