the diff / Claude Code / October 21, 2026

Claude Code 2.1.305 loads MCP servers your allowlist left out

score allowlist rules that still block it: "0"

Claude Code 2.1.305 stops allowedMcpServers filtering managed-mcp.json stdio servers that use ${VAR} only in env, so one you left out now loads on upgrade.

What changed

Claude Code 2.1.305, released October 20, changes how allowedMcpServers applies to managed-mcp.json. Stdio servers that use ${VAR} only in env are no longer filtered by the allowlist: a server your allowlist left out loads on upgrade, and deniedMcpServers is the way to keep it off. Plugins that Claude Desktop mounts by path no longer keep their allowed-tools when managed settings set allowManagedPermissionRulesOnly. A new sandbox.allowNestedUserNamespaces setting lets sandboxed commands on Linux create user namespaces, for Chromium and rootless podman, which lets them get around the sandbox's file protections.

Why it matters if you ship with an agent

If an admin pushes managed-mcp.json and your allowlist was doing the filtering, a server you never approved loads after this upgrade. Run claude mcp list after updating and add a deniedMcpServers entry for anything that should stay off. Leave the nested-namespaces setting alone unless a sandboxed command needs it; it opens the file protections by design.

By MK · Source: https://code.claude.com/docs/en/changelog

more Claude Code changes: Claude Code 2.1.321 defaults Fable to 5.2, mods skip prompts · Claude Code 2.1.319 can deny instead of prompting, auto mode loses fallback · Claude Code 2.1.318 stops flagged subagents, drops IDE auto-install · Claude Code 2.1.317 asks before a tool call sends your email · Fast mode for Claude Opus 4.8 is deprecated, removed November 30 · all

keep handy: AI coding tool pricing tracker · vibe coding vs AI coding · agent fail hall of fame


The Diff is Accept All's short note on changes that alter how you ship with an agent. Newer: Copilot Fusion is GA: pick an effort level, it picks the models. Older: OpenAI API adds 12-hour prompt caching at 2.5x write price.