Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

MCP tool/notification names are now sanitized before logging

MCP tool and notification names are now truncated and sanitized before appearing in logs

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaMCPwhat it touches
KindInternal Changesin v2.1.268,
Under the hood

MCP tool and notification names are now truncated and sanitized before appearing in logs

What

When Claude Code's internal MCP (Model Context Protocol) host logs which tool is executing or which notification method was received, it now truncates the name to 64 characters and converts it to a safe JSON string before writing it to the debug or info log, instead of inserting the raw name directly.

Why

This prevents an MCP server from injecting unexpected or oversized content into Claude Code's logs via a crafted tool or notification name.

See this entry in the whole of v2.1.268 →

Feedback