Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Hook settings can define MCP tool hooks with failure and status options

Claude Code's settings reader now accepts mcp_tool hooks, along with on_failure and status_message, when a certain condition holds

Use it now Improvements
JSON All of v2.1.331
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.331,
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.

See this entry in the whole of v2.1.331 →

Feedback