[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
3 Comments
Confirming this is still broken on 2.1.233 (
claude updateshows it as latest). SameteamworkMCP server (https://mcp.ai.teamwork.com/, protocol2026-07-28).Sequence:
/mcpshowedteamworkas✔ Connected, but none of its ~195 tool schemas were exposed to the session (had to be worked around)./mcpon teamwork showedStatus: ✔ connected,Auth: ✔ authenticated, butSDK auth failed: Dynamic Client Registration rejected (HTTP 400): {"error":"invalid_redirect_uri","error_description":"redirect URI host \"localhost:3118\" is no longer supported (sunset 2026-08-01)"}./mcpmenu — same error, different random port each time (next attempt:localhost:62030). Host is always rejected regardless of port, confirming it's not a one-off port collision.Platform: macOS, Claude Code 2.1.233. Blocks all
twprojects-*/twdesk-*/twspaces-*calls — same practical impact as reported above (can't create/update projects, tasks, etc. via MCP).Fixed in 2.1.229 — changelog: "Fixed MCP OAuth with strict authorization servers by using
127.0.0.1instead oflocalhostin the redirect URI" (https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md). Closing — reply to reopen if it still happens on the latest version.🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.