{"name":"CLAUDE_CODE_DISABLE_MCP_TASKS","slug":"claude-code-disable-mcp-tasks","family":"env","title":"Environment variables","noun":"environment variable","description":"Setting `CLAUDE_CODE_DISABLE_MCP_TASKS` turns off MCP task support, and the remote switch for it can now default to on in some setups","description_source":"entry","described_by":{"version":"2.1.317","anchor":"mcp-tasks-gate-now-has-a-computed-fallback-and-a-kill-switch"},"presence":{"first_seen":"2.1.317","removed_in":null,"in_current_build":true,"newest_mined":"2.1.318","builds":2,"mined_builds":158,"first_cited":{"version":"2.1.317","released_at":"2026-11-02 23:57:53","spans":1}},"aliases":[],"entries":[{"version":"2.1.318","anchor":"mcp-disable-tasks-env-filter-generalized-image-and-pdf-hand","heading":"MCP environment variable check widened, and tool results over the media limit marked","line":"A check that filters `CLAUDE_CODE_DISABLE_MCP_TASKS` now covers several names, and media that is not sent is replaced with a note","released_at":"2026-11-03 21:55:17","reason":"found in this entry's text"},{"version":"2.1.317","anchor":"mcp-tasks-gate-now-has-a-computed-fallback-and-a-kill-switch","heading":"MCP task support can be turned off with CLAUDE_CODE_DISABLE_MCP_TASKS","line":"Setting `CLAUDE_CODE_DISABLE_MCP_TASKS` turns off MCP task support, and the remote switch for it can now default to on in some setups","released_at":"2026-11-02 23:57:53","reason":"found in this entry's text, named in this entry"},{"version":"2.1.317","anchor":"new-env-vars-forwarded-to-spawned-processes-claude-code-dis","heading":"Two Claude Code environment variables now reach the programs it starts","line":"`CLAUDE_CODE_DISABLE_MCP_TASKS` is now passed on to programs Claude Code starts, and `CLAUDE_CODE_HOST_SHORT_TEMP_DIRS` is always set for them","released_at":"2026-11-02 23:57:53","reason":"found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND","slug":"claude-code-disable-mcp-task-background","description":"Set CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND to keep MCP tasks in the foreground."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-disable-mcp-tasks","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}