From 2b684edbacae4832f0e2df451615416c5b04fcb5 Mon Sep 17 00:00:00 2001 From: herodot Date: Sat, 12 Jul 2025 20:41:11 +0800 Subject: [PATCH] Update readme --- README.md | 8 ++++---- cmd/mcpcurl/README.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c5274ff83..36a29173d 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ Add the following JSON block to your IDE MCP settings. "-i", "--rm", "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", + "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}", "ghcr.io/github/github-mcp-server" ], "env": { @@ -195,7 +195,7 @@ Optionally, you can add a similar example (i.e. without the mcp key) to a file c "-i", "--rm", "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", + "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}", "ghcr.io/github/github-mcp-server" ], "env": { @@ -221,7 +221,7 @@ More about using MCP server tools in VS Code's [agent mode documentation](https: "-i", "--rm", "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", + "GITHUB_PERSONAL_ACCESS_TOKEN=", "ghcr.io/github/github-mcp-server" ], "env": { @@ -378,7 +378,7 @@ the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data r "-i", "--rm", "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", + "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}", "-e", "GITHUB_HOST", "ghcr.io/github/github-mcp-server" diff --git a/cmd/mcpcurl/README.md b/cmd/mcpcurl/README.md index 317c2b8e5..5b859d925 100644 --- a/cmd/mcpcurl/README.md +++ b/cmd/mcpcurl/README.md @@ -34,7 +34,7 @@ The `--stdio-server-cmd` flag is required for all commands and specifies the com List available tools in Github's MCP server: ```console -% ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp/github" tools --help +% ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN= ghcr.io/github/github-mcp-server" tools --help Contains all dynamically generated tool commands from the schema Usage: @@ -73,7 +73,7 @@ Use "mcpcurl tools [command] --help" for more information about a command. Get help for a specific tool: ```console - % ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp/github" tools get_issue --help + % ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN= ghcr.io/github/github-mcp-server" tools get_issue --help Get details of a specific issue in a GitHub repository Usage: @@ -94,7 +94,7 @@ Global Flags: Use one of the tools: ```console - % ./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 + % ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN= ghcr.io/github/github-mcp-server" tools get_issue --owner golang --repo go --issue_number 1 { "active_lock_reason": null, "assignee": null,