MCP OAuth: 'needs authentication' link never launches any visible auth flow (Atlassian/Jira, macOS, CLI 1.0.83)
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Bereich
- api, authentication, cli
Rechercherichtung
Reproduziere den Ablauf im Agents-Fenster der Copilot-App mit https://mcp.atlassian.com/v1/mcp aktiviert, und vergleiche ihn anschließend mit dem vom eigenständigen CLI beschriebenen Zustand anhand von ~/.copilot/mcp-config.json, copilot mcp list und ~/.copilot/mcp-oauth-config/. Verfolge die Übergabe des Authentifizierungslinks und den Einstiegspunkt zum Starten des Browsers; abgeschlossen ist die Aufgabe, wenn der Link den Systembrowser öffnet oder eine kopierbare rohe URL bereitstellt und die Atlassian-Tools nach dem Callback verfügbar werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
The Atlassian (Rovo) MCP server repeatedly shows a "Jira MCP needs authentication" prompt, but clicking the provided authentication link — or attempting to authenticate manually — never launches any visible auth flow. No browser window/tab opens, no OAuth consent page appears, and nothing surfaces in the UI. The prompt simply reappears, so the server can never be authenticated and its tools are never usable.
This is the browser-launch / auth-hand-off side of MCP OAuth, not the token-bridging bug in #4096 (which is fixed on my version). It looks related to #4400 (browser login URL wrapping/fallback) and #3130 (unable to open browser for auth).
Affected version
GitHub Copilot CLI 1.0.83 (bundled engine used by the Copilot desktop app "agents" window).
Environment
- macOS (Apple Silicon)
- The failing flow is in the app / agents window, which manages its own MCP configuration.
- The standalone terminal CLI has no MCP servers configured (
~/.copilot/mcp-config.json={"mcpServers":{}},copilot mcp list= "No MCP servers configured", and~/.copilot/mcp-oauth-config/does not exist). So the Atlassian server exists only on the app side, and it is the app-side "authenticate" link that dead-ends.
Steps to reproduce the behavior
- In the Copilot app (agents window), add/enable the Atlassian Remote MCP server (
https://mcp.atlassian.com/v1/mcp). - When prompted with "Jira MCP needs authentication", click the provided authentication link (or choose to authenticate manually).
- Observe: no browser opens, no OAuth consent page appears, nothing visible happens.
- The "needs authentication" prompt returns; the server never becomes authenticated and no
atlassian-*tools are exposed.
Expected behavior
Clicking the authentication link should open the system default browser to the OAuth consent URL (or, if the browser cannot be launched, print/copy the raw URL so it can be opened manually) and complete the callback so the server authenticates.
Additional notes
- This consistently blocks my workflow — the Atlassian/Jira MCP tools are never available because auth can never be completed.
- A raw-URL fallback (print the login URL to stdout / provide a copyable link) would at minimum unblock manual authentication when auto-launch fails.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/copilot-cli
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
github/copilot-cli#4932 ·
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
github/copilot-cli#4909 ·
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
github/copilot-cli#4906 ·
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/copilot-cli#4729 ·
Alle Issues in github/copilot-cli
Ähnliche Issues
-
Bob Shell support Offenenhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
tooling
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
openSUSE/python-rpm-macros#219 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
YunoHost-Apps/adguardhome_ynh#258 ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repair Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
ValveSoftware/SteamOS#2829 ·