Background
This solution is inspired by https://github.com/modelcontextprotocol/servers/issues/64 but with a little more detail. With a few changes, it also works for macOS, Linux, and Windows.
Problem
When using NVM or standard Node.js installation,...