Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindBug Fixesin v2.1.271,
You'll notice

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

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 →