Claude Code v2.1.122 Adds Bedrock Service Tier, Fixes MCP Tool Discovery and Bash Mode

Anthropic released Claude Code v2.1.122 with several notable fixes and one new feature. The release is primarily a bugfix rollup, but adds a new environment variable for AWS Bedrock users.
New Bedrock Service Tier
Set ANTHROPIC_BEDROCK_SERVICE_TIER to default, flex, or priority. The value is sent as the X-Amzn-Bedrock-Service-Tier header on each API request.
Key Fixes
- PR URL resume: Pasting a PR URL into
/resumenow finds the session that created that PR (GitHub, GitLab, Bitbucket supported). - MCP server visibility:
/mcpshows claude.ai connectors hidden by a manually-added server with the same URL, plus a hint to remove the duplicate. - MCP tool discovery: Fixed ToolSearch missing MCP tools that connected after session start in nonblocking mode.
- Bash mode exit:
!exit/!quitnow runs as shell commands instead of terminating the CLI. - Image resize max: Images sent to newer models are resized to 2000px max per side (was incorrectly 2576px).
- Model effort:
/modelnow shows the Effort option for Bedrock application inference profile ARNs; those ARNs also receiveoutput_config.effort. - Vertex AI / Bedrock structured outputs: Fixed
invalid_request_error: output_config: Extra inputs are not permittedon session-title generation and other structured-output queries. - Vertex AI count_tokens: Fixed 400 errors for users behind proxy gateways.
- OpenTelemetry: Numeric attributes on
api_request/api_errorlog events are emitted as numbers, not strings. Addedclaude_code.at_mentionlog event for @-mention resolution. - Other fixes:
spinnerTipsOverride.excludeDefaultnow works (wasn't suppressing time-based tips). Remote control session idle status redrawing dropped from 2x/sec to 1x/sec to avoid floodingtmux -CCcontrol pipes. Assistant messages appearing blank due to stale view preference fixed. Malformed hooks entry insettings.jsonno longer invalidates the entire file. Voice mode: Caps Lock keybindings now show an error (terminals don't deliver Caps Lock as a key event).
For Whom
This release benefits Claude Code users on AWS Bedrock, those relying on MCP tools in nonblocking mode, and anyone hitting structured output issues with Vertex AI. The bash mode fix is relevant for teams using !exit within builds.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Cursor AI Study: Short-Term Speed Gains Lead to Long-Term Complexity
A study using difference-in-differences analysis found Cursor AI adoption leads to statistically significant but transient velocity increases, along with substantial and persistent increases in static analysis warnings and code complexity that drive long-term slowdowns.

Google to Provide AI Agents to Pentagon for Unclassified Work
Google will provide AI agents to the Pentagon for unclassified work, according to a Bloomberg report. The article has generated discussion on Hacker News with 61 points and 52 comments.

Claude Code allegedly refuses requests or charges extra when commits mention 'OpenClaw'
A tweet by Theo claims Claude Code either refuses requests or charges extra if your git commits mention 'OpenClaw', sparking discussion on HN.

Gemma 4 31B outperforms larger models on FoodTruck Bench
Gemma 4 31B placed 3rd on the FoodTruck Bench benchmark, beating GLM 5, Qwen 3.5 397B, and all Claude Sonnet models. The model appears to handle long-horizon tasks better and follows its own planning advice.