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
Describe the bug
If i add a personal access token to the mcp config file for claude desktop, then the MCP server errors and i get the below error in the logs.
If i don't enter a token then the MCP server works as expected
I doubt it is todo with this but I am running on windows on and Arm64 processor not an intel one.
Logs
Node.js v20.18.3
2025-03-06T13:10:42.200Z [github] [info] Server transport closed
2025-03-06T13:10:42.201Z [github] [info] Client transport closed
2025-03-06T13:10:42.202Z [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-06T13:10:42.203Z [github] [error] Server disconnected. For troubleshooting guidance, please visit our debugging documentation {"context":"connection"}
2025-03-06T13:10:42.204Z [github] [info] Client transport closed
2025-03-06T13:10:42.341Z [github] [info] Initializing server...
2025-03-06T13:10:42.452Z [github] [info] Server started and connected successfully
2025-03-06T13:10:43.043Z [github] [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}
node:internal/modules/esm/resolve:283
throw new ERR_MODULE_NOT_FOUND(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\andyd\npm-cache_npx\3dfbf5a9eea4a1b3\node_modules@modelcontextprotocol\sdk\dist\server\index.js' imported from C:\Users\andyd\npm-cache_npx\3dfbf5a9eea4a1b3\node_modules@modelcontextprotocol\server-github\dist\index.js
at finalizeResolution (node:internal/modules/esm/resolve:283:11)
at moduleResolve (node:internal/modules/esm/resolve:952:10)
at defaultResolve (node:internal/modules/esm/resolve:1188:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap. (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///C:/Users/andyd/npm-cache/_npx/3dfbf5a9eea4a1b3/node_modules/@modelcontextprotocol/sdk/dist/server/index.js'
}
The text was updated successfully, but these errors were encountered:
AndyDavo
changed the title
when adding a secret token to the config file, the MPC server stops working
when adding a secret token to the config file, the Github MPC server stops working
Mar 6, 2025
Describe the bug
If i add a personal access token to the mcp config file for claude desktop, then the MCP server errors and i get the below error in the logs.
If i don't enter a token then the MCP server works as expected
I doubt it is todo with this but I am running on windows on and Arm64 processor not an intel one.
Logs
Node.js v20.18.3
2025-03-06T13:10:42.200Z [github] [info] Server transport closed
2025-03-06T13:10:42.201Z [github] [info] Client transport closed
2025-03-06T13:10:42.202Z [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-06T13:10:42.203Z [github] [error] Server disconnected. For troubleshooting guidance, please visit our debugging documentation {"context":"connection"}
2025-03-06T13:10:42.204Z [github] [info] Client transport closed
2025-03-06T13:10:42.341Z [github] [info] Initializing server...
2025-03-06T13:10:42.452Z [github] [info] Server started and connected successfully
2025-03-06T13:10:43.043Z [github] [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}
node:internal/modules/esm/resolve:283
throw new ERR_MODULE_NOT_FOUND(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\andyd\npm-cache_npx\3dfbf5a9eea4a1b3\node_modules@modelcontextprotocol\sdk\dist\server\index.js' imported from C:\Users\andyd\npm-cache_npx\3dfbf5a9eea4a1b3\node_modules@modelcontextprotocol\server-github\dist\index.js
at finalizeResolution (node:internal/modules/esm/resolve:283:11)
at moduleResolve (node:internal/modules/esm/resolve:952:10)
at defaultResolve (node:internal/modules/esm/resolve:1188:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap. (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///C:/Users/andyd/npm-cache/_npx/3dfbf5a9eea4a1b3/node_modules/@modelcontextprotocol/sdk/dist/server/index.js'
}
The text was updated successfully, but these errors were encountered: