Documentation Index
Fetch the complete documentation index at: https://gofastmcp.com/llms.txt
Use this file to discover all available pages before exploring further.
fastmcp.server.providers.prefab_synthesis
On-demand Prefab renderer resource synthesis.
Tools marked as Prefab (via app=True, PrefabAppConfig, etc.) carry
a placeholder meta.ui.resourceUri and optionally a hash in
meta.fastmcp._tool_hash. This module synthesizes per-tool renderer
resources on demand at list_resources and read_resource time
without storing or materializing anything.
Each tool’s resource URI is ui://prefab/tool/<hash>/renderer.html
where the hash comes from the tool’s own meta (set at registration from
the app name + tool name). CSP on the resource is the tool’s
meta.ui.csp merged with the renderer defaults across all four
*_domains fields.

