> 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: createAppRendererRegistry()

> **createAppRendererRegistry**(`renderers`: readonly [`AppRenderer`](/next/zh/api/genui/mcp-apps/interfaces/AppRenderer.md)\[]): [`AppRendererRegistry`](/next/zh/api/genui/mcp-apps/interfaces/AppRendererRegistry.md)

为本地提供的渲染器创建一个不可变的查找接口。

## Parameters

| Parameter   | Type                                                                               |
| ----------- | ---------------------------------------------------------------------------------- |
| `renderers` | readonly [`AppRenderer`](/next/zh/api/genui/mcp-apps/interfaces/AppRenderer.md)\[] |

## Returns

[`AppRendererRegistry`](/next/zh/api/genui/mcp-apps/interfaces/AppRendererRegistry.md)
