You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extensions: Connection Info both eras + io.modelcontextprotocol/ui advertisement (Phase 3 of #1633) #1740
Phase 3 of #1633 (Extensions capability UI + MCP Apps alignment). Depends on Phase 1's registry/map. See #1633 for full analysis.
Goal
Complete the Connection Info surfacing (both eras) and advertise io.modelcontextprotocol/ui through the formalized extensions map.
Scope
Connection Info, both eras: in clients/web/src/components/groups/ConnectionInfoContent/ConnectionInfoContent.tsx, source the server extensions from getServerCapabilities()?.extensions so a legacy server that advertises extensions in its initialize result also renders the row — today formatExtensions() (line ~134) is gated behind {discoverResult && …} (line ~213), i.e. modern-only. Keep the modern discoverResult path; unify the formatter.
Show the Inspector's own advertised extensions alongside the server's (mirrors the existing client-vs-server capability columns) so the Phase-2 toggle's effect is visible in one place.
Apps ui advertisement: advertise io.modelcontextprotocol/ui with mimeTypes (the App resource MIME types the Inspector renders, e.g. text/html) through the Phase-1 map, wired to whether Apps rendering is enabled. Confirm the shape against the ext-apps 2026-01-26 spec.
⚠️ ext-apps SDK-v1 stopgap (expected in this phase)
@modelcontextprotocol/[email protected] peers on SDK ^1.29.0; we run 2.0.0-beta.5. The ui advertisement's mimeTypes shape (and any capabilities/extensions object handed to ext-apps) will likely need a single-boundary cast in the style of the existing shims (core/mcp/apps.ts:26, apps.ts:78, createAppBridgeFactory.ts:218, inspectorClient.ts:1698) — all tagged TODO: drop when ext-apps#702 ships a v2 peer. Add any new cast with the same comment. Do not attempt to remove existing shims here — that's blocked on upstream and tracked by the separate ext-apps-v2 cleanup follow-up.
Acceptance
Legacy and modern connections show the server's extensions map in Connection Info; the Inspector's advertised extensions are also visible.
io.modelcontextprotocol/ui is advertised via capabilities.extensions with mimeTypes.
Unit tests: ConnectionInfoContent legacy + modern extensions rows, advertised-extensions display, and the ui advertisement. This PR must hold the ≥90% per-file gate on its own.
Activity
Extensions: add #1740 Connection Info proof screenshots
Extensions: Connection Info both eras + io.modelcontextprotocol/ui ad…
cliffhall commentedon Jul 23, 2026
Implemented in #1744 (merged to v2/main). Auto-close doesn't fire on the non-default v2/main base, so closing manually.