AI Agent News/stories/claude-code-v2-1-332-adds-skills-from-mcp-servers-and-a-skill-shell-hook.md

Frameworks

Claude Code v2.1.332 adds skills from MCP servers and a skill shell hook

Anthropic has released Claude Code v2.1.332, which adds beta support for skills served by MCP servers and a new hook that can block a skill's inline shell commands. The release also fixes a range of freezes and hangs and changes which Sonnet and Opus versions several cloud providers and aliases resolve to.

Source: github.com/anthropics/claude-code/releases/tag/v2.1.332

Skills from MCP servers are now available in beta and appear in the slash menu as server:skill, while other skills keep their existing names. A new PreSkillShellCommand hook event can refuse a skill or command's inline shell commands as it loads, and on older versions a settings file naming it opens a dialog at start.

The release fixes several freezes, including hooks that print output without end, local MCP servers that flood standard output, and SSE MCP servers that stopped answering tool calls after their event stream was cut. The claude auth login command now exits with status 1 and an explanation when a claude.ai login cannot be saved.

Model defaults change on several providers. The sonnet alias on Google Cloud's Agent Platform and Microsoft Foundry now points to Sonnet 5.5, and on Bedrock Mantle it means Sonnet 5. Microsoft Foundry now treats Sonnet 4, Opus 4 and Opus 4.1 as retired.

Why it matters if you build agents

Agents that rely on MCP server skills can now invoke them under server-prefixed names, and the new hook lets a team block shell commands inside a skill before it loads.

Code that pins the sonnet alias on Bedrock Mantle, Google Cloud's Agent Platform or Foundry will now get different models, so check pinned versions and deployments before upgrading.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe