Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.248 ·

Five more environment variables can be set from settings.json

Five more environment variables, including stream and byte watchdogs, can be set in settings.json.

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

The allowlist that decides which env keys in a settings file are applied to the process gains CLAUDE_CODE_TEAM_TEARDOWN_PARK_TIMEOUT_MS, MCP_CONNECTION_NONBLOCKING, CLAUDE_ENABLE_BYTE_WATCHDOG, CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK and CLAUDE_ENABLE_STREAM_WATCHDOG. Previously these could only be set in your shell before launching. Set them once in settings instead, for example { "env": { "CLAUDE_ENABLE_STREAM_WATCHDOG": "1" } }.

Details
  • The same allowlist decides whether a settings file is flagged as carrying unrecognised env keys, so these five no longer trigger that warning.
  • All five are already read elsewhere in the build; the change is only that settings can now supply them.
  • The byte watchdog, which aborts a response whose byte stream stalls, checks its variable first and otherwise falls back to a server-side default that is on, so leaving it unset keeps the current behaviour.
Evidence

CLAUDE_CODE_TEAM_TEARDOWN_PARK_TIMEOUT_MS, CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up MCP_CONNECTION_NONBLOCKING, on Environment variables. | `MCP_CONNECTION_NONBLOCKING` | Controls whether startup waits for MCP servers to connect before the first query. MCP startup is non-blocking by default: servers connect in the background and their tools become available as they finish. S… env-vars see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up MCP_CONNECTION_NONBLOCKING, on Environment variables.

See this entry in the whole of v2.1.248 →

Feedback