Claude Code v2.1.274 Fixes MCP Timeouts, Self-Heals Corrupted Transcripts, Adds Startup Wait Control
Claude Code v2.1.274 is out, and it's mostly bug-fix weight with a few new knobs. The MCP fixes and the transcript self-healing are the ones worth reading if you've hit either failure mode.
New config and telemetry
CLAUDE_CODE_MCP_STARTUP_WAIT_MSbounds how long the first non-interactive turn waits for MCP servers to connect. Set it to0to skip waiting entirely.- The
claude_code.llm_requestOpenTelemetry trace span now carries aneffortattribute, matching the existingapi_requestevent. - New OTel event
claude_code.managed_settings_resolvedreports managed-settings sources and policy helper state. Redacted settings and digests requireOTEL_LOG_MANAGED_SETTINGS=1. - Critical memory usage now triggers a visible warning with steps to free memory or restart safely.
MCP fixes
- MCP servers configured as
httpthat only speak legacy HTTP+SSE no longer fail to connect when they answer the first request with a 422 or another 4xx. - Streamable HTTP MCP tool calls no longer time out after roughly 5 minutes when a longer per-server
timeoutwas set. - Prompts and resources now refresh when a server sends list-changed notifications without declaring
listChanged. - MCP tool calls refused with
403 insufficient_scopeare no longer reported as an expired sign-in — the error now names the missing permissions and points to/mcpre-authentication.
Session and transcript fixes
- Sessions stuck endlessly retrying
unexpected tool_use_id400 errors now self-heal corrupted transcripts where possible; otherwise you get a clear error with a/rewindhint that ends the loop. - Hook-driven sessions (such as an active
/goal) now compact instead of dying with "Prompt is too long" when context overflows again after a reactive compaction. - An active
/goalis no longer lost when resuming with--continue/--resumeafter a compacted session. - A local
claude -p --resumestarted withCLAUDE_CODE_RESUME_INTERRUPTED_TURNnow reports background tasks the previous process left unfinished.
Gateway and runner changes
- Claude apps gateway config gets
store.connect_timeout_secondsto lengthen the Postgres connect timeout (default 5 seconds). Boot errors for an unreachable database now point atstore.postgres_urland the configured timeout. - Telemetry from Claude Desktop and Cowork sent through a Claude apps gateway now includes
enduser.sub, the IdP subject. - The gateway warns when a replica has more open requests than the 256 it sends upstream at once, and logs that limit at startup.
- Self-hosted runner sessions no longer fail every turn with a 401 after a few failed token refreshes. It keeps retrying and fetches a new token after a 401.
Smaller fixes
claude agentsno longer loses--model,--effort,--permission-mode,--allow-dangerously-skip-permissions, and--agentafter an auto-update relaunch.- Subagents with
model: "opus"on Bedrock, Vertex, or Foundry keep the session's model when its id has no recognizable family, unlessANTHROPIC_DEFAULT_OPUS_MODELis set. - Per-turn slowdowns from a language server publishing project-wide diagnostics for thousands of files are fixed.
- Clickable local file path links now work in VS Code and terminals that require a
file://URI. - Transcript no longer renumbers your own ordered lists (typing
3. 2. 1.shows3. 2. 1., not3. 4. 5.). AskUserQuestionpreview notes now attach to the highlighted option, and preview mode no longer drops the highlighted option when submitting with Enter.- Background agent notifications no longer claim there's no live background work while the agent is still waiting on its own task.
/scheduleno longer saves a routine's prompt without its message role./statusnow surfaces theapiKeyHelperfailure its own banner tells you to check./fast onfixed in non-interactive mode, and Claude Desktop error hints now suggest slash commands like/usage-creditsinstead of unusable CLI flags.
Most of this release is fixing long-standing annoyances rather than adding surface area. If you run MCP servers over Streamable HTTP or use /goal-driven hooks, upgrade.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Claude.ai, API, and Claude Code Experiencing Elevated Errors
Claude.ai, the Claude API, and Claude Code are experiencing elevated errors with the web interface and developer console down. Claude Code login via Claude.ai is broken, though logged-in users can still use it.

Amazon Workers Invent Busywork to Meet AI Usage Quotas
To comply with internal mandates to adopt AI tools, Amazon staff are fabricating tasks, inflating usage stats, and gaming metrics—revealing flawed implementation of AI adoption policies.

OpenClaw 2026.3.28: Breaking Changes for MiniMax Users, Config Auto-Repair Removed
OpenClaw 2026.3.28 removes auto-repair for deprecated config keys and eliminates several MiniMax models. Users must update configs before upgrading to avoid gateway startup failures.

Context Quality Degradation in AI Agents: Hallucination Rates Increase with Token Count
Testing shows hallucination rates increase from ~3% at 10K tokens to ~28% at 200K tokens, with recall accuracy dropping below 90% for early-session information once context exceeds 50K tokens.