Skip to content
Back

AnthropicClaude Code

Claude Code 2.1.306

2 fixes

AI summary

Written by AI from the official notes. Check them for exact details.

Claude Code 2.1.306 includes two bug fixes for improved functionality.

  • Fixed login issue with claude -p in cloud sessions
  • Resolved API error misreporting in MCP tool sessions

Why it matters: Users of Claude should update to avoid these bugs affecting their sessions.

Full release notes2 changes

What's changed

  • Fixed claude -p inside cloud sessions reporting "Not logged in" when started without the session's environment variables
  • Fixed an API error being replaced by "prompt is too long", and an unneeded compaction, in sessions with many MCP tools