Skip to content
Merged
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
12 changes: 6 additions & 6 deletions specification/draft/apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ interface UIResource {
_meta?: UIResourceMeta // Resource Metadata
}

interface UiResourceMeta {
interface UIResourceMeta {
csp?: {
connectDomains?: string[],
resourceDomains?: string[],
Expand Down Expand Up @@ -398,7 +398,7 @@ Example:

### MCP Apps Specific Messages

MCP-UI introduces additional JSON-RPC methods for UI-specific functionality:
MCP Apps introduces additional JSON-RPC methods for UI-specific functionality:

#### Requests (UI → Host)

Expand Down Expand Up @@ -585,7 +585,7 @@ Host SHOULD wait for a response before tearing down the resource (to prevent dat
}
```

Guest UI SHOULD send this notification when rendered content body size changes (e.g. using ResizeObserver API to report up to date size)
Guest UI SHOULD send this notification when rendered content body size changes (e.g. using ResizeObserver API to report up to date size).

`ui/host-context-change` - Host context has changed

Expand Down Expand Up @@ -640,8 +640,8 @@ sequenceDiagram
participant S as MCP Server

autonumber
S -->> H: resources/list (includes ui:// resources)
S -->> H: tools/list (includes tools with ui/resourceUri metadata)
S -->> H: resources/list (includes ui:// resources)
S -->> H: tools/list (includes tools with ui/resourceUri metadata)
```

#### 2. UI Initialization (Desktop/Native Hosts)
Expand Down Expand Up @@ -706,7 +706,7 @@ sequenceDiagram
H -->> H: Process message and follow up
else Notify
UI ->> H: notifications/message
H ->> H: Process notifation and store in context
H ->> H: Process notification and store in context
else Resource read
UI ->> H: resources/read
H ->> S: resources/read
Expand Down