From 4deb6b86bbf2599fe72b16b71a55086a5319408e Mon Sep 17 00:00:00 2001 From: pomcho555 Date: Sat, 26 Jul 2025 21:29:26 +0900 Subject: [PATCH] Docs: fix outdated Claude Code CLI installation --- docs/installation-guides/install-claude.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/installation-guides/install-claude.md b/docs/installation-guides/install-claude.md index 2c50be2f9..dc73628a5 100644 --- a/docs/installation-guides/install-claude.md +++ b/docs/installation-guides/install-claude.md @@ -43,12 +43,8 @@ Claude Code CLI provides command-line access to Claude with MCP server integrati Run the following command to add the GitHub MCP server using Docker: ```bash -claude mcp add github -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server -``` - -Then set the environment variable: -```bash -claude mcp update github -e GITHUB_PERSONAL_ACCESS_TOKEN=your_github_pat +claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN=your_github_pat -- \ + docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=your_github_pat ghcr.io/github/github-mcp-server ``` Or as a single command with the token inline: