Authentication failed for JIRA API #783
r-chandrukumar
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have generated PAT just 2 days ago and when i connect to MCP server and try to use tool jira_get_issue, i'm always getting below auth error:
Docker-compose:
version: "3.9"
services:
mcp-atlassian:
image: ghcr.io/sooperset/mcp-atlassian:latest
container_name: mcp-atlassian
ports:
- "8000:8000"
environment:
JIRA_URL: ""
JIRA_PERSONAL_TOKEN: ""
JIRA_SSL_VERIFY: "true"
MCP_VERBOSE: "true"
MCP_LOGGING_STDOUT: "true"
command: ["--transport", "streamable-http"]
restart: unless-stopped
File "/app/.venv/lib/python3.10/site-packages/atlassian/rest_client.py", line 973, in raise_for_status
raise HTTPError("Unauthorized (401)", response=response)
requests.exceptions.HTTPError: Unauthorized (401)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/.venv/lib/python3.10/site-packages/fastmcp/tools/tool_manager.py", line 120, in call_tool
return await tool.run(arguments)
File "/app/.venv/lib/python3.10/site-packages/fastmcp/tools/tool.py", line 144, in run
result = await result
File "/app/.venv/lib/python3.10/site-packages/mcp_atlassian/servers/jira.py", line 154, in get_issue
issue = jira.get_issue(
File "/app/.venv/lib/python3.10/site-packages/mcp_atlassian/jira/issues.py", line 222, in get_issue
raise MCPAtlassianAuthenticationError(error_msg) from http_err
mcp_atlassian.exceptions.MCPAtlassianAuthenticationError: Authentication failed for Jira API (401). Token may be expired or invalid. Please verify credentials.
All the MCP tools are listed. But when i try accessing the tool, getting auth error.
Am I missing anything?
Beta Was this translation helpful? Give feedback.
All reactions