DEV Community

Sh Raj
Sh Raj

Posted on

Claude Code 2.1.332: Your MCP Servers Can Now Ship Skills — and Your Hooks Can Say No

Claude Code shipped version 2.1.332 on 24 November 2026, and the headline feature is one that changes how coding agents get their instructions: skills from MCP servers, in beta. An MCP server can now publish skills alongside its tools, so Claude Code knows how to use the server properly without you installing a separate skill. Sitting right next to it in the same release is a new hook event, PreSkillShellCommand, that can refuse a skill's inline shell commands as the skill loads. One release, two halves of the same story: agents are getting more capable and more governable at the same time.

This is the release to update to if you run Claude Code daily — and if you build MCP servers, it's the release that changes what your server is allowed to ship.

What actually shipped in 2.1.332

The release notes (published 24–25 November 2026) list these headline changes:

  • Skills from MCP servers (beta). Server-provided skills show up as server:skill in the / menu. Your locally installed skills keep their plain names, so you can tell at a glance where a skill came from.
  • A new PreSkillShellCommand hook event. It can refuse a skill or command's inline shell commands as the skill loads. On 2.1.331 and older, a settings file naming this hook opens a dialog at startup instead of applying it.
  • Held messages from other sessions now include an "Always deliver" option in their prompt.
  • A footer line that stays visible while a flagged message has your session on a different model, until you pick one with /model.
  • OpenTelemetry assistant_response events for text Claude sends through SendUserMessage or Cowork's message tool, when response logging is turned on.
  • A stability wave of freeze fixes: terminal freezes when a local MCP server floods stdout, freezes from permission rules with several wildcards checked against long commands, runaway memory use from hooks that print without end, and context overflow when a hook blocks or fails mid-turn with a very large log (text over about 50,000 characters is now shortened).
  • Model routing fixes for cloud providers: the sonnet alias on Microsoft Foundry and Google Cloud's Agent Platform now points to Sonnet 5.5, and fallback behaviour when a model family is blocked by an admin's list is more predictable — sessions step down to the next allowed version in the same family instead of leaving it.

The freeze fixes matter more than they look. If you've ever had Claude Code ignore Ctrl+C while a local MCP server spewed stdout, or watched a session die because a hook printed forever, this is the release that addresses exactly that. Stability releases are boring until they're the reason your 45-minute agent session survives.

Skills over MCP: why this is a bigger deal than it sounds

Until now, MCP servers and skills lived in two separate worlds. An MCP server gave Claude Code tools — functions it could call. Skills gave Claude Code procedures — the step-by-step knowledge of how to use those tools well, written as SKILL.md files you installed separately. The server knew what it could do; the skill knew how it should be done. Keeping the two in sync was your job.

Skills over MCP collapses that gap. Anthropic's product post on the same feature explains the idea plainly: an MCP server can publish skills alongside its tools, so Claude can take on longer, multi-step work without a separate skill install. The server ships both the capability and the instructions for using it well.

The feature is in public beta in Claude and Claude Code. It is on by default for Pro, Max, and Ultra plans, available to Team plans once an admin enables it, and listed as coming soon for Enterprise. Shopify, HubSpot, and Atlassian are named as servers already using the pattern, with Carta coming soon for drafting and issuing equity from an uploaded document. Tasks and Elicitation went generally available in the same announcement, for Pro, Max, and Ultra, rolling out to Team and Enterprise.

What it looks like in practice

Open the / menu after updating and you'll see entries like server:skill — the server: prefix is the namespacing that keeps a server's skill distinct from one you installed locally. That prefix is doing quiet, important work: when something goes wrong, you can see immediately whether the instruction came from your machine or from a remote server. In a world where skills can now arrive over the network, provenance is a feature, not a nicety.

For teams, the implication is straightforward. If you maintain an internal MCP server — say, one that wraps your deployment pipeline, your feature-flag system, or your incident runbooks — you can now ship the workflow with the tools. New engineers (and new agent sessions) get the approved way of doing things the moment they connect the server, instead of discovering it three incidents later.

The other half: PreSkillShellCommand and the security of skills

Here's the tension the release is quietly addressing: skills are executable instructions, and skills from MCP servers arrive from somewhere else. A skill's SKILL.md can include inline shell commands that run as the skill loads. That's powerful — it's how a skill sets up its environment — and it's also exactly the kind of thing you want a gate on.

The new PreSkillShellCommand hook event is that gate. It fires as a skill loads and can refuse the skill's (or a command's) inline shell commands. Think of it as the PreToolUse hook's younger sibling, scoped specifically to the moment a skill tries to run shell code.

If you run Claude Code in any shared or semi-trusted context — a team machine, a repo you just cloned, an MCP server you didn't write — this hook belongs in your settings. The pattern is the same one Claude Code already uses for hooks: match the event, decide allow or deny, and log the decision.

{
  "hooks": {
    "PreSkillShellCommand": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "node ~/.claude/hooks/skill-shell-guard.mjs"
          }
        ]
      }
    ]
  }
}
Enter fullscreen mode Exit fullscreen mode

The guard script itself can be as simple or as strict as your threat model demands — deny network-touching commands from skills you didn't author, allow read-only setup steps, and ask a human for anything else. The point is that the decision point now exists. Before 2.1.332, it didn't.

One compatibility note from the release notes: on 2.1.331 and older, a settings file that names this hook opens a dialog at startup. So update first, then add the hook — otherwise you'll be clicking through a dialog explaining that your settings mention something your version doesn't know yet.

What a server-shipped skill looks like

If you build MCP servers, the shape of a skill hasn't changed — it's still a SKILL.md file with frontmatter declaring its name and description, followed by the procedural instructions. What changed is distribution: the skill travels with the server instead of living in a separate install step. A minimal example:

---
name: deploy-checklist
description: "Pre-flight checks before deploying the staging service. Use when the user asks to deploy, ship, or release staging."
---

# Deploy Checklist

1. Confirm the target environment is `staging` — never production.
2. Run the test suite and require a green result before proceeding.
3. Check the migration diff; if it drops a column, stop and ask.
4. Deploy, then verify the health endpoint returns 200 within 60 seconds.
Enter fullscreen mode Exit fullscreen mode

The description line is the trigger — it's what Claude reads when deciding whether the skill applies. Write it like a routing rule, not a tagline: when to use it, not just what it is.

On the server side, the configuration you already use to connect an MCP server doesn't change shape — a .mcp.json entry still declares the transport and command:

{
  "mcpServers": {
    "deploy-tools": {
      "type": "stdio",
      "command": "node",
      "args": ["./servers/deploy-tools/dist/index.js"]
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

The difference is what comes back over that connection: tools and skills, discovered together.

Why I'm paying attention: the MCP ecosystem is becoming the distribution layer

I build in this space — MCP Pure, a hub for high-performance MCP servers, and GitHub MCP Plus on the VS Code Marketplace and npm — so I have a front-row seat to how fast the MCP layer is moving. The pattern of the last few months is unmistakable: first tools, then skills, then the servers that bundle both. Claude Code 2.1.332 is the moment the official client caught up with where the ecosystem was already heading.

Three things to watch from here:

  1. Skill quality becomes a competitive axis for MCP servers. When two servers offer the same tools, the one whose skill teaches Claude to use them well wins. Expect server READMEs to start advertising their skills the way they used to advertise their tool lists.
  2. Trust and provenance tooling follows. The server:skill prefix is step one. Expect more: signed skills, allow-lists per server, and team policies that say "skills from these servers are auto-approved, everything else asks first." The PreSkillShellCommand hook is the first building block of that policy layer.
  3. The freeze fixes unblock bigger servers. A local MCP server flooding stdout used to freeze the terminal. As servers get richer — more tools, more skills, more chatter — that failure mode would only have gotten worse. Fixing it now is what makes the skills-over-MCP bet shippable.

Should you update?

Yes — and it's a two-minute job. Update to 2.1.332, open the / menu, and check whether any connected server is already shipping skills. If you use Claude Code on Foundry, note the sonnet alias now resolves to Sonnet 5.5, so check that your available-models list actually includes it (on Bedrock Mantle, the alias resolves to Sonnet 5, not 5.5 — an account without Sonnet 5 gets an error, so enable it first).

Then do the security homework: if you connect MCP servers you didn't write, add a PreSkillShellCommand hook before you need it, not after a skill runs something you didn't expect. The release gives you both the capability and the control in the same breath. Use both.

Sources

What's the first skill you'd want your team's MCP server to ship — and would you auto-approve it, or gate it behind a hook?


Thanks for reading! I'm Shaswat Raj — I build CampusLoop, IndexFast, SopKit and open-source dev tools.
GitHub: https://github.com/playlikeboy/ · LinkedIn: https://www.linkedin.com/in/sh20raj/ · YouTube: https://youtube.com/@stackshade

Top comments (0)