Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.6 Home All releases olderv2.1.5 v2.1.7newer
Claude Code v2.1.6

MCP Logging Infrastructure

Added structured logging for MCP (Model Context Protocol) server errors and debug messages.

Details
  • New logMCPError() and logMCPDebug() functions for server-specific logging
  • MCP logs stored separately per server in mcp-logs-{serverName} directories
  • Error log sink initialization with buffering for early errors before sink is ready
Evidence

Lq9() at line 536969 (error log sink initialization, contains logMCPError, logMCPDebug)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.6 →