Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

OAuth loopback redirect URI normalization for MCP servers

MCP OAuth redirect URI checks now normalize 127.0.0.1 and localhost as equivalent loopback addresses

You'll notice Bug Fixes
JSON All of v2.1.271
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.271,
Bug FixesSection of the release
What

When Claude Code validates the redirect URI (the address a login flow sends you back to) for an MCP server's OAuth login, it now recognizes 127.0.0.1 and localhost as equivalent loopback addresses. New helper logic normalizes one to the other before comparing, and extracts the port number for later use.

Why

Some OAuth providers or local servers may use 127.0.0.1 while others use localhost for the same local address; treating them as equivalent avoids OAuth login failing due to this mismatch.

See this entry in the whole of v2.1.271 →

Feedback