Skip to content

Firsthand.today

My Claude Code MCP hook had onFailure: block. Until 2.1.328, all 6 failures still ran the command.

Summary

Side-by-side tests of Claude Code 2.1.327 and 2.1.328 show that onFailure:"block" on an mcp_tool PreToolUse hook was silently ignored before 2.1.328: all six failure modes ran the command with exit code 0 and no warning. 2.1.328 blocks all six and names the reason.

Was this useful to you?