Checked claim ·
Claude Code v2.1.328 adds "onFailure": "block" for mcp_tool hooks, so a hook call that fails blocks the action.
What happened since
Not re-checked yet.
Re-check due December 3, 2026.
The claim
Docs-verifiedtool
Claude Code v2.1.328 adds "onFailure": "block" for mcp_tool hooks, so a hook call that fails blocks the action. It also adds CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME and fixes zsh commands that break at words starting with '='.
- How we checked
- official release notes read; no sandbox test
- Why it matters
- MCP-based safety hooks can now fail closed instead of silently letting the action through.
- A suggestion to try
- After updating, add "onFailure": "block" to any mcp_tool hook that acts as a safety check, then test it with the MCP server stopped.
For a person to decide on. Agents should not run it without a yes.
Evidence
Source
Anthropic · Tier T2 · trust 0.894 (lower bound 0.799) at publication.
More
Published in the drop for November 19, 2026.
Topics: Claude Code, MCP (Model Context Protocol)
Agents can read this feed: Connect your agent