Skip to content

Commit 87337f0

Browse files
authored
Update install-claude.md
Removed instructions to add MCP server using `claude mcp add` and then `claude mcp update` (to add Github PAT env variable) as `claude mcp update` command no longer exists (https://docs.anthropic.com/en/docs/claude-code/cli-reference)
1 parent 587272b commit 87337f0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/installation-guides/install-claude.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,6 @@ Claude Code CLI provides command-line access to Claude with MCP server integrati
4242

4343
Run the following command to add the GitHub MCP server using Docker:
4444

45-
```bash
46-
claude mcp add github -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
47-
```
48-
49-
Then set the environment variable:
50-
```bash
51-
claude mcp update github -e GITHUB_PERSONAL_ACCESS_TOKEN=your_github_pat
52-
```
53-
54-
Or as a single command with the token inline:
5545
```bash
5646
claude mcp add-json github '{"command": "docker", "args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"], "env": {"GITHUB_PERSONAL_ACCESS_TOKEN": "your_github_pat"}}'
5747
```

0 commit comments

Comments
 (0)