Repository navigation
Description
Follow-up from the #1633 Extensions stack (Phases #1738 / #1739 / #1740). Tracks removing the throwaway shims the Inspector carries because @modelcontextprotocol/ext-apps still peers on TS SDK v1 while the Inspector runs SDK v2 (2.0.0-beta.x).
Trigger
Close this when @modelcontextprotocol/ext-apps publishes a release whose peer is SDK v2 (upstream ext-apps#702). Installed today: @modelcontextprotocol/[email protected] (peers @modelcontextprotocol/sdk: ^1.29.0).
Shim sites to remove (verified 2026-07-22)
Each is tagged in-source with TODO: drop when ext-apps#702 ships a v2 peer. This should be closeable by a single sweep:
core/mcp/apps.ts:27—tool as Parameters<typeof getToolUiResourceUri>[0](v1Toolvs v2Toolat thegetToolUiResourceUriboundary).core/mcp/apps.ts:78— theUiMetaShapestructural interface standing in for ext-apps'McpUiToolMeta/McpUiResourceMeta, which aren't importable under NodeNext because of an extensionless re-export in the package's.d.ts. Switch to the named types once upstream fixes that re-export.clients/web/src/components/elements/AppRenderer/createAppBridgeFactory.ts:~218—client as unknown as ConstructorParameters<typeof AppBridge>[0]and theImplementationcast (ext-apps'AppBridgepeers on SDK v1'sClient/Implementation).core/mcp/inspectorClient.ts:~1698(getAppRendererClient()Proxy) — translates ext-apps' v1 schema-firstsetNotificationHandler(schema, handler)into SDK v2's method-string form.
NOT added by Phase 3 (#1740)
The io.modelcontextprotocol/ui advertisement added in #1740 needed no ext-apps cast — ClientCapabilities.extensions is typed { [key: string]: object }, so { mimeTypes: [...] } is assignable directly. The extension id / MIME-type constants are mirrored locally in core/mcp/extensions.ts (UI_EXTENSION_KEY / MCP_APP_MIME_TYPE) rather than imported, for the same NodeNext//server-subpath reasons — those can optionally switch to importing ext-apps' EXTENSION_ID / RESOURCE_MIME_TYPE once the v2-peer release lands, but they are stable spec strings so it's low priority.
Acceptance
- Bump
@modelcontextprotocol/ext-appsto the v2-peer release. - Remove shims 1–4 above; replace
UiMetaShapewith the named ext-apps types. - Optionally source
UI_EXTENSION_KEY/MCP_APP_MIME_TYPEfrom ext-apps. npm run cigreen.
Activity
[-]Remove ext-apps SDK-v1 shims when the package ships a v2 peer (ext-apps#702)[/-][+][Blocked upstream] Remove ext-apps SDK-v1 shims when the package ships a v2 peer (ext-apps#702)[/+]cliffhall commentedon Aug 1, 2026
Triage: Priority = Low
Scored 5/16 with the priority rubric added to
AGENTS.mdin #1891. This card is already approved and sitting in Todo — only Priority was set here, its Status is unchanged.ext-appsships a release peering on SDK v2. Prioritising blocked work above unblocked work just misreports the queue.Related issues. These look connected and may be worth reading together:
[Blocked upstream]item, same waiting-on-SDK postureScores are a starting point, not a verdict — the rubric is meant to be overruled when it's plainly wrong, provided the reason is written down.
2 remaining items
[-][Blocked upstream] Remove ext-apps SDK-v1 shims when the package ships a v2 peer (ext-apps#702)[/-][+]Remove ext-apps SDK-v1 shims when the package ships a v2 peer (ext-apps#702)[/+]docs: address Copilot review round 1 (#1745)
refactor: re-export AppRendererClient from types.ts instead of defini…
cliffhall commentedon Sep 14, 2026
Shipped in #2358 (merged to
v2/main). All four shim sites removed;@modelcontextprotocol/ext-appsis at 2.0.0 and the v1 SDK is out of the tree. Follow-ups: #2359 (stacked PR #2361) and #2360 (blocked on ext-apps#733), both sub-issues of #2309.chore(deps): bump @modelcontextprotocol/ext-apps to ^2.0.0
refactor: drop the ext-apps SDK-v1 shims now that 2.0.0 peers on SDK v2