AI
250401 Claude MCP server - github MCPserver 연결
걍작
2025. 4. 1. 12:02
# github MCP 서버 설치 코드 확인 및 복사
>> https://www.pulsemcp.com/servers?q=github
>> 상단 npm 누르고, 하단에 mcp 설정 코드 복사 후 붙여넣기
>> github에서 accesstoken 생성 후, 설정 코드에 붙여넣기
# Node.js / npm 최신버젼으로 재설치
>> node.js >> LTS 다운로드 후 설치
>> npm install -g npm 실행
# Claude 재시작 후, 도구 늘어난 것 확인
## 발생한 에러와 해결
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\user\AppData\Local\AnthropicClaude\app-0.9.1\${APPDATA}
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\user\AppData\Local\AnthropicClaude\app-0.9.1\${APPDATA}'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\npm-cache\_logs\2025-04-01T02_37_46_649Z-debug-0.log
2025-04-01T02:37:47.011Z [github] [info] Server transport closed
2025-04-01T02:37:47.011Z [github] [info] Client transport closed
2025-04-01T02:37:47.011Z [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-04-01T02:37:47.011Z [github] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-04-01T02:37:47.011Z [github] [info] Client transport closed
# Node.js 가 v20 이상 / npm 이 v11 이상 필요하나, 구 버젼이 설치 되어있었음.
C:\Users\user> node -v
v18.12.1
C:\Users\user>npm -v
8.19.2