News · Anthropic · 2 min read
Event date: · Published:
Claude Code v2.1.335 adds terminal MCP setup, tightens computer-use safety
Anthropic's December 3, 2026 release lets developers add remote MCP connectors from the terminal and tightens macOS computer-use safety rules and approval expiry.
Anthropic released Claude Code v2.1.335 on December 3, 2026, giving developers a terminal based way to set up remote MCP connectors and tightening the safety rules around computer use on macOS. Details are in the Claude Code v2.1.335 release notes.
What changed in v2.1.335
claude mcp add --weblets paid-plan users add remote MCP servers as claude.ai connectors directly from the terminal.- Tab completion now works for
/model,/effort,/mcp,/advisor,/tui, and/colorcommand arguments. - Linux desktop support arrives via new
/desktopandclaude --desktopcommands. - A new
/claude-api harness-auditcommand finds and fixes agent harness code written for older models. - macOS computer-use safety rules are tighter, with more actions refused, and approval expiry now follows 2 hours of inactivity (30 minutes for clipboard or system shortcuts) with a 24-hour maximum.
- MCP OAuth token lifecycle management improves, using short-lived tokens for half their lifetime before refreshing, alongside 76 bug fixes across the CLI, VS Code extension, and desktop app.
What it means for people building with AI
Claude Code is one of the most widely used AI coding agents, so changes to how it handles automation carry weight. The tighter computer-use guardrails mean more actions get refused outright, and approvals now lapse after 2 hours of inactivity (30 minutes for clipboard or system shortcuts), with a 24-hour hard limit, so agentic sessions need more frequent re-approval. The new claude mcp add --web command gives builders a faster terminal path for wiring up remote MCP servers as claude.ai connectors, directly affecting how teams configure and trust agentic workflows.
Availability
The claude mcp add --web connector setup is available only on paid plans. Linux desktop support is new, reachable through the /desktop command or claude --desktop, alongside the existing macOS computer-use features. The release also carries 76 bug fixes spread across the CLI, VS Code extension, and desktop app.
Sources
- Claude Code v2.1.335 (Anthropic, December 3, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.