# Claude Code v2.1.307 fixes MCP, caching, and session bugs

> Original title: v2.1.307

- Source: Claude Code · GitHub Releases
- Published: 2026-10-21T22:17:02.000Z
- Bad Influence: https://badinfluence.news/items/t89bp1x9koz6489953tizdk14
- Original: https://github.com/anthropics/claude-code/releases/tag/v2.1.307

## Summary

Anthropic releases Claude Code v2.1.307, adding a claude_code.safety_event OpenTelemetry event for each tool call stopped, prompted, or sent back by a permission rule, auto mode, safety check, hook, or sandbox. The release also fixes MCP server authentication and timeout problems on macOS and Linux, duplicate HTTP MCP tool calls, and cases where /clear conversations returned after a runner restart. Self-hosted runner checkout hooks now stop after 30 minutes by default, unless the timeout is raised.
