Reauthentication with Jira MCP via Oauth doesn't work #3750

Open
opened 2026-02-16 17:41:20 -05:00 by yindo · 2 comments
Owner

Originally created by @klaudworks on GitHub (Dec 22, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

I have to logout and log in again instead of reauthenticating with the Jira mcp server. Reauthentication using the following command does not work.

$ opencode mcp auth jira

┌  MCP OAuth Authentication
│
◇  jira already has stored credentials. Re-authenticate?
│  Yes
│
■  Authentication failed
│
■  Error POSTing to endpoint (HTTP 404): Missing sessionId parameter
│
└  Done

OpenCode version

1.0.184

Steps to reproduce

Configure jira mcp:

  "mcp": {
    "jira": {
      "type": "remote",
      "url": "https://mcp.atlassian.com/v1/sse",
      "enabled": true,
      "oauth": {}
    }
  },
  1. Run opencode mcp auth jira to authenticate first time -> works
  2. Run opencode mcp auth jira to reauthenticate -> fails

Screenshot and/or share link

No response

Operating System

macOS 26.0.1

Terminal

iTerm2

Originally created by @klaudworks on GitHub (Dec 22, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description I have to logout and log in again instead of reauthenticating with the Jira mcp server. Reauthentication using the following command does not work. ``` $ opencode mcp auth jira ┌ MCP OAuth Authentication │ ◇ jira already has stored credentials. Re-authenticate? │ Yes │ ■ Authentication failed │ ■ Error POSTing to endpoint (HTTP 404): Missing sessionId parameter │ └ Done ``` ### OpenCode version 1.0.184 ### Steps to reproduce Configure jira mcp: ``` "mcp": { "jira": { "type": "remote", "url": "https://mcp.atlassian.com/v1/sse", "enabled": true, "oauth": {} } }, ``` 1. Run opencode mcp auth jira to authenticate first time -> works 2. Run opencode mcp auth jira to reauthenticate -> fails ### Screenshot and/or share link _No response_ ### Operating System macOS 26.0.1 ### Terminal iTerm2
yindo added the bug label 2026-02-16 17:41:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 22, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #5444: MCP with oauth doesn't work
  • #5766: fix(mcp): OAuth uses wrong authorization URL and missing redirectUri config

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 22, 2025): This issue might be a duplicate of existing issues. Please check: - #5444: MCP with oauth doesn't work - #5766: fix(mcp): OAuth uses wrong authorization URL and missing redirectUri config Feel free to ignore if none of these address your specific case.
Author
Owner

@lideen commented on GitHub (Feb 6, 2026):

opencode mcp logout jira
opencode mcp auth jira

For anyone coming here for a quick-fix

@lideen commented on GitHub (Feb 6, 2026): ```sh opencode mcp logout jira opencode mcp auth jira ``` For anyone coming here for a quick-fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3750