---
title: prefab
sidebarTitle: prefab
---
# `fastmcp.utilities.prefab`
Lazy helpers for FastMCP's optional Prefab UI integration.
## Functions
### `prefab_available`
```python
prefab_available() -> bool
```
Return whether Prefab UI is installed without importing it.
### `is_prefab_type`
```python
is_prefab_type(candidate: Any) -> bool
```
Return whether a type is a Prefab app or component type.
### `is_prefab_app`
```python
is_prefab_app(value: Any) -> bool
```
Return whether a value is a Prefab app.
### `is_prefab_component`
```python
is_prefab_component(value: Any) -> bool
```
Return whether a value is a Prefab component.
### `prefab_app_from_component`
```python
prefab_app_from_component(component: Any) -> Any
```
Wrap a Prefab component in a Prefab app.