Claude Desktop MCP 세팅 에러
> 2025-03-26T12:59:30.185Z [github] [info] Initializing server...
2025-03-26T12:59:30.195Z [github] [error] spawn npx ENOENT {"context":"connection","stack":"Error: spawn npx ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-03-26T12:59:30.195Z [github] [error] spawn npx ENOENT {"stack":"Error: spawn npx ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-03-26T12:59:30.198Z [github] [info] Server transport closed
2025-03-26T12:59:30.198Z [github] [info] Client transport closed
2025-03-26T12:59:30.198Z [github] [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-03-26T12:59:30.198Z [github] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-03-26T12:59:31.414Z [github] [info] Initializing server...
2025-03-26T12:59:31.417Z [github] [error] spawn npx ENOENT {"context":"connection","stack":"Error: spawn npx ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-03-26T12:59:31.418Z [github] [error] spawn npx ENOENT {"stack":"Error: spawn npx ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-03-26T12:59:31.419Z [github] [info] Server transport closed
2025-03-26T12:59:31.419Z [github] [info] Client transport closed
2025-03-26T12:59:31.419Z [github] [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-03-26T12:59:31.419Z [github] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
spawn npx ENOENT 에러 발생
=> Node.js가 설치되어 있지 않아 발생한 문제 (환경 설정)
1) Node.js 설치
https://nodejs.org/ko/download
공식홈페이지 다운
2) 설치 확인
% node --version
v22.14.0
% npm --version
10.9.2
% npx --version
10.9.2
참고 자료
https://www.reddit.com/r/ClaudeAI/comments/1h5rl4q/what_is_the_solution_for_mcp_server_filesystem/