@copilotkit/mcp-apps-renderer weekly downloads statistics
By copilotkit (2 listings) · npm · MCP servers
Framework-agnostic MCP Apps host for CopilotKit - the app<->host protocol (ext-apps AppBridge), sandbox proxy, and shared renderer consumed by the React, Vue, and Angular frontends
@copilotkit/mcp-apps-renderer has 454,213 recorded weekly downloads on npm, an increase of 34.8% over the past 30 days, ranking #408 of 3,247 tracked listings.
About @copilotkit/mcp-apps-renderer
@copilotkit/mcp-apps-renderer
Framework-agnostic MCP Apps host for CopilotKit: the app↔host protocol on top of
@modelcontextprotocol/ext-apps
(AppBridge + PostMessage transport, sandbox proxy, per-thread request queue,
ui/message / ui/open-link / tools/call proxy, tool input/result forwarding,
ui/update-model-context,
ui/request-display-mode). The React / Vue / Angular renderers consume it as thin
adapters: they create the sandbox iframe and wire reactive state, while all
protocol logic lives in bindMcpApp.
Entry points
| Import | Contents | Bundle |
|---|---|---|
@copilotkit/mcp-apps-renderer | bindMcpApp + the full session API | ESM only — it wraps the ESM-only ext-apps bridge, and is meant to be loaded lazily via a dynamic import(). |
@copilotkit/mcp-apps-renderer/activity | MCPAppsActivityType, MCPAppsActivityContentSchema, ɵrunMcpFollowUp | ESM + CJS. Bridge-free: importing it to register the activity does not pull the ext-apps bundle. |
The root is ESM-only on purpose: @modelcontextprotocol/ext-apps ships ESM only,
so a CommonJS root would emit a require() of an ES module and fail with
ERR_REQUIRE_ESM. Consume bindMcpApp via a dynamic import() (which resolves
ESM from any module system), and import the bridge-free /activity surface for
synchronous activity registration.
Display modes
bindMcpApp negotiates ui/request-display-mode for every frontend:
- The host renders
inlineandfullscreen(HOST_SUPPORTED_DISPLAY_MODES), andMcpAppsDisplayModecarries only those two;pipexists in the spec but is never granted. A request for an unavailable mode leaves the mode untouched and answers with the mode still applied. - A mode the app did not list in
appCapabilities.availableDisplayModesatui/initializeis refused the same way.options.hostContext.availableDisplayModesnarrows what the host offers (inlinealways stays); React exposes it as<CopilotKit mcpApps>, Vue as<CopilotKitProvider :mcp-apps>, Angular asprovideMCPApps(). fullscreenis only granted on a user action in the widget itself. Transient activation (navigator.userActivation.isActive) belongs to the whole page, so a key press in the chat composer would count as much as a click in the widget. The gate (fullscreen-gate.ts) therefore also requires that the widget's iframe holds the focus and that nopointerdownorkeydownreached the host page in the last 5 seconds (the activation window of Chromium and Firefox): events inside the iframe never reach the host document, so a recent host-side gesture means the activation may come from the host. Where the activation API is missing, the focus and host-gesture checks still apply.- After the host took a widget out of fullscreen (close button, Escape), every widget on the page is refused until the activation has been observed inactive, then granted again on a fresh gesture: activation outlives the closing gesture for a duration the browser chooses, and the modal dialog makes the rest of the page inert. Without the activation API the block stays for the rest of the page's life.
hostContextcarriesdisplayModeandavailableDisplayModesfrom construction on, so theui/initializeresponse already advertises them. Every change, widget-initiated or host-initiated, goes through the same path and reaches the widget asui/notifications/host-context-changed, always withcontainerDimensions: the viewport forfullscreen, and forinlinethe width of the nearest laid-out ancestor of the dialog, and only a width, since the inline container grows with the widget's content. The app SDK merges notifications into its cached context and the protocol cannot unset a field, so leaving fullscreen advertises the inline surface rather than dropping the fullscreen one.- The adapter renders the mode:
hooks.onDisplayModeChange(mode)tells it what was granted,session.setDisplayMode("inline")is the host-initiated exit (close button, Escape) andsession.getDisplayMode()reads the current mode.setDisplayModeis bound by the same offer: a mode the host does not render is ignored, so the widget is never told about one.
The bridge-free /activity entry ships the pieces the adapters need to render
the surface without the bridge: ɵshowDialogForMode(dialog, mode) opens the
widget's native <dialog> in the browser top layer (showModal()) for
fullscreen, so it fills the viewport whatever containing block an ancestor
establishes, and leaves it closed for inline, where the adapters render the
closed dialog in normal flow (display: block), without ever reparenting the
iframe. ɵdialogRoleForMode(mode) gives the role to render: inline the widget
is chat content and is exposed as a group, fullscreen keeps the modal dialog's
semantics. ɵlockBodyScroll() is the page-wide, ref-counted scroll lock
behind a fullscreen widget. The surface carries an accessible name in both
modes ("Interactive MCP application", with a fullscreen variant).…
Description from the npm listing.
- ai
- copilotkit
- mcp
- mcp-apps
- ext-apps
- renderer
- ui
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm MCP servers plugins
All 20 @copilotkit/mcp-apps-renderer alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@copilotkit/mcp-apps-renderer. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.