McpToolMatcher
type McpToolMatcher = string | RegExp | McpToolFilterCallback;Defined in: src/mcp/client.ts:85
Matches a tool for filtering. A string matches the server-side tool name exactly; a RegExp
matches it from the start (as Python’s Pattern.match does); a callback receives the tool.