Symptom
On Windows, a stdio server whose config uses npx as command does not start. The working config in the report sets "command": "cmd" and "args": ["/C", "npx -y @modelcontextprotocol/server-filesystem /Users/YOUR_USERNAME/Desktop"]. The linked issue does not give an error string.
Evidence what you'll see
- The report says path lookup for the server command needs a command interpreter such as
cmd.exe. - The same
npxcommand is what they wanted the SDK to accept without that wrapper.
Why it happens
The SDK started the server with Node's spawn. On Windows that call does not resolve a command such as npx the way a shell does.
Affected versions
Windows. The linked issue does not name an SDK version or a Node version.
Fix steps
0 of 2 done
Your check marks stay in this browser only.
How to check it worked
- Start the server with
"command": "npx"on Windows and confirm the client connects.
If it still fails
- The linked issue does not describe a Windows
npxstart failure on1.8.0. Thecmdand/Cwrapper is the report's config on older builds.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it