File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments