Use it now Notable
MCP output and description truncation length is now configurable via CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH
What
The character limit used to truncate MCP (Model Context Protocol) tool output and instructions was previously a fixed, hardcoded number. It can now be set with the environment variable CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH. If the variable isn't set, Claude Code falls back to the same default length as before.
Why
This lets users or teams with MCP tools that produce longer descriptions or output raise the truncation limit instead of being stuck with the built-in default.
Names in the bundleCLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH
Documented inclaude-code/changelog
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this build
New in this build: CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH