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

Open Source Book Genesis: 20 Claude Code Skills for Autonomous Book Writing
Book Genesis is an open-source system of 20 specialized Claude Code skills that takes a book idea and produces a complete, publish-ready manuscript through a 14-phase autonomous pipeline. It includes a 'Chaos Engine' to break AI predictability patterns and has generated a 68,000-word memoir scoring 9.0/10 on its Genesis Score.

Local voice-to-text transcription for OpenClaw using Parakeet TDT 0.6b v3
A developer has converted NVIDIA's Parakeet TDT 0.6b v3 model to run locally via ONNX on CPU, supporting 25 European languages. The model provides an OpenAI-compatible API endpoint through a Docker container, allowing integration with OpenClaw for audio file transcription.

PeaDB: Redis-Compatible Database Coded with AI Assistants in C++20
A developer created PeaDB, a Redis 7.2.5 drop-in replacement written in C++20 using Codex, Copilot, and Claude, implementing ~147 commands with persistence, replication, and cluster support. Benchmarks show performance close to Redis.

MCP Server Indexes Codebases into Knowledge Graph for 10x Token Reduction
A new MCP server called codebase-memory-mcp parses codebases into a persistent knowledge graph using tree-sitter, reducing token usage by at least 10x for structural queries. Benchmarked across 35 real-world repositories, it replaces file-by-file exploration with graph queries.