{"name":"CLAUDE_CODE_HOST_GUARDS_ARTIFACTS_MCP","slug":"claude-code-host-guards-artifacts-mcp","family":"env","title":"Environment variables","noun":"environment variable","description":"A remote tool host can now be released after an idle time set remotely, and Claude Code reads status updates from it during a session","description_source":"entry","described_by":{"version":"2.1.312","anchor":"remote-tools-host-idle-release-and-mid-session-status"},"presence":{"first_seen":"2.1.312","removed_in":null,"in_current_build":true,"newest_mined":"2.1.312","builds":1,"mined_builds":153,"first_cited":{"version":"2.1.312","released_at":"2026-10-27 18:36:10","spans":1}},"aliases":[],"entries":[{"version":"2.1.312","anchor":"remote-tools-host-idle-release-and-mid-session-status","heading":"Remote tool hosts can release themselves when idle and report their status","line":"A remote tool host can now be released after an idle time set remotely, and Claude Code reads status updates from it during a session","released_at":"2026-10-27 18:36:10","reason":"found in this entry's text"},{"version":"2.1.312","anchor":"artifacts-mcp-can-be-served-by-a-local-stub-and-host-guard-e","heading":"Artifacts tool setup and publishing checks change for desktop and Cowork","line":"Artifacts can run from a local server, `CLAUDE_CODE_HOST_GUARDS_ARTIFACTS_MCP` stops the desktop skip, and publishing obeys Read rules","released_at":"2026-10-27 18:36:10","reason":"found in this entry's text"}],"entries_total":2,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_HOST_AUTH_ENV_VAR","slug":"claude-code-host-auth-env-var","description":"When Claude Code removes certain environment variables, it now keeps the one named by `CLAUDE_CODE_HOST_AUTH_ENV_VAR`"},{"name":"CLAUDE_CODE_HOST_AUTH_REFRESH_TIMEOUT_MS","slug":"claude-code-host-auth-refresh-timeout-ms","description":"Milliseconds Claude Code waits for the SDK host to answer a `host_auth_token_refresh` control request, used by the refresh hook registered when `CLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESH` is set. Default `30000`; an unset, empty, `0` or non-numeric value uses the default."},{"name":"CLAUDE_CODE_HOST_CREDS_FILE","slug":"claude-code-host-creds-file","description":"A trailing slash in your host credentials file path no longer changes whether the rule matches."},{"name":"CLAUDE_CODE_HOST_GATEWAY_LINEAGE","slug":"claude-code-host-gateway-lineage","description":"New CLAUDE_CODE_HOST_GATEWAY_LINEAGE variable keeps child processes of a Desktop-hosted gateway session treated as host-managed"},{"name":"CLAUDE_CODE_HOST_PLATFORM","slug":"claude-code-host-platform","description":"A value of `win32`, `darwin` or `linux` replaces the real `process.platform` as the `platform` Claude Code reports alongside its version and account ids and in its environment details; any other value falls back to the real platform. The raw value is also reported as `platformRaw` (`linux` when unset) and read as the `hostPlatform` fact during environment detection."},{"name":"CLAUDE_CODE_HOST_PROMPT_SUPERSEDES_RECORD","slug":"claude-code-host-prompt-supersedes-record","description":"`CLAUDE_CODE_HOST_PROMPT_SUPERSEDES_RECORD`, `CLAUDE_CODE_MCP_SERVE_SETTINGS` and `CLAUDE_CODE_DISABLE_WEB_FETCH` are now passed along"},{"name":"CLAUDE_CODE_HOST_SCHEDULED_RUN","slug":"claude-code-host-scheduled-run","description":"Scheduled-run tasks can now report why they fired, but only if the host explicitly opts in via CLAUDE_CODE_HOST_SCHEDULED_RUN=1"},{"name":"CLAUDE_CODE_HOST_SESSION_ID","slug":"claude-code-host-session-id","description":"Claude Code now recognizes a CLAUDE_CODE_HOST_SESSION_ID environment variable"},{"name":"CLAUDE_CODE_HOST_SKILL_CATALOG","slug":"claude-code-host-skill-catalog","description":"In remote sessions, `CLAUDE_CODE_HOST_SKILL_CATALOG` can list the skills allowed to load, and invalid values are ignored with a warning"},{"name":"CLAUDE_CODE_HOST_WORKTREE","slug":"claude-code-host-worktree","description":"Two new environment variables let an embedding app block file writes inside chosen paths, except inside one declared worktree"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-host-guards-artifacts-mcp","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}