AI News
All stories
Official

Claude Code 2.1.321 changes gateway upstream URLs and layered MCP policy

The release makes Bedrock, Vertex and Foundry upstreams ignore ANTHROPIC base URL variables and adds up managed MCP servers under layered policy.

Products · · 2 min read

Claude Code 2.1.321 changes two things that affect the Claude apps gateway. Bedrock, Vertex and Foundry upstreams no longer read the ANTHROPIC_*_BASE_URL variables from the gateway's environment. Managed MCP servers now add up across every matching policy when the gateway runs in layered policy mode. The changelog is dated November 9, 2026. Anyone who relied on those variables to point an upstream at a different endpoint must now set base_url on the upstream itself, since the variables are ignored for those three providers.

The second change concerns policy. Under policy_mode: layered, managed MCP servers now add up over every matching policy, and that includes a match: {} entry. The changelog's own wording is that a gateway already on that mode "serves more after the upgrade," so the change widens what the gateway serves rather than narrowing it. The changelog doesn't say how many servers a typical configuration would gain or how the empty match entry was previously treated, so operators will need to compare their policy files against the new behavior themselves.

The release also changes how mods behave in two places. In headless sessions, mods in .claude/skills now reload when their files change, and operators who don't want that can set CLAUDE_CODE_PLUGIN_DIR_WATCH=0 to turn the reload off. Separately, mods that Claude writes turn on without asking in auto and bypass modes, even under managed allowUnsandboxedCommands: false or allowManagedDomainsOnly settings, and they no longer load in dontAsk mode. The changelog also says mods' own tool calls raise no permission prompt, even under your own ask rules, though deny rules and organization policy still apply.

Several other entries are worth knowing. Claude Fable 5.2 is the new default Fable model, priced at $8/$40 per Mtok with $0.20/Mtok cache reads and a 1M context window. Saved Fable 5.1 selections move to fable: Pro and Max users at once, and Team and Enterprise users once their organization allows it. The release also lists 74 bug fixes, among them one in which MCP OAuth requests could send secrets such as refresh tokens to another host when a server redirected them. The changelog describes that fix in one line and does not say how long the behavior existed.

What changed

Claude Code 2.1.321 makes Bedrock, Vertex and Foundry upstreams ignore the ANTHROPIC_*_BASE_URL variables, so base_url must be set on the upstream itself, and managed MCP servers now add up across every matching policy when the gateway runs in layered policy mode.

Type: Breaking change · Takes effect: Monday, November 9, 2026 · Applies to: Claude Code 2.1.321, Bedrock, Vertex, Foundry, policy_mode: layered

Why it matters

Operators of a Claude apps gateway may see changed routing and more managed MCP servers served after upgrading, which affects access control.

What you can do

Before upgrading the gateway, check for ANTHROPIC base URL variables and layered policy settings, and set base_url on upstreams where needed.

Original source

Where we saw it

1 source

Claude Code changelog

AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works