Claude Code 2.1.136: MCP Auth Fixes, Auto Mode Rules, UI Polish

Claude Code 2.1.136 fixes critical MCP OAuth token loss during concurrent refreshes, stops servers from disappearing after /clear, and ships 50+ UI and terminal fixes across all platforms.

Claude Code 2.1.136: MCP Auth Fixes, Auto Mode Rules, UI Polish

TL;DR

  • MCP OAuth tokens no longer lost during concurrent refreshes — daily re-auth is gone
  • MCP servers stop disappearing after /clear command across all IDEs
  • New hard_deny auto mode classifier rules for unconditional blocking
  • 50+ UI, terminal, and plugin fixes for dialogs, file pickers, and rendering

New

  • CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL — re-enable session quality survey for enterprises using OpenTelemetry response capture
  • settings.autoMode.hard_deny — auto mode classifier rules that block unconditionally, ignoring user intent or allow exceptions

Fixed

  • MCP servers configured in .mcp.json, plugins, and claude.ai connectors silently disappearing after /clear in VS Code, JetBrains, and Agent SDK
  • MCP OAuth refresh tokens lost during concurrent server refreshes — users with multiple remote MCP servers no longer need daily re-authentication
  • Rare login loop from concurrent credential writes overwriting freshly-rotated OAuth tokens
  • API 400 error when extended thinking emitted redacted thinking blocks after tool calls
  • --resume / --continue not finding sessions when project paths contain underscores
  • Plan mode not blocking file writes when matching Edit(...) allow rules exist
  • WSL2 image paste from Windows clipboard now works via PowerShell fallback when xclip/wl-paste fails
  • Plugin Stop/UserPromptSubmit hooks failing when cache cleanup deletes versions still in use
  • Slash command dialogs now have consistent footer hints, spacing, and arrow-key styling; frame appears immediately during loading
  • Colors appearing at wrong positions in bash output and markdown code blocks
  • ReasonML diffs rendering corrupted "undefined" text at word-diff boundaries
  • Worktree exit dialog warning about uncommitted files in wrong directory
  • @ file picker not matching files created mid-session in small non-git directories
  • @ file picker failing to find files in directories with 100+ entries
  • Failed tool calls not click-to-expand in fullscreen mode when output truncated
  • Backspace and Ctrl+Backspace swapped after Ctrl+G external editor on persistent extended-key terminals
  • /usage weekly reset showing time of day instead of calendar date
  • Welcome banner ellipsis causing column overflow on CJK terminals
  • /insights crash with malformed tool call input fields in session history
  • Renderer crash when tool collapsibility classification changes mid-session
  • skills entry in plugin.json hiding plugin's default skills/ directory; file paths now show errors instead of failing silently
  • IDE shell-integration lock files not respecting CLAUDE_CONFIG_DIR
  • Trailing whitespace in copied terminal output during streaming
  • Plugin uninstall and enable/disable now match slugs case-insensitively
  • Tool error truncation marker showing negative count for surrogate-pair strings
  • Env vars from CLAUDE_ENV_FILE SessionStart hooks going stale after /resume or /clear
  • /branch saving multi-line session titles when given pasted multi-line names
  • Stray leading space on second line of wrapped text at column boundary
  • Esc not dismissing dialogs in /install-github-app, /desktop, /resume, and /web-setup
  • /doctor MCP schema errors now name missing fields and show source file paths
  • Bash permission prompts showing internal parser diagnostics instead of user-readable explanations
  • Plugin slash commands with spaces (e.g. /myplugin review) not resolving to namespaced form
  • AskUserQuestion discarding multi-select answers supplied as arrays
  • /clear <name> not labeling cleared sessions for /resume
  • CronList output missing qualifiers and scheduled prompts
  • "Jump to bottom" overlay leaving color artifacts on CJK characters in fullscreen
  • Wide markdown tables leaving stale bordered render in terminal scrollback while streaming
  • Pasted text silently dropped when long prompts with pasted-text placeholders were auto-truncated
  • /release-notes getting stuck on old version after failed changelog refresh
  • /mcp server list not scrolling when servers exceed terminal height
  • Mid-input slash command autocomplete not working after initial slash command
  • Scrolling to bottom re-engaging auto-follow with autoScrollEnabled: false
  • Prompt suggestions auto-submitted by Enter on empty input instead of requiring Tab or arrow
  • Keyboard shortcut hints not reflecting rebound keys from keybindings.json
  • /settings language change reverted on Escape after confirming
  • /terminal-setup only appearing in autocomplete on exact name match instead of partial prefixes
  • "Chat about this" on AskUserQuestion dialog erasing question text
  • MCP tool results invisible when server returns content blocks
  • Plugin marketplace removal key changed from r to d to match delete behavior elsewhere and avoid collision with retry

Improved

  • Error message when --worktree collides with existing or stale worktree

Update: Claude Code updates automatically in VS Code and JetBrains IDEs. For Agent SDK, run npm install @anthropic-ai/claude-code-sdk@latest.

Source: Claude Code