[BUG] Atlassian MCP Sign In does not work
Environment
- Platform (select one):
- [x] Anthropic API
- Claude CLI version: 1.0.33 (Claude Code)
- Operating System: Windows, WSL Ubuntu 24.04.2 LTS
- Terminal: Bash in VS Code connected to WSL
Bug Description
Authentication with Atlassian fails when clicking the link to sign in with this message:
The redirect URI is not allowed, the URL is not part of Atlassian whitelisted domains for registered MCP Clients. Redirect URI
Steps to Reproduce
-
claude mcp add --transport sse atlassian https://mcp.atlassian.com/v1/sse -
claude -
/mcp - Select atlassian, hit enter
- Click link to open browser:
https://mcp.atlassian.com/v1/authorize?response_type=code&client_id=1ecEWU0Qn6LC8mAO&code_challenge=REDACTED&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A60953%2Fcallback&state=REDACTED - Blank website states:
The redirect URI is not allowed, the URL is not part of Atlassian whitelisted domains for registered MCP Clients. Redirect URI
Expected Behavior
Authentication works
Actual Behavior
Authentication fails
Okay I figured out the issue. The problem is, when clicking the link, it only opens a partial link without the redirect uri in the browser. When copy pasting the link it works just fine. Seems to be an issue with the windows console window / terminal I guess, as the link is printed over multiple lines.
Where do you got the link from 🤔
For me it shows in Claude Code and logs only https://mcp.atlassian.com/v1/sse and the site does not redirect to an auth flow.
You do claude mcp add --transport sse atlassian https://mcp.atlassian.com/v1/sse. Then after launching claude, type /mcp. Then hit enter on atlassian. Then there is a link to sign in. 😊
Thanks!
I have been doing this, but it seems to have been an issue with Claude Code and HTTPS_PROXY variables. After upgrading CC showed me the URL as you describe, but the login works as expected.
on 1.0.112 and I'm not seeing the browser window being opened
on 1.0.112 and I'm not seeing the browser window being opened
Same for me on 1.0.115 :(
Edit: Actually just figured out it's because of WARP by Cloudflare
On the latest version 1.0.128 (Claude Code), the issue remains.
When connecting to MCP servers that require authentication, Claude Code attempts to automatically open a browser for auth flow. The following page is shown:
Browser should open automatically, OR If auto-open fails, the authentication URL should be displayed in the terminal for manual copy/paste
But browser opening fails in both WSL2 and PowerShell environments. And no fallback URL is provided when auto-open fails, preventing users from manually copying and pasting the URL into a browser.
I suggest you to update your node version. By default, apt installs v18. Update it to the latest. It helped me.