Theia API Documentation v1.74.0
    Preparing search index...

    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. asana matching 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:

    • appears as a substring of the meaningful name or identifier (so asana matches com.asana/mcp and art matches algorithmic-art), or
    • is the prefix of some word in the name, identifier or description (so powerpoint finds an entry whose description mentions "PowerPoint").

    Exposed as an injectable service so adopters can rebind it to tweak search semantics for their registry contributions.

    Index

    Constructors

    Methods

    • Drops 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.

      Parameters

      • domain: string

      Returns string[]

    • 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.

      Parameters

      • identifier: string

      Returns string

    • Reduces 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.

      Parameters

      • query: string

      Returns string