fn configured_server_matches(
haystack: &str,
server: &ConfiguredMcpServer,
) -> boolExpand description
True when haystack (a whitespace-normalized process cmdline) contains
every match token of server. Leading npx/npm passthrough flags
(e.g. -y) are dropped first: npx -y <pkg> re-execs into npm exec <pkg> with the flag stripped, so the tokens are the package spec (the
first non-flag arg) plus everything after it - where the real
distinguisher --cdp-endpoint <url> lives and survives into the process
cmdline. Empty / all-flag args fall back to the bare command. Substring
containment tolerates the process-side @version suffix.