What probably matters to youSection of the release
Unclear The second condition the variable depends on is not stated, so setting it may not take effect in every kind of session.
What
Claude Code now reads a new environment variable, CLAUDE_CODE_SKIP_MCP_DEBUG_LOG_FILES. An environment variable is a named value set in the shell or system that starts a program. MCP servers are add-on programs that give Claude extra tools, and Claude Code normally writes a separate debug log file for each one.
When this variable is set to true and one further internal condition is met, Claude Code still writes its normal debug line but skips the entry in that server's own log file. Before, every MCP log line went to that server's file.
Why
This can keep MCP debug log files off disk. That suits setups where Claude Code runs inside another program or without a person at the keyboard.