- Notifications
You must be signed in to change notification settings - Fork995
Description
Describe the bug
Github MCP fails to install and run correctly on Windows 11 with Claude Desktop
Affected version
Please run docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
and paste the output below
GitHub MCP Server
Version: v0.2.1
Commit:9fa582d
Build Date: 2025-04-21T23:03:04Z
Steps to reproduce the behavior
Windows 11 latest updates.
Install Docker desktop from MS Store and ensure started
Have Claude desktop latest beta installed
Add github MCP server to claud_desktop_config.json
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "github_pat_XXXXXX...XXXX"
}
}
Start claude desktop and view Developer settings, notice that github MCP failed.
Expected vs actual behavior
The MCP server should be created in Docker and be able to run. It does not appear that the image is installed and is runnable. Running the docker command manually in Terminal window is successful however the container fails to run within docker.
Logs
From mcp-server-github.log file:
2025-04-30T13:56:33.924Z [github] [info] Initializing server...
2025-04-30T13:56:33.938Z [github] [error] spawn docker ENOENT {"context":"connection","stack":"Error: spawn docker 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-04-30T13:56:33.938Z [github] [error] spawn docker ENOENT {"stack":"Error: spawn docker 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-04-30T13:56:33.939Z [github] [info] Server transport closed
2025-04-30T13:56:33.939Z [github] [info] Client transport closed
2025-04-30T13:56:33.939Z [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-30T13:56:33.939Z [github] [error] Server disconnected. For troubleshooting guidance, please visit ourdebugging documentation {"context":"connection"}