You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured claude_desktop_config.json to configure mcp for claude, but every time I restart claude, I will be prompted that the service failed to start
#325
2025-04-24T07:54:24.764Z [Puppeteer] [info] Initializing server...
2025-04-24T07:54:24.801Z [Puppeteer] [info] Server started and connected successfully
2025-04-24T07:54:24.802Z [Puppeteer] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
ERROR: You must supply a command.
Execute binaries from npm packages.
npx [options] <command>[@version] [command-arg]...
npx [options] [-p|--package <package>]... <command> [command-arg]...
npx [options] -c '<command-string>'
npx --shell-auto-fallback [shell]
Options:
--package, -p Package to be installed. [string]
--cache Location of the npm cache. [string]
--always-spawn Always spawn a child process to execute the command.
[boolean]
--no-install Skip installation if a package is missing. [boolean]
--userconfig Path to user npmrc. [string]
--call, -c Execute string as if inside `npm run-script`. [string]
--shell, -s Shell to execute the command with, if any.
[string] [default: false]
--shell-auto-fallback Generate shell code to use npx as the "command not
found" fallback.
[string] [choices: "", "bash", "fish", "zsh"]
--ignore-existing Ignores existing binaries in $PATH, or in the local
project. This forces npx to do a temporary install and
use the latest version. [boolean]
--quiet, -q Suppress output from npx itself. Subcommands will not
be affected. [boolean]
--npm npm binary to use for internal operations.
[string] [default: "/Users/nyingchi/.nvm/versions/node/v14.18.3/lib/node_modul
es/npm/bin/npm-cli.js"]
--node-arg, -n Extra node argument when calling a node binary.[string]
--version, -v Show version number [boolean]
--help, -h Show help [boolean]
For the full documentation, see the manual page for npx(1).
2025-04-24T07:54:24.992Z [Puppeteer] [info] Server transport closed
2025-04-24T07:54:24.992Z [Puppeteer] [info] Client transport closed
2025-04-24T07:54:24.992Z [Puppeteer] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-04-24T07:54:24.992Z [Puppeteer] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-04-24T07:54:24.993Z [Puppeteer] [info] Client transport closed
mcp-server-filesystem.log
2025-04-24T07:54:24.763Z [filesystem] [info] Initializing server...
2025-04-24T07:54:24.800Z [filesystem] [info] Server started and connected successfully
2025-04-24T07:54:24.801Z [filesystem] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
command not found: /Users/nyingchi/Desktop
2025-04-24T07:54:24.980Z [filesystem] [info] Server transport closed
2025-04-24T07:54:24.980Z [filesystem] [info] Client transport closed
2025-04-24T07:54:24.980Z [filesystem] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-04-24T07:54:24.980Z [filesystem] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-04-24T07:54:24.981Z [filesystem] [info] Client transport closed
mcp.log
2025-04-24T07:54:24.763Z [info] [filesystem] Initializing server...
2025-04-24T07:54:24.764Z [info] [Puppeteer] Initializing server...
2025-04-24T07:54:24.800Z [info] [filesystem] Server started and connected successfully
2025-04-24T07:54:24.801Z [info] [Puppeteer] Server started and connected successfully
2025-04-24T07:54:24.801Z [info] [filesystem] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2025-04-24T07:54:24.802Z [info] [Puppeteer] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
2025-04-24T07:54:24.980Z [info] [filesystem] Server transport closed
2025-04-24T07:54:24.980Z [info] [filesystem] Client transport closed
2025-04-24T07:54:24.980Z [info] [filesystem] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-04-24T07:54:24.980Z [error] [filesystem] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging)
2025-04-24T07:54:24.981Z [info] [filesystem] Client transport closed
2025-04-24T07:54:24.992Z [info] [Puppeteer] Server transport closed
2025-04-24T07:54:24.992Z [info] [Puppeteer] Client transport closed
2025-04-24T07:54:24.992Z [info] [Puppeteer] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-04-24T07:54:24.993Z [error] [Puppeteer] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging)
2025-04-24T07:54:24.993Z [info] [Puppeteer] Client transport closed
I looked up many methods on the Internet, and they all said that my running environment is node14. Although I do have node14 locally, I am very sure that I have switched to node20 globally. I tried various methods based on the instructions of the AI and tried to get claude to run on version 20 node, but they were unsuccessful. Every time an error in the startup log tells me that he is running on version 14 node. After searching for an afternoon, all methods were unsuccessful. I could only ask for help.
this is the solution I asked ai to provide me with
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
this is my configuration information
claude_desktop_config.json
this is the error log after restarting claude
mcp-server-Puppeteer.log
mcp-server-filesystem.log
mcp.log
I looked up many methods on the Internet, and they all said that my running environment is node14. Although I do have node14 locally, I am very sure that I have switched to node20 globally. I tried various methods based on the instructions of the AI and tried to get claude to run on version 20 node, but they were unsuccessful. Every time an error in the startup log tells me that he is running on version 14 node. After searching for an afternoon, all methods were unsuccessful. I could only ask for help.
this is the solution I asked ai to provide me with

Beta Was this translation helpful? Give feedback.
All reactions