Overview
Claude Code v2.1.85 delivers significant improvements to MCP server management, plugin controls, and performance optimizations. The release focuses on enterprise integration capabilities with enhanced OAuth flows, conditional hooks, and organization policy enforcement.
Changes by Version
v2.1.85
- Added conditional hooks with permission syntax - hooks now only run when needed, reducing system overhead
- Added multi-server MCP support via CLAUDE_CODE_MCP_SERVER_NAME and CLAUDE_CODE_MCP_SERVER_URL environment variables
- Added timestamp markers for scheduled tasks in transcripts when /loop and CronCreate fire
- Added extended deep link support - queries now handle up to 5,000 characters with scroll warnings
- Added headless integration capabilities - PreToolUse hooks can satisfy AskUserQuestion with custom UI responses
- Added enhanced MCP OAuth following RFC 9728 for authorization server discovery
- Added organization policy enforcement - blocked plugins hidden from marketplace and cannot be installed
- Added selective OpenTelemetry logging - tool parameters gated behind OTEL_LOG_TOOL_DETAILS=1
- Fixed /compact command failures when conversations exceed size limits
- Fixed plugin enable/disable issues when install locations differ from settings
- Fixed worktree command errors in non-git repositories
- Fixed MCP server blocking - deniedMcpServers setting now properly blocks claude.ai servers
- Fixed multi-monitor computer-use - switch_display now works on multi-monitor setups
- Fixed OpenTelemetry crashes when exporters set to 'none'
- Fixed diff syntax highlighting in non-native builds
- Fixed MCP authorization flow - step-up auth now works when refresh tokens exist
- Fixed memory leaks in remote sessions during interrupted streaming
- Fixed persistent connection errors by using fresh TCP connections on retry
- Fixed prompt queue issues after slash commands with up-arrow retrieval
- Fixed Python Agent SDK - MCP servers no longer dropped during startup
- Fixed SSH and VS Code terminal raw key sequences in prompts
- Fixed Remote Control status - no longer stuck on 'Requires Action' after permission resolution
- Fixed keyboard shortcuts - shift+enter and meta+enter now work with typeahead suggestions
- Fixed streaming display issues - stale content no longer bleeds through when scrolling
- Fixed terminal keyboard mode - Ctrl+C and Ctrl+D work correctly after quitting in modern terminals
- Improved file autocomplete performance on large repositories
- Improved PowerShell command detection for dangerous operations
- Improved scroll performance with pure TypeScript implementation replacing WASM yoga-layout
- Reduced UI stutter during compaction on large sessions