Claude Code v2.1.319 adds MCP task backgrounding, gateway permissions, and usage tracking
The update introduces environment variables to control MCP task behavior, new gateway settings for pooled budgets and login notices, and spend tracking in /usage for developers behind a Claude apps gateway.
1 source · cross-referenced
- Adds CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND to control MCP task backgrounding in the terminal.
- Introduces permissions.denyInsteadOfPrompting to deny permission prompts automatically in terminal sessions and subagents.
- Adds spend tracking for today, week, and month to /usage for developers behind a Claude apps gateway.
- Introduces admin.pooled_conflict_rule and admin.pooled_priority_order for pooled group budget management.
- Adds optional login_notice setting for gateway operator-defined messages on verification and sign-in screens.
Claude Code v2.1.319 introduces environment variables and settings to refine MCP task handling and gateway policy controls. Developers can now use CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND to prevent MCP tool calls from being moved to the background immediately in the terminal, allowing for more granular control over task execution. A new permissions.denyInsteadOfPrompting setting enables automatic denial of permission prompts in terminal sessions, subagents, and teammates, streamlining workflows where manual intervention is undesirable.
For teams using a Claude apps gateway, the update adds spend tracking to /usage, surfacing daily, weekly, and monthly spend for developers without a spend limit when the gateway runs this version or later. Two new admin settings—admin.pooled_conflict_rule and admin.pooled_priority_order—allow administrators to define which pooled group budget pays first when a developer belongs to multiple groups. An optional login_notice setting lets operators display a custom message on the gateway's browser verification page and in Claude Code's sign-in screen, improving communication for managed deployments.
The release also includes fixes and warnings for gateway operators. A JSON log format option (CLAUDE_GATEWAY_LOG_FORMAT=json) standardizes operational logs for collectors that parse severity from a field. Start-up warnings now alert operators to policies missing desktopHome that rely on coworkTabEnabled: false or chatSessionRetentionDays, ahead of a November 10 change in Claude Desktop. Usage billing notices are now clearer when Claude Code continues on an ant auth login, ensuring the correct organization is billed.
Additional improvements address session stability and user experience. The /tasks endpoint now includes an "Earlier in this session" row to reopen finished subagents, and /diff no longer fails to load when a repository contains a file or folder named HEAD. Slash commands are now correctly interpreted even when typed after leading whitespace, and login refresh issues causing 401 errors have been resolved.
The update also corrects behavior in auto mode and MCP server compatibility. Auto mode now explains refusals when permission rules or autoMode settings are large, and Bash deny rules no longer miss commands with quoted words. MCP servers using the older handshake protocol no longer fail to connect or return empty results, and long-running MCP tool calls on claude.ai connectors now reliably report results after --resume.
- Nov 11, 2026 · Hugging Face
Hugging Face proposes token pooling-aware training to improve compressed multi-vector retrieval
Trust79 - Nov 11, 2026 · TechCrunch — AI
Fractile raises $720M Series C to develop AI chips and compiler stack
Trust79 - Nov 11, 2026 · The Verge — AI
Google’s Tabletop AI experiment lets users build custom collaborative apps via waitlist
Trust79