News · Use it
Claude Code 2.1.328 can block an action when an MCP hook fails
Claude Code 2.1.328 adds onFailure: block to mcp_tool hooks, matching command and HTTP hooks. It also adds CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME, so a host can stop claude -p --resume or --continue from running a tool call that a hook deferred. Upgrade policy-controlled installations, force the approval hook to fail, and verify that the tool never runs both immediately and after resume. 3
Relevant to: Teams enforcing tool policy through Claude Code hooks or deferred approvals.
What the verdict meansAvailable, works, worth your time today.
Sources
Originally part of the 19 November 2026 edition.