Skip to main content

SEAT_MCP_MATCHER

Constant SEAT_MCP_MATCHER 

Source
pub const SEAT_MCP_MATCHER: &str = "^mcp__.+__ljos_.+$";
Expand description

The seat’s MCP tools as Claude Code names them. The hook reads which subagent calls one, so the server can bind that ballot to it. A matcher with a ^ is a regular expression, unanchored unless written so; joined to the tool list, it would make Write match TodoWrite. So it is a PreToolUse group of its own.