github / github/copilot-cli

Atlassian MCP server auto-connects without completing OAuth flow (Sign in button disappears)

オープン
#4,086 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:authentication area:mcp triaged
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Description

The Atlassian MCP server (https://mcp.atlassian.com/v1/mcp) shows a green checkmark (connected) in MCP Settings without completing the OAuth browser flow. No atlassian-* tools are loaded in sessions.

Expected behavior

Clicking 'Sign in' or toggling the server on should open a browser for OAuth authorization (like LeanIX and Lucid do).

Actual behavior

  • The 'Sign in' button flashes briefly and disappears
  • Green checkmark appears immediately without browser redirect
  • No OAuth token is saved (no .tokens.json file in ~/.copilot/mcp-oauth-config/)
  • Sessions do not have access to any Atlassian tools

Steps to reproduce

  1. Add Atlassian MCP to a plugin .mcp.json:
    "atlassian": { "type": "http", "url": "https://mcp.atlassian.com/v1/mcp" }
    
  2. Open MCP Settings
  3. Toggle Atlassian on
  4. Observe: green checkmark appears without browser opening

Root cause hypothesis

Atlassian MCP endpoint responds to discovery/health-check requests with HTTP 200 without requiring authentication. The app interprets this as 'connected' and skips the OAuth flow. Other MCP servers (LeanIX, Lucid) correctly require auth on these requests.

Workaround

Using Atlassian REST API directly with personal API tokens.

Environment

  • Copilot CLI version: 1.0.69
  • OS: Windows 11
  • Plugin: custom plugin with Atlassian MCP config
  • Other MCP servers working correctly: LeanIX, Lucid, QMD (local)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

MCP Settings フローと plugin .mcp.json 設定から始め、その後、issue に記載された Atlassian エンドポイントの動作を再現します。検出と認証処理を LeanIX および Lucid と比較します。Sign in で OAuth ブラウザーフローが開き、トークンが保存され、セッションで Atlassian ツールが読み込まれれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
authentication, cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。