Skip to content
Tools · Apr 24, 2026

Claude Code v2.1.118 adds vim visual modes, merges cost tracking, and expands MCP capabilities

The latest release of Anthropic's Claude Code integrates direct MCP tool invocation in hooks, introduces vim visual and visual-line modes, consolidates usage statistics, and fixes OAuth authentication issues across multiple platforms.

Trust80
HypeLow hype

1 source · single source

ShareXLinkedInEmail
TL;DR
  • Claude Code v2.1.118 released April 23 with vim visual mode (v) and visual-line mode (V) for enhanced text selection and operators
  • Merged /cost and /stats commands into unified /usage command, with both shortcuts preserved for backward compatibility
  • Hooks can now directly invoke MCP tools via type: 'mcp_tool' configuration, expanding third-party tool integration
  • Fixed critical OAuth authentication issues affecting MCP servers, including token refresh race conditions on macOS and scope handling bugs
  • Added DISABLE_UPDATES environment variable for stricter update blocking, and expanded auto mode rule customization with $defaults support

Anthropic released Claude Code v2.1.118 on April 23, introducing vim-style text selection modes and consolidating command interfaces. The release adds vim visual mode and visual-line mode for users accustomed to vim keybindings, enabling selection, operators, and visual feedback within the editor. The /cost and /stats commands were merged into a single /usage interface, though both original shortcuts remain functional as typing aliases.

The release significantly expands Claude Code's extensibility by allowing hooks to invoke MCP (Model Context Protocol) tools directly through a new mcp_tool type configuration. This enables tighter integration between Claude Code's automation layer and external tool ecosystems without requiring intermediate command parsing.

Several OAuth and authentication bugs were patched, including a macOS keychain race condition where concurrent token refreshes could overwrite freshly-updated credentials, causing unexpected re-authentication prompts. The release also fixed token refresh failures when servers revoke tokens before expiry, and resolved step-up authorization flows that silently refreshed instead of prompting for re-consent on scope changes.

Additional improvements include environment variable DISABLE_UPDATES for stricter update path blocking, the ability to create and switch named custom themes via /theme with JSON hand-editing support, and expanded auto mode rule customization. Users can now include the $defaults token in autoMode configurations to extend built-in rules rather than replace them. The /model picker now respects ANTHROPIC_DEFAULT_*_MODEL_NAME overrides when using custom gateway URLs.

Sources
  1. 01GitHub · anthropics/claude-code releasesv2.1.118
Also on Tools

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.