{"version":"2.1.328","anchor":"hook-failure-messages-for-mcp-tool-hooks","canonical_anchor":"hook-failure-messages-for-mcp-tool-hooks","heading":"Hook failures that involve MCP servers point you to the debug log","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/hook-failure-messages-for-mcp-tool-hooks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Hook failures that involve MCP servers point you to the debug log\n\nWhen a hook that calls an MCP tool fails, the message now leaves out the server's error text and points you to `--debug` instead\n\n**What**\n\nHooks are commands you set up to run at certain points while Claude Code works. Some hooks call a tool on an MCP server, an add-on that connects Claude Code to an outside service. When one of those hooks fails, the message no longer includes the error text from the server. It tells you to run with `--debug` and check the debug log instead, since the server may have written that text.\n\nOther changes to hook failures:\n\n- Hooks that block an action now get guidance when Git Bash is missing.\n\n- Before such a hook calls a server, a `tool.check` hook can refuse the call, and the refusal is recorded in the log.\n\n**Why**\n\nFailures in blocking hooks are clearer, and text written by an outside server no longer reaches Claude through the error message.\n\n- Area: Hooks\n- Names: `--debug`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}