Skip to main content
Version: 0.25.0

CC-HK-027: MCP Tool Hook Missing Tool - Claude Hooks

Summary

  • Rule ID: CC-HK-027
  • Severity: HIGH
  • Category: Claude Hooks
  • Normative Level: MUST
  • Auto-Fix: No
  • Verified On: 2026-04-26

Applicability

  • Tool: claude-code
  • Version Range: unspecified
  • Spec Revision: unspecified

Evidence Sources

Test Coverage Metadata

  • Unit tests: true
  • Fixture tests: true
  • E2E tests: false

Examples

The following examples demonstrate what triggers this rule and how to fix it.

Invalid

{ "type": "mcp_tool", "server": "my_server" }

Valid

{ "type": "mcp_tool", "server": "my_server", "tool": "security_scan" }