> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Function: McpApps()

> **McpApps**(`props`: [`McpAppsProps`](/next/zh/api/genui/mcp-apps/interfaces/McpAppsProps.md)): `Element`

渲染经过校验的本地 MCP Apps 数据；没有已注册的渲染器与宿主数据匹配时，回退为流式 Markdown。

## Parameters

| Parameter | Type                                                                     |
| --------- | ------------------------------------------------------------------------ |
| `props`   | [`McpAppsProps`](/next/zh/api/genui/mcp-apps/interfaces/McpAppsProps.md) |

## Returns

`Element`
