Get the daily emailDaily email
  1. Home
  2. Agents
  3. This story

Claude Code v2.1.319: auto mode change behind gateways, MCP tasks in the background

With telemetry or feature flags off, including behind LLM gateways, auto mode no longer falls back to the built-in classifier: calls the server cannot check are asked about or denied unless CLAUDE_CODE_AUTO_MODE_SERVER=0 is set. The release also moves MCP…

Published Read the original

Top story of 27 on Saturday, November 7

Claude Code v2.1.319: auto mode change behind gateways, MCP tasks in the background

Why it matters

Teams running Claude Code in auto mode behind an LLM gateway may suddenly see prompts or denials and should check the new environment variables.

What happened

1 min read

With telemetry or feature flags off, including behind LLM gateways, auto mode no longer falls back to the built-in classifier: calls the server cannot check are asked about or denied unless CLAUDE_CODE_AUTO_MODE_SERVER=0 is set. The release also moves MCP tasks to the background, adds a permissions.denyInsteadOfPrompting setting and /claude-api latency-optimize, and fixes many bugs including older MCP servers failing to connect and Bash deny rules missing quoted commands.

inscraper analysis

Our analysis

The headline change is stricter auto mode, which is sensible for safety but can break existing automation; the fix making claude -p exit 1 when actions are refused also matters for CI. Background MCP tasks are a step toward long-running tools. The Bash deny-rule fix has security relevance for anyone relying on those rules. The rest is mostly gateway features and small fixes.

More in Agents