What's wrong with this entry?
Anonymous. No account, no email.
What
A new hook type that invokes an MCP server tool as the hook action, as an alternative to bash/command hooks.
Details
- Configure with
type: "mcp_tool"in hook definitions - Specify
server(name of an already-configured MCP server) andtool(tool name on that server) - Supports
argumentsobject with${path}interpolation from hook input JSON - Optional
timeoutfield for per-call timeout in seconds - Reads
X-Mcp-Error-Codeheader from 401 responses for better error diagnostics - Not available for all hook events — logs
"mcp_tool hooks are not available for the '<event>' hook event"when unsupported
Evidence
Hook type definition (search for "mcp_tool") and MCP tool schema fields (search for "Name of an already-configured MCP server to invoke").
Strings lifted out of the shipped bundle, so the claim above can be checked against them.