Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.195 ·

Hook Matcher Warnings for MCP Server Patterns

Entry
JSON All of v2.1.195
EntryKind: in v2.1.195,
ImprovementsSection of the release
What

Claude Code now warns at startup if a hook matcher like mcp__my_server matches no known tool, because hook matchers are compared as exact strings — the correct pattern to match all tools from a server is mcp__my_server__.*.

Details
  • Warning message: "Hook matcher mcp__server matches no tool (it is compared as an exact string). To match all tools from this server, use mcp__server__.*. See CHANGELOG v2.1.195."
  • Only fires once per distinct matcher pattern per session.
Evidence

Hook matcher warning (search for "matches no tool (it is compared as an exact string). To match all tools from this server, use \"`)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.195 →

Feedback