ProtectedmeaningfulDrops the boilerplate leading labels of a reverse-DNS domain, keeping the owner label(s). A single-label string (no reverse-DNS structure) is returned as-is.
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 TLD (com, io, ...) and any hosting
namespace (github in io.github.<owner>) are shared boilerplate that would otherwise let a
query like git match every io.github.* entry, so they are dropped. The remaining owner
labels plus the path are kept: asana mcp, anthropics algorithmic-art, cloudflare mcp mcp.
Plain strings without a domain or path are returned unchanged.
ProtectedreduceReduces a query shaped like a registry id (reverse-DNS domain with a / path) the same way
entry identifiers are reduced, so the full id - e.g. copied from the registry website or set
by the "From registry" link - finds the server instead of being rejected by the stripped
boilerplate labels it would otherwise require as terms. Plain-text queries are left untouched.
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.