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 server configs are redacted (headers/env/args) before being surfaced/displayed

MCP server details like headers, environment variables, and arguments are now redacted before being shown

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaMCPwhat it touches
KindImprovementsin v2.1.268,
You'll notice

MCP server details like headers, environment variables, and arguments are now redacted before being shown

What

When Claude Code displays or logs an MCP server's configuration, sensitive parts are now masked first. For servers connected over HTTP or SSE, headers are replaced with [REDACTED]. For servers run as local processes (stdio), environment variable values are replaced with [REDACTED] and command-line arguments are cleared. The server's URL or command itself also goes through a separate masking step. This applies to the mcp status, mcp list, and mcp get commands, as well as configuration diffs.

Why

MCP server configs often carry secrets like API keys or tokens in headers or environment variables. Redacting them before display prevents those secrets from being accidentally exposed on screen or in logs.

See this entry in the whole of v2.1.268 →

Feedback