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

    Handles theia://install-mcp?id=<serverId> deep links. The URL is intentionally minimal: the install configuration, version, display name and content hash are all read from the configured AI registry by id. This guarantees the user installs exactly what the registry currently publishes and keeps install links short and stable.

    Opening such a link brings the IDE window to the foreground, reveals the AI registry (Extensions) view with the serverId searched so the entry is in focus, and then opens the install dialog for that entry.

    Lives in @theia/ai-mcp so products without the registry package still receive the URL - but installation only succeeds when an MCPRegistryUiBridge is bound and the id exists in the registry. The bridge is consulted via @optional().

    Implements

    Index

    Constructors

    Properties

    id: "install-mcp-uri-handler" = 'install-mcp-uri-handler'

    A unique id of this handler.

    installDialogFactory: MCPServerInstallDialogFactory
    messageService: MessageService
    preferenceService: PreferenceService
    registryBridge?: MCPRegistryUiBridge
    windowService: WindowService

    Methods

    • Acknowledge prompt for already-installed servers. We don't try to be clever about "is this the same registry entry?" - the user may have edited the local config and any overwrite should be an explicit decision.

      Parameters

      • localName: string

      Returns Promise<boolean>