The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

"Invalid token format" error

Rohit Agarwal
Contributor
June 26, 2025

Hi,

I am trying to hit https://mcp.atlassian.com/v1/sse endpoint using the API token in Authorization Bearer header. 

I have separate API tokens for Jira & Confluence. 

I keep getting the following "Invalid token format" response error. What is the expected token format?

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

The request payload is as follows

{
  "jsonrpc": "2.0",
  "method": "tools/list",
  "params": {},
  "id": 1
}

I tried using the following headers

  • jira-token
  • jira-username
  • jira-url

The error response has changed to 

{
  "error": "invalid_token",
  "error_description": "Missing or invalid access token"
}

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Dr Valeri Colon _Connect Centric_
Community Champion
November 12, 2025

@Rohit Agarwal @Michael Norgren @Toshiro  The MCP endpoint doesn’t accept standard API tokens from Jira or Confluence. It requires a session token obtained through the Rovo Dev CLI, not manually created API keys. You’ll need to authenticate via acli rovodev auth login and use the token stored in your session for authorized requests.

0 votes
Michael Norgren
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!
July 21, 2025

Hi, @Rohit Agarwal - Were you able to figure this out? I am running into the same issues

Rohit Agarwal
Contributor
July 21, 2025

Hi @Michael Norgren ,

Unfortunately, there has been no progress made so far.

0 votes
Samuel Gatica _ServiceRocket_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 4, 2025
Rohit Agarwal
Contributor
July 9, 2025

Hi Sam, 

Thanks for your reply. 

The links you mentioned outline integration of remote mcp server with AI desktop tools or development IDEs. I did go through the links before raising this ticket. 

What I am trying to do is to connect to the remote mcp server either using Postman or a simple python code.

Like # people like this
Toshiro
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!
July 17, 2025

Hi, same issue on Python with Claude :

from anthropic import Anthropic

client = Anthropic(
api_key=ANTHROPIC_API
response = client.beta.messages.create(
model="claude-sonnet-4-20250514",
max_tokens=1000,
messages=[{
"role": "user",
"content": "Create a Jira user story called TEST test related to an epic called TEST EPIC",
},
],
mcp_servers= [
{
"type": "url",
"name": "Atlassian",
"authorization_token": ATLASSIAN_API_TOKEN,
},
],
betas= ["mcp-client-2025-04-04"],
);

print(response)







Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events