File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ Add the following JSON block to your IDE MCP settings.
162
162
" -i" ,
163
163
" --rm" ,
164
164
" -e" ,
165
- " GITHUB_PERSONAL_ACCESS_TOKEN" ,
165
+ " GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token} " ,
166
166
" ghcr.io/github/github-mcp-server"
167
167
],
168
168
"env" : {
@@ -195,7 +195,7 @@ Optionally, you can add a similar example (i.e. without the mcp key) to a file c
195
195
" -i" ,
196
196
" --rm" ,
197
197
" -e" ,
198
- " GITHUB_PERSONAL_ACCESS_TOKEN" ,
198
+ " GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token} " ,
199
199
" ghcr.io/github/github-mcp-server"
200
200
],
201
201
"env" : {
@@ -221,7 +221,7 @@ More about using MCP server tools in VS Code's [agent mode documentation](https:
221
221
" -i" ,
222
222
" --rm" ,
223
223
" -e" ,
224
- " GITHUB_PERSONAL_ACCESS_TOKEN" ,
224
+ " GITHUB_PERSONAL_ACCESS_TOKEN=<YOUR_TOKEN> " ,
225
225
" ghcr.io/github/github-mcp-server"
226
226
],
227
227
"env" : {
@@ -378,7 +378,7 @@ the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data r
378
378
" -i" ,
379
379
" --rm" ,
380
380
" -e" ,
381
- " GITHUB_PERSONAL_ACCESS_TOKEN" ,
381
+ " GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token} " ,
382
382
" -e" ,
383
383
" GITHUB_HOST" ,
384
384
" ghcr.io/github/github-mcp-server"
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ The `--stdio-server-cmd` flag is required for all commands and specifies the com
34
34
List available tools in Github's MCP server:
35
35
36
36
``` console
37
- % ./mcpcurl --stdio-server-cmd " docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp /github" tools --help
37
+ % ./mcpcurl --stdio-server-cmd " docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> ghcr.io /github/github-mcp-server " tools --help
38
38
Contains all dynamically generated tool commands from the schema
39
39
40
40
Usage:
@@ -73,7 +73,7 @@ Use "mcpcurl tools [command] --help" for more information about a command.
73
73
Get help for a specific tool:
74
74
75
75
``` console
76
- % ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp /github" tools get_issue --help
76
+ % ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> ghcr.io /github/github-mcp-server " tools get_issue --help
77
77
Get details of a specific issue in a GitHub repository
78
78
79
79
Usage:
@@ -94,7 +94,7 @@ Global Flags:
94
94
Use one of the tools:
95
95
96
96
``` console
97
- % ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp /github" tools get_issue --owner golang --repo go --issue_number 1
97
+ % ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=<your-token> ghcr.io /github/github-mcp-server " tools get_issue --owner golang --repo go --issue_number 1
98
98
{
99
99
"active_lock_reason": null,
100
100
"assignee": null,
You can’t perform that action at this time.
0 commit comments