Claude Code v2.1.221 ·
Headless MCP pre-wait takes an options object and reports more telemetry
Waiting for MCP servers before a headless run is tidied up and logs more detail.
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
MCPArea: what it touches
Internal ChangesKind: in v2.1.221,
Internal ChangesSection of the release
What
The helper that waits for MCP servers before a headless run swapped positional arguments for an options bag and emits richer telemetry.
Details
- Options are skipTelemetry, waitForDeferrable, localOnly and permissionPromptToolServerName.
- localOnly is now supplied by the caller instead of being inferred from CLAUDE_CODE_ENTRYPOINT.
- Callers can request waiting even for servers that would otherwise be deferred.
- The tengu_headless_mcp_prewait event gains deadlineMs and waitForDeferrable fields.
See this entry in the whole of v2.1.221 →