Model Context Protocol App (MCP-App)
Fachbücher zum Thema Model Context Protocol App (MCP-App)Der MCP-Host stellt die MCP-App direkt in seiner Oberfläche dar.
Die MCP-App kann auch Nachrichten an den MCP-Host senden. Der Host kann dafür eine Benutzerbestätigung verlangen.
MCP-Apps in .NETNuGet: ModelContextProtocol.Extensions.Apps
Program.cs: WithMcpApps()
Auf dem MCP-Tool: [McpAppUi(ResourceUri = FindFlightAppResourceUri)]
Auf der Ressource: [McpServerResourceType] + [McpServerResource]
McpApps.HtmlMimeType ("text/html;profile=mcp-app") signalisiert MCP-Apps-fähigen Clients (Capability "io.modelcontextprotocol/ui"), den Inhalt in einem Sandbox-Iframe zu rendern, statt ihn als Text anzuzeigen.
Aktualisiert: 14.09.2026