New Claude Code command adds remote MCP server as claude.ai connector
Anthropic added the command in Claude Code 2.1.335; it works only on paid plans. The release also added an Interrupt hook that reports whether a person, another session or the system interrupted a turn.
Anthropic released version 2.1.335 of Claude Code on GitHub on 3 December. Claude Code is Anthropic’s coding agent, used in the terminal, in VS Code and in the desktop app. A new command, claude mcp add --web, adds a remote server as a claude.ai connector, the changelog says. The command is available only on paid plans.
MCP is an open standard that connects Claude Code to external tools and data sources such as a ticketing system or a database. The standard claude mcp add command saves a server to Claude Code’s own settings and, by default, makes it available only to the user in the current project.
In cloud sessions, Claude Code’s MCP documentation says, servers from a .mcp.json file or a plugin get no MCP tasks, the long-running jobs that run on the server. The documentation advises adding a remote server as a connector instead. Even a connector gets tasks only if the server supports them in version 2026-07-28 of the MCP protocol.
The second MCP change affects organisations managed in Anthropic’s Enterprise Admin Console. If ‘Allow local MCP servers’ is off, Claude Code now stops local MCP servers unless an admin has named them on an allowlist. In the terminal, /mcp enable and /mcp disable without a server name now open the MCP screen, and typing all changes every server.
Administrators of self-hosted runners need to act. If a runner’s --git-ssh-rewrite lists only ssh.bitbucket.org and altssh.bitbucket.org, administrators must update the runner before users’ Claude Code updates. Otherwise the runner clones repositories over https. The --git-ssh-rewrite ssh.bitbucket.org setting now also covers bitbucket.org sources, so the key needs access to them too.
Other changes include dozens of fixes and an Interrupt hook, which fires when a turn is interrupted and reports whether a person, another session or the system interrupted it. In addition, /claude-api harness-audit looks for harness code, the program code that steers an agent, written for older models.
The AGI Hunt site relays a claim by X user lyraxana that the version shows signs of a 2-million-token context window. The official changelog does not mention this, so the claim is unconfirmed.
Read more: How an agent works · Agent map