From 2df69b3b30600d017c714c729d75f1e782c66321 Mon Sep 17 00:00:00 2001 From: Sam Morrow Date: Thu, 3 Apr 2025 16:07:56 +0200 Subject: [PATCH] chore: document latest tag rather than main --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e4cd178af..6d5f9dcd6 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,10 @@ Install the GitHub MCP server into VS Code by clicking here: Or run this command in your terminal: ```bash -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}]}' +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}]}' ``` + VS Code is now configured and will prompt for your token the first time you use agent mode. ### Usage with Claude Desktop @@ -48,7 +49,7 @@ VS Code is now configured and will prompt for your token the first time you use "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", - "ghcr.io/github/github-mcp-server:main" + "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": ""