Source · release

Claude Code release 2.1.335

Author
Anthropic
Published
3 December 2026
Added
3 December 2026
Original
https://github.com/anthropics/claude-code/releases/tag/v2.1.335

Summary

Claude Code 2.1.335 (released 2026-12-03, 00:17 UTC) lets you add a remote MCP server as a claude.ai connector from the terminal, opens file paths beside the chat when you click them, and adds an Interrupt hook event. It also adds a /claude-api harness-audit command that looks for agent code written for older models. This note was read from the GitHub release page; the CHANGELOG.md page did not render for automated reads.

Key points

  • Remote MCP as a connector: claude mcp add --web <name> <url> registers a remote MCP server as a claude.ai connector (paid plans). It is then available wherever you use Claude with that account, not only in this terminal.
  • Click to view files: in fullscreen mode outside VS Code, inside a git repo, with a window at least 110 columns wide, clicking a file path in a reply or tool row opens the file beside the chat at that line.
  • /claude-api harness-audit: scans agent harness code written for older models and proposes fixes as a diff. Useful after the API version 2026-10-21 changes.
  • Interrupt hook event: fires when a turn is stopped and says whether a person, another session, or the system stopped it. Use it to log or clean up after aborted runs.
  • Smaller additions:
    • Tab completion for the arguments of /model, /effort, /mcp, /advisor, /tui, and /color.
    • /desktop and claude --desktop on Linux.
    • claude plugin list --json adds requiredByOrganization; /access shows your claude.ai verification programs.
    • Windows managed setting disableWindowsBashCommandSplit (Pro and Max).
  • Admin change: in organizations managed in the Enterprise Admin Console, local MCP servers now stop when "Allow local MCP servers" is off, unless an admin allowlist names them.

Why it matters

--web closes the gap between MCP servers set up locally and connectors on claude.ai: one command makes a server available in every Claude surface. The Interrupt hook and the harness audit are small but practical for people who run Claude Code unattended or maintain their own agents.