Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem connecting a MCP desktop application to the Atlassian Claude MCP Oauth based server

Radu Coravu
May 31, 2026

I'm working on a desktop AI assistant which can take its model context protocol configuration from a JSON file like this:

{
"servers": {
"atlassian": {
"type": "http",
"url": "https://mcp.atlassian.com/v1/mcp/authv2"
}
}
}

Then it does protocol discovery, finds the client ID and secret, then it opens a web browser. But inside the web browser I get the error:

Something went wrong

Raise a support request
Invalid context provided. Please try authorizing again.

 

And I'm not sure what the problem is.
Here's the logging from my client side application:



14:12:05 8702 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthDiscovery - Starting OAuth discovery for MCP URL https://mcp.atlassian.com/v1/mcp/authv2
14:12:05 8702 DEBUG [ Load MCP Config ] com.oxygenxml.positron.mcp.MCPManager - Skip reloading unchanged MCP configuration from file:/Users/raducoravu/Desktop/mcp/atlassian-mcp-oauth.json
14:12:05 8703 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthHttp - OAuth HTTP POST https://mcp.atlassian.com/v1/mcp/authv2
14:12:05 8965 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthHttp - OAuth HTTP POST https://mcp.atlassian.com/v1/mcp/authv2 -> 401
14:12:05 8965 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthDiscovery - MCP probe returned HTTP 401
14:12:05 8965 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthDiscovery - Using protected-resource metadata from https://mcp.atlassian.com/.well-known/oauth-protected-resource/v1/mcp/authv2
14:12:05 8965 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthHttp - OAuth HTTP GET https://mcp.atlassian.com/.well-known/oauth-protected-resource/v1/mcp/authv2
14:12:05 9118 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthHttp - OAuth HTTP GET https://mcp.atlassian.com/.well-known/oauth-protected-resource/v1/mcp/authv2 -> 200
14:12:05 9119 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthDiscovery - Fetching authorization server metadata from https://auth.atlassian.com/.well-known/oauth-authorization-server/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3
14:12:05 9119 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthHttp - OAuth HTTP GET https://auth.atlassian.com/.well-known/oauth-authorization-server/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3
14:12:05 9363 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthHttp - OAuth HTTP GET https://auth.atlassian.com/.well-known/oauth-authorization-server/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3 -> 200
14:12:05 9363 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthDiscovery - Loaded authorization server metadata from https://auth.atlassian.com/.well-known/oauth-authorization-server/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3
GET CL ID null
14:12:05 9364 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthDiscovery - OAuth discovery via protected-resource metadata succeeded: authorizeUrl=https://auth.atlassian.com/authorize, tokenUrl=https://auth.atlassian.com/oauth/token, clientId=(none), clientSecret=(none), redirectUri=http://127.0.0.1:8722/oauth/callback, pkce=true, resource=https://mcp.atlassian.com/v1/mcp/authv2, registrationEndpoint=https://auth.atlassian.com/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3/dcr/register, scopes=[read:me, read:account, offline_access, read:jira-work, write:jira-work, search:confluence, read:confluence-user, read:page:confluence, write:page:confluence, read:comment:confluence, write:comment:confluence, read:space:confluence, read:hierarchical-content:confluence, write:component:compass, read:component:compass, read:scorecard:compass, write:scorecard:compass, read:event:compass, read:metric:compass, read:all:twg]
14:12:05 9364 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthTokenStore - No stored MCP OAuth client registration for atlassian
14:12:05 9364 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthDiscovery - Registering OAuth client at https://auth.atlassian.com/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3/dcr/register (redirectUri=http://127.0.0.1:8722/oauth/callback, clientName=Oxygen AI Positron MCP - atlassian)
14:12:05 9364 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthHttp - OAuth HTTP POST https://auth.atlassian.com/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3/dcr/register
14:12:07 11230 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthHttp - OAuth HTTP POST https://auth.atlassian.com/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3/dcr/register -> 201
14:12:07 11230 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthDiscovery - OAuth client registration succeeded (clientId=5PnJeDXfA5Iq8BBDt38HDHlMEg2HTKIm, clientSecret=(set))
14:12:07 11238 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthTokenStore - Saved MCP OAuth client registration for atlassian (clientId=5PnJeDXfA5Iq8BBDt38HDHlMEg2HTKIm, clientSecret=(set))
14:12:07 11238 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthTokenStore - No stored MCP OAuth tokens for atlassian
14:12:07 11238 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthClient - Starting interactive OAuth flow for MCP server 'atlassian': authorizeUrl=https://auth.atlassian.com/authorize, tokenUrl=https://auth.atlassian.com/oauth/token, clientId=5PnJeDXfA5Iq8BBDt38HDHlMEg2HTKIm, clientSecret=(set), redirectUri=http://127.0.0.1:8722/oauth/callback, pkce=true, resource=https://mcp.atlassian.com/v1/mcp/authv2, registrationEndpoint=https://auth.atlassian.com/VCeDsk8ZHncYF1g234fKtc4lNipbBhu3/dcr/register, scopes=[read:me, read:account, offline_access, read:jira-work, write:jira-work, search:confluence, read:confluence-user, read:page:confluence, write:page:confluence, read:comment:confluence, write:comment:confluence, read:space:confluence, read:hierarchical-content:confluence, write:component:compass, read:component:compass, read:scorecard:compass, write:scorecard:compass, read:event:compass, read:metric:compass, read:all:twg]
14:12:07 11239 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthClient - PKCE enabled for MCP server 'atlassian'
Append https://mcp.atlassian.com/v1/mcp/authv2

AUTHORIZE URL

https://auth.atlassian.com/authorize?response_type=code&client_id=5PnJeDXfA5Iq8BBDt38HDHlMEg2HTKIm&redirect_uri=http%3A%2F%2F127.0.0.1%3A8722%2Foauth%2Fcallback&state=6ca2e5cf-caf6-4595-a05d-c85172983860&scope=read%3Ame+read%3Aaccount+offline_access+read%3Ajira-work+write%3Ajira-work+search%3Aconfluence+read%3Aconfluence-user+read%3Apage%3Aconfluence+write%3Apage%3Aconfluence+read%3Acomment%3Aconfluence+write%3Acomment%3Aconfluence+read%3Aspace%3Aconfluence+read%3Ahierarchical-content%3Aconfluen...


14:12:07 11239 DEBUG [ Timer-0 ] com.oxygenxml.positron.mcp.oauth.MCPOAuthClient - Opening browser authorization for MCP server 'atlassian' (redirectUri=http://127.0.0.1:8722/oauth/callback)

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events