Claude Code v2.1.319 released with support for backgrounding MCP tasks
#Anthropic #Claude Code #Amazon
Claude Code v2.1.319 has been released. It adds support for backgrounding MCP tasks, a setting to deny instead of prompting for permissions, and a command to optimize Claude API latency.
Claude Code v2.1.319 has been released. This update adds a feature where, when an MCP server runs a tool call as a task, Claude Code immediately moves it to the background and informs Claude of the result upon completion. The CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND environment variable can be used to make Claude Code wait inside the tool call instead of moving it to the background.
The permissions.denyInsteadOfPrompting setting was also added, allowing tool calls that would wait for a permission prompt to be denied so the turn continues in terminal sessions, subagents, and teammates. Additionally, the /claude-api latency-optimize command was introduced to find where Claude API code causes waiting and test faster settings against an evaluation.
Changes were also made to auto mode. With telemetry or feature flags off, auto mode behind LLM gateways—including those where the server cannot check calls—will ask about or deny calls without falling back to the built-in classifier; Bedrock, Vertex, and Foundry remain unchanged. Furthermore, the CLAUDE_CODE_DISABLE_FEATURE_FLAGS environment variable was added to stop fetching feature flags.
This item is a summary. The full, checkable version is at the original source:
Read the original at Claude Code ↗