@@ -30,9 +30,10 @@ Install the GitHub MCP server into VS Code by clicking here:
30
30
Or run this command in your terminal:
31
31
32
32
``` bash
33
- code --add-mcp' {"name":"github","command":"docker","args":["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server:main "], "env": {"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github-pat}"}, "inputs": [{ "id": "github-pat", "type": "promptString", "description": "Github Personal Access Token", "password": true}]}'
33
+ code --add-mcp' {"name":"github","command":"docker","args":["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"], "env": {"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github-pat}"}, "inputs": [{ "id": "github-pat", "type": "promptString", "description": "Github Personal Access Token", "password": true}]}'
34
34
35
35
```
36
+
36
37
VS Code is now configured and will prompt for your token the first time you use agent mode.
37
38
38
39
###Usage with Claude Desktop
@@ -48,7 +49,7 @@ VS Code is now configured and will prompt for your token the first time you use
48
49
" --rm" ,
49
50
" -e" ,
50
51
" GITHUB_PERSONAL_ACCESS_TOKEN" ,
51
- " ghcr.io/github/github-mcp-server:main "
52
+ " ghcr.io/github/github-mcp-server"
52
53
],
53
54
"env" : {
54
55
"GITHUB_PERSONAL_ACCESS_TOKEN" :" <YOUR_TOKEN>"