{"version":"2.1.333","anchor":"auto-mode-exit-and-mcp-offers","canonical_anchor":"auto-mode-exit-and-mcp-offers","heading":"Non-interactive runs wait for background tasks before exiting","tier":"notice","area":"Headless Mode","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/auto-mode-exit-and-mcp-offers","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Non-interactive runs wait for background tasks before exiting\n\nRuns without the interactive interface now wait for background tasks to finish before exiting, and MCP caching now accounts for extra offers\n\n**What**\n\n- Headless runs, meaning runs without the interactive screen, now wait for background tasks before exiting.\n\n- The key Claude Code uses to cache MCP server information now includes an entry for each extra capability offered. An MCP server is an outside program that gives Claude Code extra tools.\n\n**Why**\n\nIn practice, a headless run may now take a little longer to finish while background work completes, and cached MCP information may be refreshed when the offered capabilities differ.\n\n- Area: Headless Mode\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}