Claude Code v2.1.335 Update: Remote MCP Connections and Enhanced Terminal Experience

Claude Code v2.1.335 focuses on terminal completion, remote MCP, audit tools, and cross-platform fixes.
Claude Code released v2.1.335, positioned as a "pain-point cleanup" iteration rather than feature stacking. Core changes include: paid users can connect directly to remote MCP servers from the terminal via `claude mcp add --web`; plugin and skill loading supports cloud sessions, a new `Interrupt` hook event, and marking of organization-mandated plugins; terminal interaction adds Tab completion for commands like `/model` and `/mcp`, clicking file paths in fullscreen mode opens and locates them beside the chat, and Linux desktop adds a `/desktop` entry point. For auditing, a new `/claude-api harness-audit` identifies scaffolding code written for older models and suggests diffs. On security, computer use approval validity is tightened, and organizations can forcibly disable local MCP servers. There are also numerous fixes covering Windows, macOS, and session data consistency.
Claude Code has released version v2.1.335, an update focused on terminal workflows, remote MCP connections, cross-platform experience, and a large batch of detail fixes. For developers who use Claude Code daily, this is a "pain-point cleanup" style iteration.

MCP and Plugin Ecosystem: More Direct Remote Connections
New: claude mcp add --web
Paid plan users can now add remote MCP servers directly from the terminal as claude.ai connectors. This means MCP integration is no longer limited to local configuration—remote services can enter Claude's working context more smoothly.
MCP (Model Context Protocol) is an open protocol standard that Anthropic open-sourced in late 2024, designed to let AI models access external tools, data sources, and services in a unified way. You can think of it as a "USB-C interface between the model and the outside world": the server side exposes capabilities (such as reading/writing files, querying databases, calling APIs), while the client (here, Claude Code) discovers and invokes those capabilities. Initially, MCP primarily ran as local processes (stdio), and later expanded to remote transport methods based on HTTP/SSE. Remote MCP servers are usually hosted in the cloud or on a team's internal network and require OAuth or token authentication, so connecting remote services to Claude Code has always been more cumbersome than local configuration. The point of the --web subcommand is to eliminate the steps of manually editing configuration files and pasting URLs and credentials, allowing paid users to register a remote connector in one step from the terminal.
Plugin and Skill Loading
- Cloud sessions now support loading plugins and mods from
.claude/skillsin the repository. - A new
Interrupthook event has been added, triggered when a turn of conversation is interrupted, and it indicates whether the interruption was caused by a human, another session, or the system. - The
session.stopmod event now includessourceandviafields to record who sent the stop signal and how it arrived. - Organization-mandated plugins are marked in
claude plugin list --jsonviarequiredByOrganization.
What these changes have in common is that the plugin system is evolving from a "local toy" into "manageable, auditable team capability."
Hooks are scripts or commands in Claude Code that are automatically triggered at specific lifecycle points. Common events include before and after tool calls, session start and end, and so on. Developers can use them for formatting, auditing, notifications, or permission interception. The newly added Interrupt event fills the gap around "a conversation being interrupted midway": previously, interruption was only an implicit state change that scripts could not perceive; now hooks can receive the interruption source (manual keypress, another session taking over, or a system reason), enabling more granular cleanup and logging logic. In line with this, the session.stop event now includes source and via fields—the same idea of turning "who triggered the state change and in what way" into structured data. Mods are a lighter-weight type of extension in the plugin system, intervening in session behavior through event subscriptions. Completing this kind of metadata is a necessary condition for plugins to move from personal scripts to observable team infrastructure.
Terminal Interaction: Tab Completion and File Peeking
This update strengthens quite a bit of in-terminal interaction.
Tab Completion Covers More Commands
/model, /effort, /mcp, /advisor, /tui, /color, as well as the /plugin and /config menus, now support Tab completion. One easily overlooked detail: in these menus, Enter executes what you have typed unless you use the arrow keys to move to a specific row. This will change the muscle memory of some users.
File Peeking in Fullscreen Mode
In fullscreen mode outside VS Code, if the current directory is a git repository and the window width is at least 110 columns, clicking a file path in a reply or tool line opens that file next to the chat and jumps to the specified line. For developers used to reviewing code in the terminal, this reduces the cost of switching windows back and forth.
Linux Desktop Support
Linux desktop now adds /desktop and claude --desktop, filling in the desktop entry point for Linux users.
API Audit Tools: Harness Code Written for Older Models Can Be Identified
A new /claude-api harness-audit has been added to find agent harness code written for older models, including loop limits, subagents, context management, injected reminders, and session startup code, and to propose fixes in the form of diffs.
At the same time, /claude-api prompt-audit has been improved. It now flags overly broad "ask before acting" rules, always-delegate instructions, and phrases like "treat the previous answer as complete," while preserving the early-stop guidance the model needs.
The practical value of these tools is that after model capabilities iterate, scaffolding written around older models often becomes a burden, and manual review is very costly.
Harness (scaffolding/carrier layer) refers to the entire set of invocation logic written around a model API, including the system prompt, tool definitions, retry and loop limits, subagent orchestration, context compression and summarization, session initialization, and so on. It does not change model weights, yet it greatly affects an agent's actual performance. The problem is that harnesses often compensate for the capability gaps of a particular model generation: early models tended to loop infinitely, so hard iteration limits were added; they forgot context easily, so reminders were injected; they were bad at autonomous planning, so they were written as step-by-step confirmation with "ask before acting." When the model generation changes, these compensations turn from "guardrails" into "shackles," reducing efficiency or even blocking reasonable operations. Manually reviewing this kind of legacy code requires comparing intent file by file, which is extremely costly, so an audit tool that automatically proposes fixes as diffs has real engineering value.
Batch Fixes for Cross-Platform and Stability
Fix items make up the largest share of the changelog, covering multiple platforms.
On Windows, fixes include long Bash commands being truncated when reaching Git Bash (under Pro and Max plans they now arrive intact, or are rejected with a prompt), Claude in Chrome failing to connect when the path contains non-ASCII characters, and the /setup-vertex wizard failing to find service account keys in the form ~\keys\key.json.
On macOS, fixes include zsh background jobs in the sandbox repeatedly printing nice(5) failed: operation not permitted, sandboxed git failing against HTTPS hosts when the NODE_EXTRA_CA_CERTS certificate contains blank lines, and computer use still refusing "retry" after accessibility permissions are granted.
On session and data consistency, fixes include ~/.claude.json being replaced by default settings on disk I/O errors or timeouts, /import corrupting an existing CLAUDE.md with non-UTF-8 encoding, and /diff losing blank lines and showing incorrect line numbers when diff.suppressBlankEmpty is enabled.
Tighter Security and Permission Policies
Approval rules for computer use have been adjusted: approval ends after 2 consecutive hours of non-use (30 minutes for clipboard and system shortcuts), and approvals are valid for at most 24 hours after being granted. Computer use on macOS has updated security rules, with more operations being denied and more apps receiving less access.
In organizations managed by the Anthropic enterprise admin console, when "allow local MCP servers" is turned off, Claude Code stops local MCP servers unless they are explicitly listed in the administrator allowlist.
"Computer use" is an agent capability that lets models understand the screen through screenshots and then operate applications by simulating mouse and keyboard actions. Typical scenarios include filling out forms and moving data across applications. Because it directly operates the user's real desktop and accounts, the permission model is central to its security design. The approval validity period is essentially "authorize once, reuse for a limited time": authorizing for too long amplifies the risk of misoperations and prompt injection, while too short frequently interrupts workflows. Therefore, highly sensitive, low-risk operations such as clipboard and system shortcuts are set to 30 minutes, while other operations expire after 2 hours of idleness and are valid for at most 24 hours after approval. The local MCP control for enterprise organizations is a trade-off between "capability openness" and "data boundaries": after an administrator turns off local MCP, any local server not on the allowlist is forcibly stopped, preventing employees from bypassing enterprise data loss prevention policies and handing sensitive information to local tools for processing.
Summary
v2.1.335 is not a release that sells itself on new features, but a systematic polish around terminal workflows, MCP integration, audit tools, and cross-platform stability. For heavy users, changes like Tab completion, file peeking, and harness auditing will directly change daily workflows; for team administrators, adjustments to plugin status, permission approvals, and MCP control deserve more attention.
Judging from the release cadence, Claude Code is gradually filling in every link of the "agent development toolchain" rather than merely stacking model capabilities.
Related articles

Jensen Huang Testifies Before Congress: Key Takeaways on Chip Export Controls
NVIDIA CEO Jensen Huang faces questioning from the U.S. House Foreign Affairs Committee on AI chip export controls, commercial interests, and national security.

Tencent WorkBuddy in Practice: Building an AI Automated Testing Workbench with SKILL Capabilities
Based on Bilibili creator Baili Yang's sharing, this article analyzes how Tencent WorkBuddy AI agent desktop workbench can be used for automated testing: the shift from AI-assisted to AI-led, the relationship among large models, agents, and SKILL capabilities, zero-configuration installation and permission control, and practical ideas for building a personal AI automated testing workbench.

Adding Authentication to Remix SaaS Apps: A Practical Guide to WorkOS AuthKit
Based on the official WorkOS AuthKit guide, this article covers the full approach to integrating authentication in Remix or React Router SaaS apps, including session management, protected routes, multi-tenant organizations, enterprise SSO, and SCIM sync, and analyzes its engineering value for SaaS teams.