Anthropic · 2026-12-03 · notable
Claude Code 2.1.335 — add claude.ai connectors from the terminal, Linux desktop
Claude Code 2.1.335 adds claude mcp add --web to register a remote MCP server as a claude.ai connector, /desktop on Linux, click-to-view files, an Interrupt hook event and a /claude-api harness-audit command.
Claude Code 2.1.335 turns remote MCP servers into claude.ai connectors and brings the desktop app to Linux.
What is it?
A new `claude mcp add --web` command in Claude Code 2.1.335 adds a remote MCP server as a claude.ai connector straight from the terminal, on paid plans. Linux desktops also get `/desktop` and `claude --desktop`, and in fullscreen a click on a file path in a reply opens that file beside the chat at the named line.
How does it work?
Hooks gain an `Interrupt` event that fires when a turn is stopped and says whether a person, another session or the system did it; mods can now call `on()` inside `session.start`. A new `/claude-api harness-audit` command looks for agent harness code written for older models, such as loop limits or injected reminders, and proposes fixes as a diff. Tab completion now covers `/model`, `/effort`, `/mcp` and other command arguments.
Why does it matter?
Teams can share an MCP server with claude.ai users without leaving the CLI, and Linux users get the same desktop hand-off as macOS and Windows. The release also fixes a long list of bugs, including `~/.claude.json` being reset after a disk timeout and worktree agents failing with "failed to read commondir".
Who is it for?
Claude Code users, plugin and mod authors, Linux developers
Try it
npm i -g @anthropic-ai/[email protected]