# Claude Code 2.1.330: your connector deny rule got narrower, and more rm commands now ask

Canonical: https://clawdocx.com/blog/claude-code-2-1-330-connector-deny-rm-asks
Author: Mira Castellan
Published: 2026-11-21
Updated: 2026-11-21

> Claude Code 2.1.330 narrows what a deniedMcpServers name entry blocks, makes more rm commands ask before they run, and carries 98 fixes.

Take Claude Code 2.1.330 for its fixes, but reread your MCP deny list before you deploy it. One `Changed` bullet narrows a `deniedMcpServers` entry that names a connector so it hides only that connector and no longer the others at the same URL, which is a deny rule getting smaller without anyone editing it. A second makes more `rm` commands ask for approval and refuses them outright where nobody can answer, which is a change for unattended runs rather than for people sitting at a terminal. Everything else is smaller than those two, and 98 of the release's 142 bullets are fixes.

Anthropic published 2.1.330 to npm on 20 November 2026 at 19:16 UTC, and the dated changelog feed timestamps the entry at 22:32 UTC the same evening.

## What changed about blocking a claude.ai connector?

This bullet, in the `Changed` list:

> Changed `deniedMcpServers` name entries to hide only the named claude.ai connector, not others at its URL; to block them all, deny its exact URL

`deniedMcpServers` is the denylist an administrator deploys to stop named MCP servers loading. The managed MCP documentation describes three kinds of entry, and the difference between them is the whole of this change:

| Entry key | What it matches | Robust to a rename? |
|---|---|---|
| `serverUrl` | "A remote server URL, exact or with `*` wildcards" | Yes |
| `serverCommand` | "The exact command and arguments that start a stdio server" | Yes |
| `serverName` | "The user-assigned label. Exact match only; wildcards are not expanded" | No |

The documentation is already blunt about the third row, in a warning that predates this release:

> A `serverName` entry, in either list, is not a security control. The name is the label a user assigns when running `claude mcp add` or editing a config file, not the underlying server, so a user can call any server `github`. For claude.ai connectors the name is the display name returned by claude.ai, which can change. To enforce which servers actually run, add `serverCommand` or `serverUrl` entries.

So the release has not introduced a weakness so much as removed the accident that was papering over a documented one. If you blocked a connector by display name and that was enough, it was enough because of behaviour this release changes. The documentation's own recommendation is the fix, and it names the case directly: "Prefer a `serverUrl` entry when you need the deny to be robust to renames, or when a connector name collides and gains a ` (N)` suffix."

Worth separating two things an administrator might have been relying on. A `serverName` deny still blocks the connector it names, so nothing you deployed has stopped working at face value. What it no longer does is take the connector's neighbours with it. Our notes on locking a deployment down are at [Security hardening](/docs/security-hardening), and the walkthrough for adding a connector in the first place is at [Add a custom MCP connector to Claude](/docs/mcp-add-custom-connector-to-claude).

## Why were there neighbours at one URL to begin with?

Because of a bug in the same release's `Fixed` list, which is the other half of the same thought:

> Fixed claude.ai connectors with different names being dropped when they share a server URL (anthropics/claude-code#101856)

Read the two bullets together and the mechanism is plain. Connectors that shared a server URL under different names were being dropped, so a name-keyed deny on one of them could look as though it had covered the set, when what had actually removed the others was the drop. This release keeps them, so they load, so the deny that names one of them hides one of them.

That is a behaviour change nobody configured and no warning announces at startup. It is also the reason to treat "my deny rule still has the same text" as the wrong question after this upgrade; the question is how many connectors now answer at that URL.

## Which rm commands now ask, and what happens unattended?

> Changed more `rm` commands aimed at the root, home, a top-level folder or the working folder to ask for approval; where nobody can answer, they're refused

The first half is a guard and reads like one. The second half is the operational change: a refusal is not a pause, and an unattended session has nobody to approve anything. A `claude -p` run, a scheduled task or a CI step that removes a build directory at the working folder's root can now be refused where it used to run.

The release also makes one related failure louder, in a way that matters for the same audience:

> Fixed `claude -p` exiting 0 with no message when its output went to a file on a full disk: it now prints an error and exits 1, though a full NFS export may go unnoticed

An exit 0 with no output is the worst possible result for an automated step, because every wrapper around it reads success. The carve-out is stated in the bullet itself and is worth keeping: a full NFS export "may go unnoticed", so the fix is not total.

## What is easel, and why might it say "blocked by enterprise policy"?

Two bullets, an `Added` and a `Fixed`, and they belong together:

> Added easel, a built-in mod that draws charts when asked and under MCP metrics results, on Pro, Max and, where available, Team and Enterprise on macOS and Linux; turn automatic charts off in `/config`

> Fixed an "MCP server blocked by enterprise policy: easel" warning showing at every start when an MCP allowlist or denylist excludes the built-in chart tool, which stays blocked

The second tells an administrator something the first does not: easel is evaluated against the same MCP allowlist and denylist as any other server. If your policy excludes it, it stays excluded, and what the release fixes is the warning repeating at every start rather than the exclusion itself.

The mods documentation lists it under the built-in mods as `cc-plugin-easel`, with a description that goes further than the changelog on what the automatic charts key off: it "draws a chart automatically under MCP results in a supported time-series format, such as a Prometheus range query result". It also gives a narrower way to turn that off than disabling the mod: "To stop only the automatic charts, turn off **Auto charts** in `/config`."

Here the two sources disagree, and the article follows the changelog on what shipped in this release while reporting both. The changelog lists easel as added in 2.1.330. The documentation's requirements section instead says `cc-plugin-easel` needs "Claude Code v2.1.321 or later. Team and Enterprise require v2.1.326 or later", which are floors nine and four releases earlier than the entry that announces it. The documentation also adds a platform detail the changelog leaves out, "macOS or Linux outside WSL", and a sign-in requirement of "a claude.ai subscription". If you are working out whether a given machine has easel, the documentation's floors and the `/plugin` **Built-in** tab are the more useful test; if you are working out what changed yesterday, the changelog is.

One more line from that page is worth an administrator's attention, because it is easy to assume otherwise: "The settings and flags that stop installed mods, such as `disableAllHooks`, `--bare`, and `--safe-mode`, don't stop built-in mods."

## What did 2.1.330 take back from 2.1.329?

One bullet, and it is the only `Reverted` in the entry:

> Reverted 2.1.329's removal of the automatic retry when `max_tokens` exceeds a model's or gateway's limit

We listed that removal yesterday as one of the changes in [Claude Code 2.1.329](/blog/claude-code-2-1-329-code-mode-hooks) most likely to break a working setup, for anyone behind a gateway whose model accepts fewer output tokens than Claude Code asks for. It lasted one release. The retry is back, so the workaround that release called for, setting `CLAUDE_CODE_MAX_OUTPUT_TOKENS` to the gateway's limit, is no longer the only thing standing between you and a failed request.

Setting it is still the more predictable configuration, and nothing in this entry says the retry will stay. A behaviour that has been removed and restored inside two days is a thin thing to build on.

## Which fixes make this worth taking?

Four of the 98 `Fixed` bullets close ways the tool could lose work, which is the category that has made the last several releases worth taking:

- `ExitWorktree` and the worktree exit dialog were "deleting a worktree that another running Claude Code session was working in". Two sessions, one of them tidying up, and the other one's checkout goes.
- Changes to user settings were "being lost when several Claude Code processes saved them at the same time". If you run more than one session, this one has been quietly costing you settings.
- Incomplete backups of `~/.claude.json` were "being kept, and displacing good ones, when the disk was full", which is a backup that destroys the thing it is backing up, on the day you most need it.
- `/rewind` was "sometimes restoring an older version of a file when two queued prompts, or stacked skills, ran together right after a turn that changed it". A rewind that restores the wrong version is worse than one that fails.

Two more are worth knowing if you have been blaming your machine. Claude Code was "freezing for up to several minutes right after compacting a very long conversation", and WebFetch was "freezing the session for minutes on some pages, and returning an empty result for some others". On Linux, Bash commands were "waiting seconds and showing no file diff for the rest of a session in slow repositories with large ignored folders such as `node_modules`".

## What is in the release, by the numbers?

The entry carries 142 bullets. Counting them by their leading verb, after setting aside any platform or component label such as `[VSCode]` or `Self-hosted runner:`, gives the shape:

| Leading verb | Bullets |
|---|---|
| Fixed | 98 |
| Added | 16 |
| Improved | 14 |
| Changed | 13 |
| Reverted | 1 |

Twenty-eight of the 142 are prefixed `[VSCode]`, 21 of them fixes, and 22 mention self-hosted runners, so a terminal-only setup on managed infrastructure is reading a smaller release than the total suggests. For the run of releases this sits in, 2.1.329 carried 130 bullets, 2.1.328 carried 144, 2.1.327 carried 173 and 2.1.326 carried 367.

No bullet in the entry names a security issue, a CVE or an advisory, and the words "security", "CVE", "advisory" and "vulnerability" do not appear in it at all. As with [2.1.328](/blog/claude-code-2-1-328-auto-mode-bedrock-hooks), that is a statement about labels rather than about substance: the deny-list change at the top of this page is a security change by any ordinary reading, and nothing marks it as one.

## What else can break a working setup?

Six changes outside the MCP and `rm` sections can change behaviour you depend on:

| Change | What the changelog says | Who should check |
|---|---|---|
| Scheduled tasks run longer, but not the old ones | "Changed recurring scheduled tasks and `/loop` to run up to 30 days instead of 7 while their session keeps running, and say when they end; tasks made before this release still end at 7 days" | Anyone relying on a long-running schedule saved before the upgrade |
| `claude --teleport` may stop switching branch | "Changed `claude --teleport` in some setups to print the git commands for switching branch instead of running them; with `-p` it exits 1 until you switch" | Anyone scripting `--teleport`, especially with `-p` |
| Unrecognized model names get the short prompt | "Changed unrecognized model names containing "sonnet" or "haiku" to use the shorter system prompt, like other unrecognized names; `CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0` gives every model the full one" | Anyone pointing Claude Code at a gateway model whose name Claude Code does not know |
| Bash transcripts may lack the file diff | "Self-hosted runner: Changed Bash commands to skip the file diff when nothing needs it, so transcripts can lack it; set `bashEditDiffEnabled` to true in managed settings to get every diff" | Anyone whose audit trail assumes a diff on every Bash command |
| `spawn-runner` hooks now overlap | "Self-hosted runner: Changed `spawn-runner` hooks to start while earlier ones still run, up to `--hook-concurrency` per orchestrator (4 by default); set it to 1 if yours can't run beside another" | Operators whose spawn hook is not safe to run concurrently |
| A checkout hook exit code is now final | "Changed self-hosted runners to stop a session's start at once, without trying other runners, when a checkout hook exits with status 108" | Operators using exit 108 for anything other than a permanent failure |

The audit-trail row is the one most likely to be noticed late. A transcript that is missing a diff looks like a transcript, not like a setting, and `bashEditDiffEnabled` has to be set in managed settings to get the old behaviour back.

## How do you get it?

Check the dist-tag before the version number. As of 21 November 2026 both `latest` and `next` point at 2.1.330, so a plain `npm install` gets this release. The `stable` tag points at 2.1.323, published on 12 November 2026, with seven versions published since, so an install pinned to `stable` picks up neither the deny-list change nor the `rm` change above.

If you pin to `stable` deliberately, this release is a reason to confirm that is still the decision you meant to make, because the deny rule you audited and the deny rule you are running are now two different rules on either side of that pin. The previous release is covered at [Claude Code 2.1.329](/blog/claude-code-2-1-329-code-mode-hooks), whose hook change points the same way, and the platform notes at [Claude Code](/ai-agents/claude-code) track the current release line.

## Frequently asked questions

**Should I upgrade to Claude Code 2.1.330?**

Yes, and the reason is the fixes. Of the 142 bullets in the entry, 98 begin with Fixed, including one where exiting a worktree deleted a worktree another running session was working in, and one where user settings were lost when two processes saved them at once. Check two Changed bullets first: one narrows what a deniedMcpServers name entry blocks, and one makes more rm commands ask for approval and refuse where nobody can answer.

**Does my deniedMcpServers entry still block every connector at that URL?**

Not if the entry names the connector. The changelog reads: Changed deniedMcpServers name entries to hide only the named claude.ai connector, not others at its URL; to block them all, deny its exact URL. So a serverName deny now covers one display name rather than every connector pointing at the same server, and the documented fix is a serverUrl entry. The managed MCP documentation already warned that a serverName entry in either list is not a security control.

**Why does Claude Code now ask before running rm?**

Because the release widened which rm commands need approval. The entry reads: Changed more rm commands aimed at the root, home, a top-level folder or the working folder to ask for approval; where nobody can answer, they're refused. The second half is the part to plan for: in an unattended run with nobody to answer the prompt, such a command is refused rather than queued, so a cleanup step that used to pass can now fail.

**Does Claude Code 2.1.330 name a security fix?**

No bullet in the entry names a security issue, a CVE or an advisory, and the words security, CVE, advisory and vulnerability do not appear in it at all. That is narrower than it sounds. The deniedMcpServers change narrows an existing deny rule, more rm commands now need approval, and a fix stops connectors that share one URL being dropped, so the security-relevant changes in this release are the ones not labelled as such.

**What is cc-plugin-easel, and do I have it?**

It is a built-in mod that gives Claude a chart-drawing tool and charts MCP results in a supported time-series format automatically. The changelog lists it as added in 2.1.330 on Pro, Max and, where available, Team and Enterprise on macOS and Linux. The mods documentation gives different version floors, v2.1.321 or later and v2.1.326 or later for Team and Enterprise, and adds that the platform requirement is macOS or Linux outside WSL. Run /plugin and look under Built-in to see whether your session has it.

**Will npm install give me Claude Code 2.1.330?**

It will if you follow the latest tag. As of 21 November 2026 both latest and next point at 2.1.330, so a plain npm install gets this release. The stable tag points at 2.1.323, published on 12 November 2026, with seven versions published since, so an install pinned to stable picks up none of the changes described here.

## Sources

- [Claude Code CHANGELOG](https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md)
- [Claude Code changelog feed (dated entries)](https://raw.githubusercontent.com/anthropics/claude-code/main/feed.xml)
- [Manage MCP servers for your organization (Claude Code docs)](https://code.claude.com/docs/en/managed-mcp)
- [Mods overview (Claude Code docs)](https://code.claude.com/docs/en/plugins/mods)
- [npm registry metadata for @anthropic-ai/claude-code](https://registry.npmjs.org/@anthropic-ai/claude-code)