Skip to content
Cursor

npm for Cursor

io.github.dave-london/npm

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

client:Cursor transport:stdio runtime:npm

Install npm in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

npm in other clients