ReadonlyonFires when the cached set of registry server IDs changes (e.g. after a refresh).
Resolve the registry entry for serverId into a self-contained install payload
(key, config, version, configHash, display metadata). Returns undefined when
the registry has no approval for the given id. Used by the install-mcp URL
handler to drive the install flow purely from the registry.
Synchronous, cached lookup: is serverId currently approved in the registry?
Opens the registry browser. If serverId is provided, the view scrolls to / filters that entry.
OptionalserverId: stringResolves once the bridge has completed its initial registry fetch.
Consumers (e.g. the install-mcp URL handler) await this before relying on
hasServer / getInstallEntry so cold-start clicks don't get a false miss.
Optional integration point exposed by
@theia/ai-registryso that AI-related widgets (e.g. the MCP configuration view in@theia/ai-ide) can surface registry affordances without taking a hard dependency on the registry package.If no registry implementation is bound, consumers should treat this as absent and hide all registry-specific affordances.