CLAUDE-CODE PUB_DATE: 2026.06.28

CLAUDE CODE TIGHTENS MCP TOOL MATCHING; ECOSYSTEM PATCHES AUTH AND METRICS EDGES

Anthropic’s Claude Code changed how hooks match hyphenated MCP tool names and shipped a raft of reliability fixes. The latest Claude Code release [v2.1.195](ht...

Claude Code tightens MCP tool matching; ecosystem patches auth and metrics edges

Anthropic’s Claude Code changed how hooks match hyphenated MCP tool names and shipped a raft of reliability fixes.

The latest Claude Code release v2.1.195 moves hook matchers to exact-match for hyphenated identifiers and recommends patterns like mcp__brave-search__.* for grouped tools. It also fixes background agent restarts, plugin enable/disable quirks, and remote container startup with a clearer provisioning checklist.

Community tooling followed suit: oh-my-claudecode v4.15.1 fixes MCP disabled tools and session search; agent-island v1.1.0 repairs Claude CLI re-auth flows; and harbor v0.16.1 tolerates None usage fields from Claude Code metrics.

[ WHY_IT_MATTERS ]
01.

Exact-match hook semantics can silently break automations that assumed substring matching for MCP tool names.

02.

Auth and usage telemetry got more brittle in the wild; ecosystem patches suggest you should harden re-auth and metrics parsing.

[ WHAT_TO_TEST ]
  • terminal

    Audit your MCP hook patterns for hyphenated tools; swap substring matches for exact or regex forms (e.g., mcp__service__.*) and run end-to-end agent flows.

  • terminal

    Expire Claude CLI credentials and simulate rate limits to verify re-auth prompts, retry backoff, and metrics ingestion when usage fields are missing.

[ BROWNFIELD_PERSPECTIVE ]

Legacy codebase integration strategies...

  • 01.

    Pin Claude Code and plugins, then rollout gradually; watch CI/devcontainer agent startups, background task restarts, and plugin enable/disable behavior.

  • 02.

    Update telemetry pipelines to accept null/missing fields from Claude usage endpoints and adjust alerts to avoid noisy rate-limit flaps.

[ GREENFIELD_PERSPECTIVE ]

Fresh architecture paradigms...

  • 01.

    Start with the tightened hook semantics and regex patterns from day one to avoid future breakage.

  • 02.

    Adopt maintained wrappers (oh-my-claudecode, Harbor) for session search, trial scaffolding, and resilient metrics out of the box.

Enjoying_this_story?

Get daily CLAUDE-CODE + SDLC updates.

  • Practical tactics you can ship tomorrow
  • Tooling, workflows, and architecture notes
  • One short email each weekday

FREE_FOREVER. TERMINATE_ANYTIME. View an example issue.

GET_DAILY_EMAIL
AI + SDLC // 5 MIN DAILY