Skip to content

Commit 2b684ed

Browse files
committed
Update readme
1 parent d15026b commit 2b684ed

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Add the following JSON block to your IDE MCP settings.
162162
"-i",
163163
"--rm",
164164
"-e",
165-
"GITHUB_PERSONAL_ACCESS_TOKEN",
165+
"GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}",
166166
"ghcr.io/github/github-mcp-server"
167167
],
168168
"env": {
@@ -195,7 +195,7 @@ Optionally, you can add a similar example (i.e. without the mcp key) to a file c
195195
"-i",
196196
"--rm",
197197
"-e",
198-
"GITHUB_PERSONAL_ACCESS_TOKEN",
198+
"GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}",
199199
"ghcr.io/github/github-mcp-server"
200200
],
201201
"env": {
@@ -221,7 +221,7 @@ More about using MCP server tools in VS Code's [agent mode documentation](https:
221221
"-i",
222222
"--rm",
223223
"-e",
224-
"GITHUB_PERSONAL_ACCESS_TOKEN",
224+
"GITHUB_PERSONAL_ACCESS_TOKEN=<YOUR_TOKEN>",
225225
"ghcr.io/github/github-mcp-server"
226226
],
227227
"env": {
@@ -378,7 +378,7 @@ the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data r
378378
"-i",
379379
"--rm",
380380
"-e",
381-
"GITHUB_PERSONAL_ACCESS_TOKEN",
381+
"GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}",
382382
"-e",
383383
"GITHUB_HOST",
384384
"ghcr.io/github/github-mcp-server"

cmd/mcpcurl/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The `--stdio-server-cmd` flag is required for all commands and specifies the com
3434
List available tools in Github's MCP server:
3535

3636
```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
3838
Contains all dynamically generated tool commands from the schema
3939

4040
Usage:
@@ -73,7 +73,7 @@ Use "mcpcurl tools [command] --help" for more information about a command.
7373
Get help for a specific tool:
7474

7575
```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
7777
Get details of a specific issue in a GitHub repository
7878

7979
Usage:
@@ -94,7 +94,7 @@ Global Flags:
9494
Use one of the tools:
9595

9696
```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
9898
{
9999
"active_lock_reason": null,
100100
"assignee": null,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy