pkgdiet for Grok
io.github.om-tajne/pkgdiet
Put your node_modules on a diet - find unused dependencies, analyze health, and reduce size
client:Grok
transport:stdio
runtime:npm
Install pkgdiet in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"pkgdiet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pkgdiet"
]
}
}
}
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