McpApps

object McpApps(source)

The MCP Apps extension (SEP-1865, stable revision 2026-01-26): tools whose results an interactive HTML view (ui:// resource) renders. The host side — sandbox, the ui/… message bridge — is ai-elements-mcp-apps; this is what the MCP client needs: the extension id, the negotiation and the view's media type.

Properties

Link copied to clipboard
val CLIENT_CAPABILITIES: JsonObject

Client capabilities that advertise MCP Apps (§"Client (Host) Capabilities"); pass to McpClient.

Link copied to clipboard
const val EXTENSION: String

The extension identifier.

Link copied to clipboard
const val MIME_TYPE: String

The media type of an HTML view.

Link copied to clipboard

The MCP Apps protocol revision the host speaks in ui/initialize.