Skip to content
Grok

npm for Grok

io.github.dave-london/npm

Structured npm/pnpm operations (install, audit, outdated, list) as typed JSON.

client:Grok transport:stdio runtime:npm

Install npm in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "npm": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@paretools/npm"
      ]
    }
  }
}

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

npm in other clients