Forums

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

Issue with Invalid Token Format for MCP Endpoint

Kishan Gupta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2025

 

Description: I am encountering an issue while trying to connect to the Atlassian MCP server using the mcp-remote tool. The server is returning the following error:

{"error":"invalid_token","error_description":"Invalid token format"}

Steps to Reproduce:

  1. I configured the mcp-remote tool with the following settings:

  2. I ran the following command to test the connection:

    npx -y mcp-remote https://mcp.atlassian.com/v1/sse --header "Authorization: Bearer ${Token}"
  3. I also tested the endpoint directly using curl:

    curl -X GET https://mcp.atlassian.com/v1/sse -H "Authorization: Bearer ${Token}"

Findings:

  • The token is valid and includes both an access token and a refresh token. It is not expired and has a remaining lifespan of 3300 seconds.
  • The client information was successfully retrieved.
  • Despite this, the server returns the error {"error":"invalid_token","error_description":"Invalid token format"}.

Debug Logs: I have attached the debug logs generated using the --debug flag for your reference.

Request: Could you please help me understand why the token is being rejected and provide guidance on the correct token format or any additional requirements for accessing the endpoint?

Thank you for your assistance.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events