Environment variables

CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND

Forces Claude to wait for MCP task outputs in interactive sessions when set to 1.

Syntax

CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND

Type to search the reference, templates and lessons.