Follow Discord
Sweep 30 Oct 2026 · 21:36Z Build v2.1.315 533 read Stable v2.1.308 Latest v2.1.314 Next v2.1.315 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.315 ·

Opt-in setting stops retrying MCP servers the sandbox proxy blocked

With CLAUDE_CODE_MCP_NO_REDIAL_AFTER_POLICY_REFUSAL set, Claude Code can stop redialing MCP servers that the sandbox network policy refused

Use it now Notable New Features
JSON All of v2.1.315
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
MCPArea: what it touches
New FeaturesKind: in v2.1.315,
What probably matters to youSection of the release

Unclear The second condition is not identified, so setting the variable may not be enough on its own.

What

MCP servers are outside tools and services that Claude Code connects to. Some of them are reached over the web, using HTTP or SSE (a kind of streaming web connection). In a sandbox, which is a restricted environment that limits what Claude Code can reach, web traffic passes through a proxy that applies a network policy.

When the proxy refuses a connection, it answers with a 403 status (the web's "forbidden" code) and a message starting "request blocked" that says no rule or allowlist entry allows the host, or that the request was blocked by policy. Claude Code can now remember the host and port in that answer. When an MCP server reached over HTTP or SSE then fails with such a refusal, Claude Code skips retrying it if its address is https and uses a remembered host and port.

This only happens when both of these hold:

Why

It stops sandboxed sessions from reconnecting again and again to MCP servers that the network policy has already blocked. Without the variable, Claude Code keeps retrying as before.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe second condition is not identified, so setting the variable may not be enough on its own.

See this entry in the whole of v2.1.315 →

Feedback