Skip to main content

Claude Code 2.1.128 Is Here: 37 CLI Fixes, Better EnterWorktree Behavior, and Cleaner MCP Reconnects

Claude Code 2.1.128 includes 37 CLI changes, with key fixes to EnterWorktree branch creation, a cleaner MCP reconnect experience, and new OTEL environment variable isolation for subprocesses—significantly improving stability and workflow reliability.

NewsClaude Code 2.1.128Est. read5min
2026.05.06 published
Claude Code 2.1.128 Is Here: 37 CLI Fixes, Better EnterWorktree Behavior, and Cleaner MCP Reconnects

Claude Code 2.1.128 Is Here: 37 CLI Fixes, Better EnterWorktree Behavior, and Cleaner MCP Reconnects

Claude Code keeps moving fast. Just a few days after the previous release, 2.1.128 has officially landed.

This update does not ship a flashy headline feature. Instead, it focuses on the everyday friction developers actually feel: 37 CLI changes aimed at stability, usability, and workflow reliability. For teams running agents every day, maintaining multi-branch projects, or wiring Claude Code into MCP services, this release makes the whole experience feel noticeably more dependable.


Three Key Highlights

1. EnterWorktree Now Creates Branches the Way You Expect

This is one of the most important fixes in the release.

Previous behavior: EnterWorktree created new branches from origin/<default-branch>, which meant local unpushed commits could be left behind when entering a worktree.

New behavior: Branches are now created directly from local HEAD, preserving all unpushed commits and matching the behavior described in the official documentation.

For developers who frequently work locally, test ideas in experimental branches, or jump between worktrees, this is a meaningful quality-of-life fix. The hidden “where did my commit go?” worktree trap is gone.


2. MCP Reconnects Are Much Cleaner

Previously, every MCP server reconnect could flood the chat window with a full tool list, making the session noisy and hard to scan.

This release improves that experience in two ways:

  • Reconnects now show a concise summary by server prefix instead of dumping a full-screen tool list
  • Tool counts are now displayed, and servers connected with 0 tools are clearly marked, making troubleshooting easier

As the MCP ecosystem continues to grow, this is exactly the kind of polish heavy users will notice immediately.


3. Better Subprocess Environment Isolation for OTEL

Subprocesses such as Bash, hooks, MCP, and LSP no longer inherit the CLI’s OTEL_* environment variables.

That means OTEL-instrumented apps launched through the Bash tool will no longer accidentally send traces to the CLI’s OTLP endpoint. For teams with mature observability setups, this keeps local debugging and tracing much cleaner.


Other Notable Fixes

UI / UX:

  • Fixed focus mode flickering
  • Fixed a bug where failed image drag-and-drop could leave the UI stuck
  • Fixed several smaller issues around long URL clicks, markdown copy spacing, tab navigation, and more
  • Progress indicators no longer flicker

Stability:

  • Improved large-input handling: piped inputs over 10MB should no longer cause crash loops
  • More robust parallel Shell tool calls: a single failed read-only command no longer breaks other calls in the same batch

More updates:

  • Fixed Bedrock default model resolution
  • Aligned Vim mode Space key behavior with standard Vim
  • --plugin-dir now supports passing zip files directly
  • --channels now supports console authentication
  • Fixed persistent Bash permission prompts in the SDK
  • Multiple fixes around MCP update detection, the Components panel, and related areas

Small bonus: Typing /color without arguments now randomly picks a session color, adding a bit of personality to long-running development sessions.


How to Upgrade

Upgrading is simple and should only take a moment:

# Option 1
claude --update

# Option 2
claude upgrade
# Option 1
claude --update

# Option 2
claude upgrade

After upgrading, run /version in the CLI and confirm that the version is 2.1.128.

Recommended checks:

  1. If you use worktrees, test the new branch creation behavior
  2. If you rely on MCP, check whether reconnect output is now cleaner
  3. If your project uses OTEL instrumentation, confirm subprocess isolation works as expected

Final Thoughts

Claude Code 2.1.128 is not a “big feature” release, and that is exactly the point. It shows Anthropic’s current product direction clearly: make the foundation more reliable first, then keep refining the developer workflow.

The EnterWorktree and MCP reconnect improvements directly address two pain points that show up often in agentic development workflows. Combined with the broader stability fixes, this release should make long sessions, worktree switching, and parallel tool execution feel smoother overall.

If you are building agentic applications with the Claude API, ClaudeAPI.com provides an API-compatible access layer for the latest Claude models, including claude-opus-4-7, claude-sonnet-4-6, and the full Claude model lineup. It supports OpenAI- and Anthropic-compatible formats, with direct access from anywhere and no VPN required.

BASE_URL: https://gw.claudeapi.com

Related Articles