Anthropic Product minor inferred

Claude Code 2.1.319 adds background MCP tasks and a deny-instead-of-prompt permission setting

Claude Code 2.1.319 runs MCP tasks in the background, adds permissions.denyInsteadOfPrompting and CLAUDE_CODE_DISABLE_FEATURE_FLAGS, extends the Claude apps gateway, and changes self-paced /loop, plus many security and permission fixes.

What does this mean for me?

Plan for it
  • Engineering leadership

    Cost, risk, timeline, team impact Worth knowing

    Routine Claude Code release with several permission and sandbox security fixes; upgrading soon is worth it. Teams relying on self-paced /loop to keep running will see loops end sooner unless CLAUDE_CODE_LOOP_KEEPALIVE=1 is set.

  • Engineer

    What to change, what breaks, what to test Plan for it

    Upgrade to 2.1.319 for the Bash permission-bypass and worktree sandbox-escape fixes. For headless runs that must never block, set permissions.denyInsteadOfPrompting; set CLAUDE_CODE_LOOP_KEEPALIVE=1 if you depend on self-paced /loop rescheduling, and drop any use of the removed shortcuts_list and shortcuts_execute Chrome tools.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing changes in the Claude apps; this is a Claude Code release for developers.

Claude Code 2.1.319 is one large release. The auto mode change behind LLM gateways has its own entry; the other user-visible changes:

  • MCP tasks. When an MCP server runs a tool call as a task, Claude Code moves it to the background and tells Claude the result when it finishes. This now works without feature-flag fetching (Bedrock, Vertex, Foundry, LLM gateways, DISABLE_TELEMETRY). CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND makes it wait inside the tool call instead; CLAUDE_CODE_DISABLE_MCP_TASKS=1 turns tasks off.
  • Permissions. A new permissions.denyInsteadOfPrompting setting denies any call that would wait on a permission prompt and lets the turn continue. A session’s exact Bash or PowerShell ask rule is now refused when a broader deny rule covers the command, which with unusual flags asks first, and Monitor’s WebSocket watch follows Bash rules. Fixes close a Bash permission bypass through a crafted environment prefix, a sed permission skip, a worktree sandbox escape, and /rewind acting through a directory symlink.
  • Feature flags. CLAUDE_CODE_DISABLE_FEATURE_FLAGS stops feature-flag fetching without turning off telemetry.
  • /loop. Self-paced /loop now ends when a turn finishes without rescheduling, instead of scheduling a fallback wakeup; CLAUDE_CODE_LOOP_KEEPALIVE=1 keeps the old behaviour.
  • Claude apps gateway. Pooled-budget ordering (admin.pooled_conflict_rule, admin.pooled_priority_order), a login_notice message, JSON logs with CLAUDE_GATEWAY_LOG_FORMAT=json, /usage spend for developers with no spend limit, and start-up warnings ahead of a Claude Desktop change on November 10.
  • Billing visibility. Claude Code warns when a claude.ai login ends and it continues on the ant auth login sign-in, which bills the Claude Console organization, and names that organization at startup.
  • Removed. The shortcuts_list and shortcuts_execute Claude in Chrome tools. Self-hosted runners no longer upload a session’s debug log at the end of the session.
  • Other. /claude-api latency-optimize, an “Earlier in this session” row in /tasks, and older models grouped under “More models” in /model.

The changelog does not date releases; 2.1.319 appeared between the November 5 and November 6, 2026 (21:00 UTC) fetches, so the date is approximate.

Topics: Agents and tool use, Coding tools

Sources

Confidence
medium
Verification
Verified: stated on the vendor's own pages
Date precision
approximate
How this entry was made
Drafted by an agent, reviewed by a person