AxMCPAppBridgeOptions Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxMCPAppBridgeOptions.md interface AxMCPAppBridgeOptions

AxMCPAppBridgeOptions

Defined in: https://github.com/ax-llm/ax/blob/7965c876f6a5b641e0cf166e8942e540cfde65e1/src/ax/mcp/apps.ts#L62

Properties

PropertyType
authorize?(action: Readonly<{ method: string; namespace: string; params: unknown; tool: string; }>) => boolean | Promise<boolean>
clientAxMCPClient
hostCapabilities?Readonly<Record<string, unknown>>
hostContext?Readonly<Record<string, unknown>>
log?(params: unknown) => void | Promise<void>
openLink?(url: string) => void | Promise<void>
requestDisplayMode?(mode: AxMCPAppDisplayMode) => | AxMCPAppDisplayMode | Promise<AxMCPAppDisplayMode>
sendMessage?(message: Readonly<Record<string, unknown>>) => void | Promise<void>
sendToView?(message: Readonly<AxMCPJSONRPCMessage>) => void | Promise<void>
sizeChanged?(size: Readonly<{ height: number; width: number; }>) => void
toolstring | AxMCPTool
updateModelContext?(update: Readonly<AxMCPAppContextUpdate>) => void | Promise<void>
Docs