[BUG] Document is outdated

Resolved 💬 2 comments Opened Jul 6, 2025 by Rokurolize Closed Aug 15, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [x] Other: <!-- specify -->
  • Claude CLI version: 1.0.43 (Claude Code)
  • Operating System: Ubuntu 24.04.2 LTS
  • Terminal: bash

Bug Description

https://docs.anthropic.com/en/docs/claude-code/mcp#:~:text=Use%20the-,%2Ds%20global,-flag%20to%20add

<img width="551" height="69" alt="Image" src="https://github.com/user-attachments/assets/1d9fe15b-4343-451c-8a91-04179b209f4c" />

-s globalという記述が複数個所残っているが、これをそのまま入力した場合、エラーになります。

Invalid scope: global. Must be one of: local, user, project, dynamic

この場合、-s userが私が入力するべき内容でした。

Steps to Reproduce

  1. 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":"<TOKEN>"}}' -s global
  2. error message appear about invalid scope

Expected Behavior

公式ドキュメントが更新され、Tipsから現在使用できない設定-s globalの記述を-s userに書き換える

Actual Behavior

公式ドキュメントのTipsから-s userが残っている

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗