{"version":"2.1.317","anchor":"mcp-tasks-gate-now-has-a-computed-fallback-and-a-kill-switch","canonical_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","tier":"use","area":"MCP","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317\/e\/mcp-tasks-gate-now-has-a-computed-fallback-and-a-kill-switch","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317","markdown":"### MCP task support can be turned off with `CLAUDE_CODE_DISABLE_MCP_TASKS`\n\nSetting `CLAUDE_CODE_DISABLE_MCP_TASKS` turns off MCP task support, and the remote switch for it can now default to on in some setups\n\n**Unclear.** Which setups get the on-by-default fallback is not clear.\n\n**What**\n\nMCP servers are outside programs that give Claude extra tools. Claude Code's support for MCP tasks can now be turned off by setting the environment variable `CLAUDE_CODE_DISABLE_MCP_TASKS`. An environment variable is a setting you give a program from your shell before starting it. Claude Code also passes this variable on to the programs it starts.\n\nWhen the variable is not set, a remote switch decides whether MCP task support is on. Before, if the server sent no value, the switch fell back to off. It now falls back to on when several conditions hold, and one of them is that `CLAUDE_CODE_REMOTE` is not set. When the switch was last read before this release, the server returned it on for this site's account and off for an anonymous account.\n\nOne older check that also read this switch now always answers off.\n\n**Why**\n\nMCP task support appears to be moving from off by default to on by default in some setups. `CLAUDE_CODE_DISABLE_MCP_TASKS` gives you a reliable way to turn it off if it causes trouble.\n\n- Flag `tengu_glowing_lark`: On for this account, and not off by default (read for one account on one subscription tier against v2.1.317; this account: on, anonymous baseline: off, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_mcp_task_worker_wake`: Not enough to say (read for one account on one subscription tier against v2.1.317; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: MCP\n- Names: `CLAUDE_CODE_DISABLE_MCP_TASKS`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}