Reduces a registry identifier to its human-meaningful part for search matching.
Registry identifiers are reverse-DNS ids with a path, e.g. com.asana/mcp or
io.github.anthropics/algorithmic-art. The leading domain labels (com, io, github, ...)
are shared boilerplate that would otherwise let a query like git match every io.github.*
entry. This keeps only the last domain label plus the path: asana mcp, anthropics algorithmic-art.
Plain strings without a domain or path are returned unchanged.
Protectedtokenize
Relevance filter shared by the MCP-server and skill contributions to the Extensions view.
The shared Extensions ranker fuzzy-matches scattered characters across a combined searchable text. Registry descriptions are long, keyword-rich prose, so that match treats almost every entry as a hit for any short query (e.g.
asanamatching every server). This filter narrows the candidate set to genuine matches before the shared ranker runs.An entry matches when every whitespace/punctuation-separated query term either:
asanamatchescom.asana/mcpandartmatchesalgorithmic-art), orpowerpointfinds an entry whose description mentions "PowerPoint").Exposed as an injectable service so adopters can rebind it to tweak search semantics for their registry contributions.