Troubleshooting
"npx: command not found"
Make sure Node.js (v18+) is installed:
bash
node --version
npm --versionInstall from nodejs.org if needed.
Tools not showing up
- Restart the app after editing the config file
- Check the config path — make sure you edited the right file
- Validate JSON — use a JSON validator to check for syntax errors
- Check logs — Claude Desktop and other apps may have logs showing connection errors
"calc-mcp: command not found" inside a Node.js project
If you run npx inside a directory that contains node_modules, npx may fail with:
sh: calc-mcp: command not foundThis happens because npx resolves the scoped package locally but fails to link the binary correctly. All the examples on this page already include the fix (--prefix /tmp), which forces npx to use a separate directory for package resolution:
bash
npx --prefix /tmp -y @coo-quack/calc-mcp@latestVersion info
To check the latest published version:
bash
npx --prefix /tmp -y @coo-quack/calc-mcp@latest --versionStill stuck?
Open an issue on GitHub.