From d32e43aaf52636b2dc61af3f77bd559b8eac9429 Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Mon, 24 Nov 2025 16:14:17 +0000 Subject: [PATCH] tweaks --- examples/simple-host/src/app-host-utils.ts | 1 - .../simple-host/src/react/UITemplatedToolCallRenderer.tsx | 4 ---- 2 files changed, 5 deletions(-) diff --git a/examples/simple-host/src/app-host-utils.ts b/examples/simple-host/src/app-host-utils.ts index d05a8b5..a13701d 100644 --- a/examples/simple-host/src/app-host-utils.ts +++ b/examples/simple-host/src/app-host-utils.ts @@ -13,7 +13,6 @@ export async function setupSandboxProxyIframe(sandboxProxyUrl: URL): Promise<{ iframe.style.height = "600px"; iframe.style.border = "none"; iframe.style.backgroundColor = "transparent"; - // iframe.allow = 'microphone' iframe.setAttribute("sandbox", "allow-scripts allow-same-origin allow-forms"); const onReady = new Promise((resolve, _reject) => { diff --git a/examples/simple-host/src/react/UITemplatedToolCallRenderer.tsx b/examples/simple-host/src/react/UITemplatedToolCallRenderer.tsx index e4a249d..c929797 100644 --- a/examples/simple-host/src/react/UITemplatedToolCallRenderer.tsx +++ b/examples/simple-host/src/react/UITemplatedToolCallRenderer.tsx @@ -9,10 +9,6 @@ import { } from "@modelcontextprotocol/sdk/types.js"; import { - type McpUiMessageRequest, - type McpUiMessageResult, - type McpUiOpenLinkRequest, - type McpUiOpenLinkResult, AppBridge, PostMessageTransport, } from "@modelcontextprotocol/ext-apps/app-bridge";