Bug Description
When trying to connect to Atlassian's new authv2 MCP endpoint (which becomes mandatory on May 27, 2026), the OAuth authorization flow fails during the final token exchange with an InvalidTargetError: Incorrect resource parameters fatal error.
Steps to Reproduce
Run the following command using the latest version of mcp-remote:
npx --clear-cache -y mcp-remote@latest https://mcp.atlassian.com/v1/mcp/authv2
- The browser opens automatically and successfully prompts for consent.
- The auth code is successfully received locally (
Auth code received, resolving promise).
- The process crashes immediately after
Completing authorization....
Error Logs
[26089] Completing authorization...
[26089] Authorization error: InvalidTargetError: Incorrect resource parameters
at parseErrorResponse (file:///.../mcp-remote/dist/chunk-65X3S4HB.js:18528:12)
at async executeTokenRequest (file:///.../mcp-remote/dist/chunk-65X3S4HB.js:18884:11)
...
[26089] Fatal error: InvalidTargetError: Incorrect resource parameters
### Info
- New endpoint: https://mcp.atlassian.com/v1/mcp/authv2
- New auth server discovery: https://mcp.atlassian.com/.well-known/oauth-protected-resource/v1/mcp/authv2
- Atlassian Developer Changelog: https://developer.atlassian.com/changelog/#CHANGE-3170
Bug Description
When trying to connect to Atlassian's new
authv2MCP endpoint (which becomes mandatory on May 27, 2026), the OAuth authorization flow fails during the final token exchange with anInvalidTargetError: Incorrect resource parametersfatal error.Steps to Reproduce
Run the following command using the latest version of
mcp-remote:npx --clear-cache -y mcp-remote@latest https://mcp.atlassian.com/v1/mcp/authv2Auth code received, resolving promise).Completing authorization....Error Logs