phil71x
(Philippe)
1
Hi guys,
I need some help to configure the official Github MCP Server in Cursor on my Windows machine.
Here is my setup that doesn’t work!:
"github": {
"command": "C:\\Program Files\\Go\\bin\\go.exe",
"args": [
"run",
"github.com/github/github-mcp-server/cmd/github-mcp-server@latest",
"stdio",
"--dynamic-toolsets"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "xxxxx",
"HOME": "%USERPROFILE%"
}
}
How did you set up yours?
Thanks in advance for your help
phil71x
(Philippe)
2
I wasn’t able to use the official Github MCP in Go, so I choose the one from Anthropic located in their mcp github repo: servers/src/github at main · modelcontextprotocol/servers instead.
2600hz
(2600hz)
3
Hi Phil,
I used Github MCP to do the configuration personnally, I find it much easier. Here is how it looks like in my mcp.json file:
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "XXXXXXXXXXX"
}
},