Step 3 · A server on your computer
A server on your computer won't start
The config file has a typo
One missing comma or quote in claude_desktop_config.json or mcp.json breaks every server in it. Paste the file into any JSON checker. Watch for trailing commas, which JSON doesn't allow.
The app can't find npx, node or uvx
Desktop apps often don't see the same PATH as your terminal, especially on macOS, so a command that works in the terminal fails in the app. Use the full path to the program in the config, for example the output of which npx (macOS and Linux) or where npx (Windows).
The server prints logs to stdout
A local server talks to the app over stdout, so any stray line it prints there, like a startup message or a debug log, breaks the connection. Send logs to stderr instead. QAmcp's --stdio test checks for this and shows the lines that don't belong.
A key or setting is missing
Many servers need an API key in an environment variable. Put it in the env section of the server's entry in the config, then test the same way with npx qamcp-cli --stdio "your command" --env NAME=value.
The app wasn't restarted
Most apps only read the config when they start. Fully quit the app (not just close its window) and open it again after every change.