OptionalcspCSP domains the host must allow → resource _meta.ui.csp. The framework
appends the server origin to connectDomains and the configured assets
origin (or server origin) to resourceDomains at emission time. Other
author-set fields (frameDomains, baseUriDomains, …) pass through.
OptionaldescriptionHuman-readable description of the view resource → the resource's
description on resources/list and resources/read.
OptionaldomainDedicated origin hint for hosts that render views on a separate domain →
resource _meta.ui.domain.
View directory / registry name, e.g. "product-search-result".
OptionalpermissionsSandbox permissions the view needs → resource _meta.ui.permissions.
OptionalprefersAsk the host to draw a border around the view → resource
_meta.ui.prefersBorder.
Binds a tool to a view directory for MCP Apps rendering.
A view may have at most one bound tool. That tool owns the resource facts (
description,csp,permissions,domain,prefersBorder); a second tool that names the same view is rejected. The view file exports the component, while the framework emits these fields on the view's MCP resource, where hosts read_meta.ui.