Claude Code v2.1.306 fixes two bugs in cloud sessions and MCP-heavy sessions
AIAnthropic's Claude Code v2.1.306 release fixes claude -p reporting "Not logged in" in cloud sessions started without the session's environment variables. It also fixes an API error being replaced by "prompt is too long" and an unneeded compaction in sessions with many MCP tools.
Source details
Claude Code · GitHub Releases · ashwin-ant · github.comPublished · added here
Original title: v2.1.306