Claude Code release notes: 2.1.319 adds background MCP tasks
Part of the series: Claude Code release notes

Claude Code 2.1.319 can now move MCP tasks into the background in the terminal and notify Claude when the result is ready. MCP, Model Context Protocol, connects AI tools to external services and data sources.
Claude Code release notes: background MCP tasks
When an MCP server runs a tool call as a task, Claude Code moves it into the background immediately. It delivers the result to Claude when the task finishes. This applies to servers that run the call as an MCP task, not automatically to every slow tool call.
The release also introduces the CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND environment variable. It makes Claude Code wait for the task inside its tool call instead of moving it into the background immediately. The release note does not specify an exact value for the variable, so no ready-to-use configuration example is given here.
Source: Anthropic's Claude Code 2.1.319 release notes.
Resume work without losing the result
The same version fixes a bug where a long-running MCP call through a claude.ai connector sometimes never reported its result after --resume. It also fixes connection failures and empty results for MCP servers using an older handshake.
The update was published on GitHub on November 6. Version 2.1.319 was also the latest in the npm registry when checked on November 9, 2026. This description is based on Anthropic's release notes, not our own MCP server test.
Sources: Claude Code 2.1.319 on GitHub and Anthropic's package in the npm registry.
The Forge newsletter
Get new articles in your inbox
Pick the topics you care about. No noise, at most one email a week.
We follow GDPR. Unsubscribe anytime.


