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.330 ·

Local-agent sessions now start MCP servers with a trimmed environment by default

When Claude Code runs as a local agent, CLAUDE_CODE_MCP_ALLOWLIST_ENV is treated as on unless you set it yourself

You'll notice Improvements
JSON All of v2.1.330
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
MCPArea: what it touches
ImprovementsKind: in v2.1.330,
ImprovementsSection of the release
What

CLAUDE_CODE_MCP_ALLOWLIST_ENV makes Claude Code start local MCP servers (outside programs that add abilities) with only a safe baseline of environment settings plus the server's own, instead of your full shell environment. If you set it, your value is used. If you don't, it now counts as on when CLAUDE_CODE_ENTRYPOINT is local-agent.

Why

In local-agent sessions, MCP servers may no longer see your shell's variables unless they are configured for that server.

Read from
What the documentation says

See this entry in the whole of v2.1.330 →

Feedback