Optional_Optional UI metadata for the resource.
This appears on the resource entry in resources/list and acts as a listing-level
fallback. Individual content items returned by resources/read may include their
own _meta.ui which takes precedence over this value.
Optionalui?: McpUiResourceMetaUI-specific metadata including CSP configuration and rendering preferences.
OptionalannotationsOptionaldescriptionOptionaliconsOptionalmimeOptionaltitle
MCP App Resource configuration for
registerAppResource.Extends the base MCP SDK
ResourceMetadatawith optional UI metadata for configuring security policies and rendering preferences.The
_meta.uifield here is included in theresources/listresponse and serves as a static default for hosts to review at connection time. When theresources/readcontent item also includes_meta.ui, the content-item value takes precedence.See
registerAppResourcefor usage