You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@modelcontextprotocol/ext-apps

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modelcontextprotocol/ext-apps - npm Package Compare versions

Comparing version
0.2.1
to
0.2.2
+1
-44
dist/src/generated/schema.d.ts

@@ -1,2 +0,2 @@

import * as z from "zod/v4";
import { z } from "zod";
/**

@@ -39,3 +39,2 @@ * @description Color theme preference for the host environment.

export declare const McpUiOpenLinkResultSchema: z.ZodObject<{
/** @description True if the host failed to open the URL (e.g., due to security policy). */
isError: z.ZodOptional<z.ZodBoolean>;

@@ -48,3 +47,2 @@ }, z.core.$loose>;

export declare const McpUiMessageResultSchema: z.ZodObject<{
/** @description True if the host rejected or failed to deliver the message. */
isError: z.ZodOptional<z.ZodBoolean>;

@@ -213,3 +211,2 @@ }, z.core.$loose>;

export declare const McpUiRequestDisplayModeResultSchema: z.ZodObject<{
/** @description The display mode that was actually set. May differ from requested if not supported. */
mode: z.ZodUnion<readonly [z.ZodLiteral<"inline">, z.ZodLiteral<"fullscreen">, z.ZodLiteral<"pip">]>;

@@ -421,3 +418,2 @@ }, z.core.$loose>;

export declare const McpUiHostContextSchema: z.ZodObject<{
/** @description Metadata of the tool call that instantiated this App. */
toolInfo: z.ZodOptional<z.ZodObject<{

@@ -461,5 +457,3 @@ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;

}, z.core.$strip>>;
/** @description Current color theme preference. */
theme: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
/** @description Style configuration for theming the app. */
styles: z.ZodOptional<z.ZodObject<{

@@ -471,7 +465,4 @@ variables: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"--color-background-primary">, z.ZodLiteral<"--color-background-secondary">, z.ZodLiteral<"--color-background-tertiary">, z.ZodLiteral<"--color-background-inverse">, z.ZodLiteral<"--color-background-ghost">, z.ZodLiteral<"--color-background-info">, z.ZodLiteral<"--color-background-danger">, z.ZodLiteral<"--color-background-success">, z.ZodLiteral<"--color-background-warning">, z.ZodLiteral<"--color-background-disabled">, z.ZodLiteral<"--color-text-primary">, z.ZodLiteral<"--color-text-secondary">, z.ZodLiteral<"--color-text-tertiary">, z.ZodLiteral<"--color-text-inverse">, z.ZodLiteral<"--color-text-info">, z.ZodLiteral<"--color-text-danger">, z.ZodLiteral<"--color-text-success">, z.ZodLiteral<"--color-text-warning">, z.ZodLiteral<"--color-text-disabled">, z.ZodLiteral<"--color-text-ghost">, z.ZodLiteral<"--color-border-primary">, z.ZodLiteral<"--color-border-secondary">, z.ZodLiteral<"--color-border-tertiary">, z.ZodLiteral<"--color-border-inverse">, z.ZodLiteral<"--color-border-ghost">, z.ZodLiteral<"--color-border-info">, z.ZodLiteral<"--color-border-danger">, z.ZodLiteral<"--color-border-success">, z.ZodLiteral<"--color-border-warning">, z.ZodLiteral<"--color-border-disabled">, z.ZodLiteral<"--color-ring-primary">, z.ZodLiteral<"--color-ring-secondary">, z.ZodLiteral<"--color-ring-inverse">, z.ZodLiteral<"--color-ring-info">, z.ZodLiteral<"--color-ring-danger">, z.ZodLiteral<"--color-ring-success">, z.ZodLiteral<"--color-ring-warning">, z.ZodLiteral<"--font-sans">, z.ZodLiteral<"--font-mono">, z.ZodLiteral<"--font-weight-normal">, z.ZodLiteral<"--font-weight-medium">, z.ZodLiteral<"--font-weight-semibold">, z.ZodLiteral<"--font-weight-bold">, z.ZodLiteral<"--font-text-xs-size">, z.ZodLiteral<"--font-text-sm-size">, z.ZodLiteral<"--font-text-md-size">, z.ZodLiteral<"--font-text-lg-size">, z.ZodLiteral<"--font-heading-xs-size">, z.ZodLiteral<"--font-heading-sm-size">, z.ZodLiteral<"--font-heading-md-size">, z.ZodLiteral<"--font-heading-lg-size">, z.ZodLiteral<"--font-heading-xl-size">, z.ZodLiteral<"--font-heading-2xl-size">, z.ZodLiteral<"--font-heading-3xl-size">, z.ZodLiteral<"--font-text-xs-line-height">, z.ZodLiteral<"--font-text-sm-line-height">, z.ZodLiteral<"--font-text-md-line-height">, z.ZodLiteral<"--font-text-lg-line-height">, z.ZodLiteral<"--font-heading-xs-line-height">, z.ZodLiteral<"--font-heading-sm-line-height">, z.ZodLiteral<"--font-heading-md-line-height">, z.ZodLiteral<"--font-heading-lg-line-height">, z.ZodLiteral<"--font-heading-xl-line-height">, z.ZodLiteral<"--font-heading-2xl-line-height">, z.ZodLiteral<"--font-heading-3xl-line-height">, z.ZodLiteral<"--border-radius-xs">, z.ZodLiteral<"--border-radius-sm">, z.ZodLiteral<"--border-radius-md">, z.ZodLiteral<"--border-radius-lg">, z.ZodLiteral<"--border-radius-xl">, z.ZodLiteral<"--border-radius-full">, z.ZodLiteral<"--border-width-regular">, z.ZodLiteral<"--shadow-hairline">, z.ZodLiteral<"--shadow-sm">, z.ZodLiteral<"--shadow-md">, z.ZodLiteral<"--shadow-lg">]>, z.ZodUnion<readonly [z.ZodString, z.ZodUndefined]>>>;

}, z.core.$strip>>;
/** @description How the UI is currently displayed. */
displayMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"inline">, z.ZodLiteral<"fullscreen">, z.ZodLiteral<"pip">]>>;
/** @description Display modes the host supports. */
availableDisplayModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
/** @description Current and maximum dimensions available to the UI. */
viewport: z.ZodOptional<z.ZodObject<{

@@ -483,11 +474,6 @@ width: z.ZodNumber;

}, z.core.$strip>>;
/** @description User's language and region preference in BCP 47 format. */
locale: z.ZodOptional<z.ZodString>;
/** @description User's timezone in IANA format. */
timeZone: z.ZodOptional<z.ZodString>;
/** @description Host application identifier. */
userAgent: z.ZodOptional<z.ZodString>;
/** @description Platform type for responsive design decisions. */
platform: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"web">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">]>>;
/** @description Device input capabilities. */
deviceCapabilities: z.ZodOptional<z.ZodObject<{

@@ -497,3 +483,2 @@ touch: z.ZodOptional<z.ZodBoolean>;

}, z.core.$strip>>;
/** @description Mobile safe area boundaries in pixels. */
safeAreaInsets: z.ZodOptional<z.ZodObject<{

@@ -513,3 +498,2 @@ top: z.ZodNumber;

params: z.ZodObject<{
/** @description Metadata of the tool call that instantiated this App. */
toolInfo: z.ZodOptional<z.ZodObject<{

@@ -553,5 +537,3 @@ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;

}, z.core.$strip>>;
/** @description Current color theme preference. */
theme: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
/** @description Style configuration for theming the app. */
styles: z.ZodOptional<z.ZodObject<{

@@ -563,7 +545,4 @@ variables: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"--color-background-primary">, z.ZodLiteral<"--color-background-secondary">, z.ZodLiteral<"--color-background-tertiary">, z.ZodLiteral<"--color-background-inverse">, z.ZodLiteral<"--color-background-ghost">, z.ZodLiteral<"--color-background-info">, z.ZodLiteral<"--color-background-danger">, z.ZodLiteral<"--color-background-success">, z.ZodLiteral<"--color-background-warning">, z.ZodLiteral<"--color-background-disabled">, z.ZodLiteral<"--color-text-primary">, z.ZodLiteral<"--color-text-secondary">, z.ZodLiteral<"--color-text-tertiary">, z.ZodLiteral<"--color-text-inverse">, z.ZodLiteral<"--color-text-info">, z.ZodLiteral<"--color-text-danger">, z.ZodLiteral<"--color-text-success">, z.ZodLiteral<"--color-text-warning">, z.ZodLiteral<"--color-text-disabled">, z.ZodLiteral<"--color-text-ghost">, z.ZodLiteral<"--color-border-primary">, z.ZodLiteral<"--color-border-secondary">, z.ZodLiteral<"--color-border-tertiary">, z.ZodLiteral<"--color-border-inverse">, z.ZodLiteral<"--color-border-ghost">, z.ZodLiteral<"--color-border-info">, z.ZodLiteral<"--color-border-danger">, z.ZodLiteral<"--color-border-success">, z.ZodLiteral<"--color-border-warning">, z.ZodLiteral<"--color-border-disabled">, z.ZodLiteral<"--color-ring-primary">, z.ZodLiteral<"--color-ring-secondary">, z.ZodLiteral<"--color-ring-inverse">, z.ZodLiteral<"--color-ring-info">, z.ZodLiteral<"--color-ring-danger">, z.ZodLiteral<"--color-ring-success">, z.ZodLiteral<"--color-ring-warning">, z.ZodLiteral<"--font-sans">, z.ZodLiteral<"--font-mono">, z.ZodLiteral<"--font-weight-normal">, z.ZodLiteral<"--font-weight-medium">, z.ZodLiteral<"--font-weight-semibold">, z.ZodLiteral<"--font-weight-bold">, z.ZodLiteral<"--font-text-xs-size">, z.ZodLiteral<"--font-text-sm-size">, z.ZodLiteral<"--font-text-md-size">, z.ZodLiteral<"--font-text-lg-size">, z.ZodLiteral<"--font-heading-xs-size">, z.ZodLiteral<"--font-heading-sm-size">, z.ZodLiteral<"--font-heading-md-size">, z.ZodLiteral<"--font-heading-lg-size">, z.ZodLiteral<"--font-heading-xl-size">, z.ZodLiteral<"--font-heading-2xl-size">, z.ZodLiteral<"--font-heading-3xl-size">, z.ZodLiteral<"--font-text-xs-line-height">, z.ZodLiteral<"--font-text-sm-line-height">, z.ZodLiteral<"--font-text-md-line-height">, z.ZodLiteral<"--font-text-lg-line-height">, z.ZodLiteral<"--font-heading-xs-line-height">, z.ZodLiteral<"--font-heading-sm-line-height">, z.ZodLiteral<"--font-heading-md-line-height">, z.ZodLiteral<"--font-heading-lg-line-height">, z.ZodLiteral<"--font-heading-xl-line-height">, z.ZodLiteral<"--font-heading-2xl-line-height">, z.ZodLiteral<"--font-heading-3xl-line-height">, z.ZodLiteral<"--border-radius-xs">, z.ZodLiteral<"--border-radius-sm">, z.ZodLiteral<"--border-radius-md">, z.ZodLiteral<"--border-radius-lg">, z.ZodLiteral<"--border-radius-xl">, z.ZodLiteral<"--border-radius-full">, z.ZodLiteral<"--border-width-regular">, z.ZodLiteral<"--shadow-hairline">, z.ZodLiteral<"--shadow-sm">, z.ZodLiteral<"--shadow-md">, z.ZodLiteral<"--shadow-lg">]>, z.ZodUnion<readonly [z.ZodString, z.ZodUndefined]>>>;

}, z.core.$strip>>;
/** @description How the UI is currently displayed. */
displayMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"inline">, z.ZodLiteral<"fullscreen">, z.ZodLiteral<"pip">]>>;
/** @description Display modes the host supports. */
availableDisplayModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
/** @description Current and maximum dimensions available to the UI. */
viewport: z.ZodOptional<z.ZodObject<{

@@ -575,11 +554,6 @@ width: z.ZodNumber;

}, z.core.$strip>>;
/** @description User's language and region preference in BCP 47 format. */
locale: z.ZodOptional<z.ZodString>;
/** @description User's timezone in IANA format. */
timeZone: z.ZodOptional<z.ZodString>;
/** @description Host application identifier. */
userAgent: z.ZodOptional<z.ZodString>;
/** @description Platform type for responsive design decisions. */
platform: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"web">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">]>>;
/** @description Device input capabilities. */
deviceCapabilities: z.ZodOptional<z.ZodObject<{

@@ -589,3 +563,2 @@ touch: z.ZodOptional<z.ZodBoolean>;

}, z.core.$strip>>;
/** @description Mobile safe area boundaries in pixels. */
safeAreaInsets: z.ZodOptional<z.ZodObject<{

@@ -631,5 +604,3 @@ top: z.ZodNumber;

export declare const McpUiInitializeResultSchema: z.ZodObject<{
/** @description Negotiated protocol version string (e.g., "2025-11-21"). */
protocolVersion: z.ZodString;
/** @description Host application identification and version. */
hostInfo: z.ZodObject<{

@@ -646,3 +617,2 @@ version: z.ZodString;

}, z.core.$strip>;
/** @description Features and capabilities provided by the host. */
hostCapabilities: z.ZodObject<{

@@ -659,5 +629,3 @@ experimental: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;

}, z.core.$strip>;
/** @description Rich context about the host environment. */
hostContext: z.ZodObject<{
/** @description Metadata of the tool call that instantiated this App. */
toolInfo: z.ZodOptional<z.ZodObject<{

@@ -701,5 +669,3 @@ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;

}, z.core.$strip>>;
/** @description Current color theme preference. */
theme: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
/** @description Style configuration for theming the app. */
styles: z.ZodOptional<z.ZodObject<{

@@ -711,7 +677,4 @@ variables: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"--color-background-primary">, z.ZodLiteral<"--color-background-secondary">, z.ZodLiteral<"--color-background-tertiary">, z.ZodLiteral<"--color-background-inverse">, z.ZodLiteral<"--color-background-ghost">, z.ZodLiteral<"--color-background-info">, z.ZodLiteral<"--color-background-danger">, z.ZodLiteral<"--color-background-success">, z.ZodLiteral<"--color-background-warning">, z.ZodLiteral<"--color-background-disabled">, z.ZodLiteral<"--color-text-primary">, z.ZodLiteral<"--color-text-secondary">, z.ZodLiteral<"--color-text-tertiary">, z.ZodLiteral<"--color-text-inverse">, z.ZodLiteral<"--color-text-info">, z.ZodLiteral<"--color-text-danger">, z.ZodLiteral<"--color-text-success">, z.ZodLiteral<"--color-text-warning">, z.ZodLiteral<"--color-text-disabled">, z.ZodLiteral<"--color-text-ghost">, z.ZodLiteral<"--color-border-primary">, z.ZodLiteral<"--color-border-secondary">, z.ZodLiteral<"--color-border-tertiary">, z.ZodLiteral<"--color-border-inverse">, z.ZodLiteral<"--color-border-ghost">, z.ZodLiteral<"--color-border-info">, z.ZodLiteral<"--color-border-danger">, z.ZodLiteral<"--color-border-success">, z.ZodLiteral<"--color-border-warning">, z.ZodLiteral<"--color-border-disabled">, z.ZodLiteral<"--color-ring-primary">, z.ZodLiteral<"--color-ring-secondary">, z.ZodLiteral<"--color-ring-inverse">, z.ZodLiteral<"--color-ring-info">, z.ZodLiteral<"--color-ring-danger">, z.ZodLiteral<"--color-ring-success">, z.ZodLiteral<"--color-ring-warning">, z.ZodLiteral<"--font-sans">, z.ZodLiteral<"--font-mono">, z.ZodLiteral<"--font-weight-normal">, z.ZodLiteral<"--font-weight-medium">, z.ZodLiteral<"--font-weight-semibold">, z.ZodLiteral<"--font-weight-bold">, z.ZodLiteral<"--font-text-xs-size">, z.ZodLiteral<"--font-text-sm-size">, z.ZodLiteral<"--font-text-md-size">, z.ZodLiteral<"--font-text-lg-size">, z.ZodLiteral<"--font-heading-xs-size">, z.ZodLiteral<"--font-heading-sm-size">, z.ZodLiteral<"--font-heading-md-size">, z.ZodLiteral<"--font-heading-lg-size">, z.ZodLiteral<"--font-heading-xl-size">, z.ZodLiteral<"--font-heading-2xl-size">, z.ZodLiteral<"--font-heading-3xl-size">, z.ZodLiteral<"--font-text-xs-line-height">, z.ZodLiteral<"--font-text-sm-line-height">, z.ZodLiteral<"--font-text-md-line-height">, z.ZodLiteral<"--font-text-lg-line-height">, z.ZodLiteral<"--font-heading-xs-line-height">, z.ZodLiteral<"--font-heading-sm-line-height">, z.ZodLiteral<"--font-heading-md-line-height">, z.ZodLiteral<"--font-heading-lg-line-height">, z.ZodLiteral<"--font-heading-xl-line-height">, z.ZodLiteral<"--font-heading-2xl-line-height">, z.ZodLiteral<"--font-heading-3xl-line-height">, z.ZodLiteral<"--border-radius-xs">, z.ZodLiteral<"--border-radius-sm">, z.ZodLiteral<"--border-radius-md">, z.ZodLiteral<"--border-radius-lg">, z.ZodLiteral<"--border-radius-xl">, z.ZodLiteral<"--border-radius-full">, z.ZodLiteral<"--border-width-regular">, z.ZodLiteral<"--shadow-hairline">, z.ZodLiteral<"--shadow-sm">, z.ZodLiteral<"--shadow-md">, z.ZodLiteral<"--shadow-lg">]>, z.ZodUnion<readonly [z.ZodString, z.ZodUndefined]>>>;

}, z.core.$strip>>;
/** @description How the UI is currently displayed. */
displayMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"inline">, z.ZodLiteral<"fullscreen">, z.ZodLiteral<"pip">]>>;
/** @description Display modes the host supports. */
availableDisplayModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
/** @description Current and maximum dimensions available to the UI. */
viewport: z.ZodOptional<z.ZodObject<{

@@ -723,11 +686,6 @@ width: z.ZodNumber;

}, z.core.$strip>>;
/** @description User's language and region preference in BCP 47 format. */
locale: z.ZodOptional<z.ZodString>;
/** @description User's timezone in IANA format. */
timeZone: z.ZodOptional<z.ZodString>;
/** @description Host application identifier. */
userAgent: z.ZodOptional<z.ZodString>;
/** @description Platform type for responsive design decisions. */
platform: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"web">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">]>>;
/** @description Device input capabilities. */
deviceCapabilities: z.ZodOptional<z.ZodObject<{

@@ -737,3 +695,2 @@ touch: z.ZodOptional<z.ZodBoolean>;

}, z.core.$strip>>;
/** @description Mobile safe area boundaries in pixels. */
safeAreaInsets: z.ZodOptional<z.ZodObject<{

@@ -740,0 +697,0 @@ top: z.ZodNumber;

+1
-1

@@ -1,2 +0,2 @@

import * as z from "zod/v4";
import { z } from "zod";
import * as generated from "./schema.js";

@@ -3,0 +3,0 @@ export type McpUiThemeSchemaInferredType = z.infer<typeof generated.McpUiThemeSchema>;

@@ -8,3 +8,3 @@ {

"homepage": "https://github.com/modelcontextprotocol/ext-apps",
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",

@@ -11,0 +11,0 @@ "description": "MCP Apps SDK — Enable MCP servers to display interactive user interfaces in conversational clients.",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display