Forums

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

How do i handle authentication in the mcp server when I am not running the client locally?

Mavin James
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 20, 2025

I am trying to run the remote MCP server in a client I am running in a container. Any help is much appreciated.

2 answers

1 vote
percyqv
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!
October 31, 2025

Hello, I was able to work with the MCP  running locally using a python+flask program. Actually the first thing you need to do is to allow the oAuth authentication, for that you need to register using oauth  in the Atlassian developer portal. Once you are authenticated with a atlassian app selected you can reach the MCP using MCP remote + SSE, this will open a localhost:5598 service and then atlassian will send you a link like  https://api.atlassian.com/oauth2/authorize/server/consent?context=...., after finish will trigeer a callback to : localhost:5598/oauth/callback, thau URL is hardcoded by Atlassian since MCP client is triggering from that port in localhost. after complete the authentication the MCP remote will create 3 files and will be stored in the home user path,  This works perfectly if you are running a local host or a VM in cloud siince the callback url using by Atlassian is localhost only,  Unfortunatelly I am running also in Azure app services, a PaaS service which is triggering the MCP client and listening in a localhost, but it not possible to reach localhost. I will try running in a MV,  similar than in my laptop.

0 votes
Tomislav Tobijas
Community Champion
August 21, 2025

Hi @Mavin James ,

As this is more related to Rovo, I'm just going to move this question to the other forum app group. I believe some folks there will be able to assist with this question.

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events