Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when adding a secret token to the config file, the Github MPC server stops working #750

Open
AndyDavo opened this issue Mar 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@AndyDavo
Copy link

AndyDavo commented 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'
}

@AndyDavo AndyDavo added the bug Something isn't working label Mar 6, 2025
@AndyDavo 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant