Optional ReadonlydescriptionOptional resource description (defaults to app description)
Optional ReadonlymimeMIME type of the resource content (default: 'text/html;profile=mcp-app')
Optional ReadonlynameOptional resource name (defaults to app name)
Read the resource content.
Resource content as string (text) or Uint8Array (binary)
ReadonlyuriStatic resource URI — must use ui:// scheme (e.g., 'ui://calculator')
Resource definition embedded within an AppDefinition.
Declares the UI resource that backs the MCP App. The resource is registered automatically when
defineApp()is called.