diff --git a/examples/map-server/mcp-app.html b/examples/map-server/mcp-app.html index 8cba8394..473eb50f 100644 --- a/examples/map-server/mcp-app.html +++ b/examples/map-server/mcp-app.html @@ -19,8 +19,6 @@ #cesiumContainer { width: 100%; height: 100%; - border-radius: .75rem; - overflow: hidden; } #fullscreen-btn { position: absolute; diff --git a/examples/map-server/src/mcp-app.ts b/examples/map-server/src/mcp-app.ts index 73d7aa16..1475d81e 100644 --- a/examples/map-server/src/mcp-app.ts +++ b/examples/map-server/src/mcp-app.ts @@ -6,6 +6,7 @@ * a navigate-to tool for the host to control navigation. */ import { App } from "@modelcontextprotocol/ext-apps"; +import type { ContentBlock } from "@modelcontextprotocol/sdk/spec.types.js"; // TypeScript declaration for Cesium loaded from CDN // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -14,6 +15,8 @@ declare let Cesium: any; const CESIUM_VERSION = "1.123"; const CESIUM_BASE_URL = `https://cesium.com/downloads/cesiumjs/releases/${CESIUM_VERSION}/Build/Cesium`; +const MAX_MODEL_CONTEXT_UPDATE_IMAGE_DIMENSION = 768; // Max width/height for screenshots in pixels for updateModelContext + /** * Dynamically load CesiumJS from CDN * This is necessary because external