What probably matters to youSection of the release
Unclear What condition decides whether an mcp_tool hook in your settings is accepted is not known.
What
Hooks are actions Claude Code runs automatically at set points, configured in your settings. MCP (Model Context Protocol) is the way Claude Code connects to outside tools. The part of Claude Code that reads hook settings now accepts hooks of type mcp_tool when a certain condition holds. Two options are read for them:
on_failure: what to do when the hook fails.
status_message: a message to show while the hook runs.
Before, mcp_tool was recognised only when reporting a failure.
Why
This may let you write hooks that call an MCP tool directly in your settings.
Read from
Names in the bundlemcp_tool
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat condition decides whether an mcp_tool hook in your settings is accepted is not known.