Shopify dev MCP not working on Cursor

I’m getting the error below when I install the MCP through these docs for Cursor.

Anyone else have the same issue?

2025-10-29 17:29:35.391 [info] Handling CreateClient action
2025-10-29 17:29:35.391 [info] Starting new stdio process with command: npx -y @shopify/dev-mcp@latest
2025-10-29 17:29:36.535 [error] node:internal/modules/cjs/loader:1401
  const err = new Error(message);
              ^

Error: Cannot find module '@shopify/liquid-html-parser'
Require stack:
- /home/djordje/.npm/_npx/8f00c70bd5114901/node_modules/@shopify/theme-check-node/dist/index.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
    at Function._load (node:internal/modules/cjs/loader:1211:37)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Module.require (node:internal/modules/cjs/loader:1487:12)
    at require (node:internal/modules/helpers:135:16)
    at Object.<anonymous> (/home/djordje/.npm/_npx/8f00c70bd5114901/node_modules/@shopify/theme-check-node/dist/index.js:23:30)
    at Module._compile (node:internal/modules/cjs/loader:1730:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/djordje/.npm/_npx/8f00c70bd5114901/node_modules/@shopify/theme-check-node/dist/index.js'
  ]
}

Node.js v22.16.0

2025-10-29 17:29:36.552 [info] Client closed for command
2025-10-29 17:29:36.562 [info] Handling ListOfferings action, server stored: false

Already tried that @Geard_Roas but unfortunately I’m still getting the same error

That seems to work but there’s this error when I configure the mcp.json file:

2025-10-29 22:00:31.518 [info] Starting new stdio process with command: cd /home/djordje/code/shopify-mcp && npx shopify-dev-mcp
2025-10-29 22:00:31.518 [error] Client error for command A system error occurred (spawn cd ENOENT)
2025-10-29 22:00:31.519 [info] Client closed for command
2025-10-29 22:00:31.571 [info] Handling ListOfferings action, server stored: false
"shopify-dev-mcp": {
  "command": "cd",
  "args": ["/home/djordje/code/shopify-mcp", "&&", "npx", "shopify-dev-mcp"]
}

I’m also not keen on doing it this way as I’d have to manually update it every so often.

I’m getting this as well @Evonux - can you ellaborate on your fix?

UPDATE:

This was solved (for my part) by cleaning npm cache:

npm cache clean --force

Additionally, removing your npx folder under ...AppData/Local/npm-cache/_npx

Running rm -rf ~/.npm/_npx did in fact fix the issue, thanks @Joakim !

1 Like