GitHub MCP · エラーと直し方 · GitHub から 2026-11-07 に読み取り

English

GitHub MCP のエラー「Visit https://github.com/login/device and enter the code XXXX-XXXX to authorize the…」— 公式 GitHub issue にある直し方

issue: MCP asks RW grants for RO access

回避策
直し方は下の引用(メンテナのコメント・原文のまま)です。
英語の要約: The config was passing the environment to docker but not into the container, so it needs to be passed into the container.

エラー

Visit https://github.com/login/device and enter the code XXXX-XXXX to authorize the GitHub MCP Server.

報告された issue: github/github-mcp-server #2812「MCP asks RW grants for RO access」

直し方(原文)

your config is slightly incorrect, and you are passing the env to docker but not to the container.

— issue 上のメンテナのコメント。

出典と日付

リポジトリgithub/github-mcp-server
issueMCP asks RW grants for RO access
根拠メンテナのコメント
状態回避策(根拠のコメントにある回り道)
直った版版の名前は書かれていない
issue が閉じた日2026-07-14
GitHub から読んだ日2026-11-07
人が承認した日2026-11-07

このページは、提供元自身の GitHub リポジトリに書かれていることの記録です。エラー文・issue の題・引用は原文のままで、冒頭の英語の要約は引用の範囲の 1 文です。2026-11-07 に人が確認して承認しました。KanseiLink は直し方を自分で再現していません。当てる前に issue を読んでください。内容が変わっていたら contact@synapse-arrows.com までお知らせください。

AI エージェント向け

同じ事実は、KanseiLink の MCP サーバー(https://mcp.kansei-link.com/mcp)の lookup({ service_id: 'github' }) が issue_facts として返します。接続の情報はGitHub のサービスページ(英語)にあります。

GitHub MCP のほかのエラー