releaseintermediate
[Release] anthropics/claude-code v2.1.85: v2.1.85
By ashwin-antgithub
View original on githubClaude Code v2.1.85 introduces MCP server flexibility with environment variables for multi-server support, conditional hook execution to reduce overhead, and improved OAuth compliance with RFC 9728. The release includes significant bug fixes for context management, plugin handling, terminal compatibility, and streaming performance, plus enhancements to file autocomplete and scroll performance on large transcripts.
Key Points
- •MCP servers can now serve multiple instances via `CLAUDE_CODE_MCP_SERVER_NAME` and `CLAUDE_CODE_MCP_SERVER_URL` environment variables in headersHelper scripts
- •Hooks support conditional `if` fields using permission rule syntax (e.g., `Bash(git *)`) to filter execution and reduce process spawning
- •Timestamp markers added to transcripts for scheduled tasks (`/loop`, `CronCreate`) to track when they fire
- •Deep link queries now support up to 5,000 characters with scroll-to-review warnings for long pre-filled prompts
- •MCP OAuth now follows RFC 9728 Protected Resource Metadata discovery for proper authorization server detection
- •Organization policy-blocked plugins are now hidden from marketplace and cannot be installed or enabled
- •PreToolUse hooks can satisfy `AskUserQuestion` by returning `updatedInput` with `permissionDecision: "allow"` for headless integrations
- •Fixed `/compact` command failing with context-exceeded errors on large conversations
- •Fixed MCP step-up authorization flow when refresh tokens exist and elevated scopes are requested
- •Improved scroll performance by replacing WASM yoga-layout with pure TypeScript implementation for large transcripts
Found this useful? Add it to a playbook for a step-by-step implementation guide.
Workflow Diagram
Start Process
Step A
Step B
Step C
Complete