
News
Claude Code 2.1.331 puts Code Mode on four cloud platforms
Claude Code 2.1.331 brings terminal Code Mode to Bedrock, Google Cloud's Agent Platform, Foundry, and Claude Platform on AWS, and adds an API check to claude doctor.
Claude Code 2.1.331 adds Code Mode support in terminal sessions on four cloud platforms: Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and Claude Platform on AWS.
The release was published on November 23, 2026, at 21:34:41 UTC. That platform line is the first item in the GitHub notes. It names terminal sessions only. It does not include setup steps, host-by-host differences, or a description of what a Code Mode session does once it is open.
What claude doctor now reports
The same notes add an API connectivity section to claude doctor. It reports whether the API can be reached, with the HTTP status or the error, or says why it was not tested.
There is no sample output in the release entry, and no list of conditions that skip the test.
MCP hangs on bad replies
A bug fix stops MCP tool calls hanging for up to 30 minutes on some malformed replies from a local or WebSocket server.
The notes tie that hang to some malformed replies, and they name a local or WebSocket server rather than a specific product. They do not describe the reply shapes. They also do not say the fix covers every MCP transport.
If a tool call against a local or WebSocket server has sat idle after a bad reply, this is the line in 2.1.331 that addresses that wait.
v2.1.331 also lists plugin, dictation, tracing, Windows, and VS Code changes. Those sit in the same release notes, separate from the cloud Code Mode line.
Read the v2.1.331 notes on GitHub before you upgrade, and match the three items to your setup. If you use terminal sessions on Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, or Claude Platform on AWS, check Code Mode there after you install. Run claude doctor and read the new API connectivity section. If MCP calls to a local or WebSocket server have hung on malformed replies, confirm that behavior on this version.
Sources
- Claude Code v2.1.331 github.com