diff --git a/examples/simple-host/example-host-react.html b/examples/simple-host/example-host-react.html deleted file mode 100644 index fc71204..0000000 --- a/examples/simple-host/example-host-react.html +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - - -Connecting to MCP server...
-No tools available with UI resources.
- ) : ( -- No tool UIs active. Click a button above to add one. -
- )} -
- * npx esbuild src/ui-raw.ts --bundle --outfile=dist/ui-raw.js --minify --sourcemap --platform=browser
- *
- *
- * We implement a barebones JSON-RPC message sender/receiver (see `app` object below),
- * but without timeouts or runtime type validation of any kind
- * (for that, use the Apps SDK / see ui-vanilla.ts or ui-react.ts).
- */
-
-import type {
- McpUiInitializeRequest,
- McpUiInitializeResult,
- McpUiInitializedNotification,
- McpUiToolResultNotification,
- McpUiHostContextChangedNotification,
- McpUiToolInputNotification,
- McpUiSizeChangeNotification,
- McpUiMessageRequest,
- McpUiMessageResult,
- McpUiOpenLinkRequest,
- McpUiOpenLinkResult,
-} from "@modelcontextprotocol/ext-apps";
-
-import type {
- CallToolRequest,
- CallToolResult,
- JSONRPCMessage,
- LoggingMessageNotification,
-} from "@modelcontextprotocol/sdk/types.js";
-
-const app = (() => {
- type Sendable = { method: string; params: any };
-
- let nextId = 1;
-
- return {
- sendRequest