Skip to content

Commit abd7a83

Browse files
committed
fix: json style
1 parent 71590d7 commit abd7a83

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specification/draft/apps.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ interface UIResource {
5656
uri: string; // MUST start with 'ui://'
5757
name: string; // Human-readable identifier
5858
description?: string; // Description of the UI resource
59-
mimeType: string; // SHOULD be 'text/html' in MVP
59+
mimeType: string; // SHOULD be 'text/vnd.mcp.ui+html' in MVP
6060
_meta?: UIResourceMeta // Resource Metadata
6161
}
6262
```
@@ -166,11 +166,11 @@ Example:
166166
"uri": "ui://weather-server/dashboard-template",
167167
"mimeType": "text/vnd.mcp.ui+html",
168168
"text": "<!DOCTYPE html><html>...</html>",
169-
_meta: {
169+
"_meta": {
170170
"ui" : {
171171
"csp": {
172-
connect_domains: ["https://api.openweathermap.org"],
173-
resource_domains: ["https://cdn.jsdelivr.net"]
172+
"connect_domains": ["https://api.openweathermap.org"],
173+
"resource_domains": ["https://cdn.jsdelivr.net"]
174174
},
175175
"prefersBorder": true
176176
}

0 commit comments

Comments
 (0)