{"version":"2.1.337","anchor":"mcp-tool-hooks-refuse-when-session-is-not-runnable","canonical_anchor":"mcp-tool-hooks-refuse-when-session-is-not-runnable","heading":"MCP tool hooks now refuse to run in some session states","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/mcp-tool-hooks-refuse-when-session-is-not-runnable","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### MCP tool hooks now refuse to run in some session states\n\nBefore running a hook for an MCP tool, Claude Code now checks the session's state and stops with a not-runnable error if the check fails\n\n**Unclear.** Which session states cause the hook to be refused is not stated.\n\n**What**\n\nA hook is a command you set up to run automatically around Claude's actions, and an MCP tool is a tool supplied by an add-on server. Before Claude Code runs a hook for an MCP tool, it now checks the state of the session first. If that check reports a problem, the hook is not run and Claude Code raises a \"not runnable\" error instead.\n\n**Why**\n\nIn some session states, hooks for MCP tools may now stop running where they ran before.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}