MCP setup on Windows (fix npx problem)

A quick video showcasing how I solved the npx command issue with MCP servers.
on Windows.


npx.bat:

@echo off
set PATH=[your/node/executable/path];%PATH%
npx %*

For macOS, see this comment.

1 Like

Very useful, I searched for a solution all afternoon and finally solved it. I would like to register an account specifically to express my gratitude!