Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specification/draft/apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ interface HostContext {
/** Current color theme preference */
theme?: "light" | "dark" | "system";
/** How the UI is currently displayed */
displayMode?: "inline" | "fullscreen" | "pip" | "carousel";
displayMode?: "inline" | "fullscreen" | "pip";
/** Display modes the host supports */
availableDisplayModes?: string[];
/** Current and maximum dimensions available to the UI */
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export interface McpUiHostContext {
* How the UI is currently displayed.
* @example "inline"
*/
displayMode?: "inline" | "fullscreen" | "pip" | "carousel";
displayMode?: "inline" | "fullscreen" | "pip";
/**
* Display modes the host supports.
* Apps can use this to offer mode-switching UI if applicable.
Expand Down Expand Up @@ -502,7 +502,7 @@ export const McpUiHostContextSchema: z.ZodType<McpUiHostContext> = z.object({
})
.optional(),
theme: z.enum(["light", "dark", "system"]).optional(),
displayMode: z.enum(["inline", "fullscreen", "pip", "carousel"]).optional(),
displayMode: z.enum(["inline", "fullscreen", "pip"]).optional(),
availableDisplayModes: z.array(z.string()).optional(),
viewport: z
.object({
Expand Down