{"version":"2.1.285","anchor":"new-host-env-var-claude-code-host-prompt-supersedes-record-a","canonical_anchor":"new-host-env-var-claude-code-host-prompt-supersedes-record-a","heading":"New environment variables passed through to host apps and child processes","tier":"notice","area":"Environment Variables","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285\/e\/new-host-env-var-claude-code-host-prompt-supersedes-record-a","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285","markdown":"### New environment variables passed through to host apps and child processes\n\n`CLAUDE_CODE_HOST_PROMPT_SUPERSEDES_RECORD`, `CLAUDE_CODE_MCP_SERVE_SETTINGS` and `CLAUDE_CODE_DISABLE_WEB_FETCH` are now passed along\n\n**Unclear.** What these variables do beyond being passed along is not settled.\n\n**What**\n\nEnvironment variables are settings given to a program through its shell. Claude Code passes some of them on to programs it starts or that host it. These were added to those lists:\n\n- `CLAUDE_CODE_HOST_PROMPT_SUPERSEDES_RECORD`, passed to host apps and child processes. In print mode (`-p`), it also sets an internal setting, which is reset when no system prompt has been set\n\n- `CLAUDE_CODE_MCP_SERVE_SETTINGS`, passed to child processes\n\n- `CLAUDE_CODE_DISABLE_WEB_FETCH`, added to a list of variables passed through\n\n**Why**\n\nThese are switches for apps and tools that build on Claude Code, and they now reach the processes Claude Code starts.\n\n- Area: Environment Variables\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}