Claude-Code v2.1.76 adds MCP elicitation, worktree optimizations, and numerous fixes

What's new in Claude-Code v2.1.76
Claude-Code v2.1.76 is a significant update that adds new capabilities for MCP servers, improves monorepo workflows, and addresses numerous bugs affecting tool usage, session management, and user experience.
Key additions
- MCP elicitation support: MCP servers can now request structured input during tasks via interactive dialogs using form fields or browser URLs
- New hooks: Added
ElicitationandElicitationResulthooks to intercept and override responses before they're sent back to servers - Session naming: Added
-n/--name <name>CLI flag to set a display name for sessions at startup - Monorepo optimization: Added
worktree.sparsePathssetting forclaude --worktreeto check out only needed directories via git sparse-checkout in large monorepos - Compaction hook: Added
PostCompacthook that fires after compaction completes - Effort control: Added
/effortslash command to set model effort level - Quality surveys: Added session quality survey system where enterprise admins can configure sample rate via
feedbackSurveyRatesetting
Notable fixes
- Deferred tools: Fixed deferred tools (loaded via
ToolSearch) losing input schemas after conversation compaction, which caused array and number parameters to be rejected with type errors - Slash commands: Fixed showing "Unknown skill" and not finding soft-hidden commands when typing exact names
- Plan mode: Fixed asking for re-approval after plan was already accepted
- Voice mode: Fixed swallowing keypresses while permission dialog or plan editor was open, and fixed
/voicenot working on Windows when installed via npm - Context limits: Fixed spurious "Context limit reached" when invoking a skill with
model:frontmatter on a 1M-context session - Model errors: Fixed "adaptive thinking is not supported on this model" error when using non-standard model strings
- Bash permissions: Fixed
Bash(cmd:*)permission rules not matching when quoted arguments contain#, and fixed "don't ask again" dialog showing full raw command for pipes and compound commands - Auto-compaction: Fixed retrying indefinitely after consecutive failures — now stops after 3 attempts with a circuit breaker
- MCP: Fixed reconnect spinner persisting after successful reconnection
- LSP plugins: Fixed not registering servers when LSP Manager initialized before marketplaces were reconciled
- Clipboard: Fixed copying in tmux over SSH — now attempts both direct terminal write and tmux clipboard integration
- Export: Fixed
/exportshowing only filename instead of full file path in success message - UI issues: Fixed transcript not auto-scrolling to new messages after selecting text, and Escape key not working to exit login method selection screen
- Remote Control: Fixed sessions silently dying when server reaps idle environment, rapid messages being queued one-at-a-time instead of batched, stale work items causing redelivery after JWT refresh, and bridge sessions failing to recover after extended WebSocket disconnects
Performance and UX improvements
- Worktree startup: Improved
--worktreestartup performance by reading git refs directly and skipping redundantgit fetchwhen remote branch is already available locally - Background agents: Killing a background agent now preserves its partial results in conversation context
- Model fallback: Notifications are now always visible instead of hidden behind verbose mode, with human-friendly model names
- Terminal themes: Improved blockquote readability on dark themes — text is now italic with left bar instead of dim
- Worktree cleanup: Worktrees left behind after interrupted parallel runs are now automatically cleaned up
- Session titles: Remote Control session titles now derived from first prompt instead of showing "Interactive session"
- Voice improvements:
/voicenow shows dictation language on enable and warns whenlanguagesetting isn't supported for voice input - Plugin directories: Updated
--plugin-dirto only accept one path to support subcommands — use repeated--plugin-dirfor multiple directories - VSCode fix: Fixed gitignore patterns containing commas silently excluding entire filetypes from the @-mention file picker
This release focuses on improving MCP server interactions, fixing persistent tool and session management issues, and enhancing the developer experience across terminal, voice, and remote workflows.
📖 Read the full source: GitHub Claude-Code
👀 See Also

OpenGalatea MCP Server Connects Claude to Prusa 3D Printers
OpenGalatea is an open-source MCP server that enables Claude to control Prusa 3D printers via PrusaLink, allowing natural language commands to search Printables.com, slice models, and manage prints.

Solitaire: Open-Source Identity Infrastructure for AI Agents
Solitaire is an open-source identity infrastructure for AI agents that focuses on improving how agents work with users over time, not just recall. It's local-first, model-agnostic, and available via pip install solitaire-ai.
mcp-memory: SQLite FTS5 + Google's OKF for Fast Agent Memory
mcp-memory is an MCP server that gives AI agents persistent memory using Google's OKF format and SQLite FTS5 for sub-20ms lookups. Includes four tools: memory_store, memory_retrieve, memory_search, and memory_get_last.

Context Routing Layer Reduces Claude Code Token Usage by Tracking Accessed Files
A developer saved approximately $80 per month on Claude Code usage by adding a context routing layer that prevents the AI from re-reading the same repository files on follow-up turns. The tool tracks what files have already been accessed to reduce redundant token consumption.