[BUG] SDK auth failed: redirect URI host "localhost:55385" is no longer supported (sunset 2026-08-01)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Whenever I try to re-authenticate the teamwork MCP it gives me below error -
"""SDK auth failed: redirect URI host "localhost:55385" is no longer supported (sunset 2026-08-01)"""
I have tried multiple suggestions claude made and raising this issue here is the final one.
As per claude the localhost should here be automatically replaced by 127.0.0.0 but that does not happen and I keep getting this error. This has slowed me down from working with teamwork fetching reports, analysing them, or even making calls to get teamwork entries, add/update entries.
Please help.
What Should Happen?
Whenever I try to re-authenticate any MCP it should not run into this """SDK auth failed: redirect URI host "localhost:55385" is no longer supported (sunset 2026-08-01)""" error. Instead the browser should open and I should be able to authenticate and work again using the MCP.
Error Messages/Logs
SDK auth failed: redirect URI host "localhost:55385" is no longer supported (sunset 2026-08-01)
Steps to Reproduce
/mcp
Navigate to teamwork mcp and hit return/enter
select Authenticate/Re-authenticate
Boom, the error is there.
SDK auth failed: redirect URI host "localhost:55385" is no longer supported (sunset 2026-08-01)
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Not sure but it worked below 2.1.228 maybe. Maybe even before that, don't remember the last version it worked.
Claude Code Version
2.1.228 (Claude Code)
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Not that I can think of
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗