File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ claude mcp add --transport http github https://api.githubcopilot.com/mcp -H "Aut
4242
4343# ## Local Server Setup (Docker required)
4444
45+ # ## With Docker
45461. Run the following command in the Claude Code CLI:
4647` ` ` bash
4748claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN=YOUR_GITHUB_PAT -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
@@ -54,6 +55,17 @@ claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN=$(grep GITHUB_PAT .env | c
54552. Restart Claude Code
55563. Run ` claude mcp list` to see if the GitHub server is configured
5657
58+ # ## With a Go Binary (without Docker)
59+
60+ 1. Download [release binary](https://github.com/github/github-mcp-server/releases)
61+ 2. Add to your ` PATH`
62+ 3. Run:
63+ ` ` ` bash
64+ claude mcp add-json github ' {"command": "github-mcp-server", "args": ["stdio"], "env": {"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PAT"}}'
65+ ` ` `
66+ 2. Restart Claude Code
67+ 3. Run ` claude mcp list` to see if the GitHub server is configured
68+
5769# ## Verification
5870` ` ` bash
5971claude mcp list
You can’t perform that action at this time.
0 commit comments