परिचय
AI SDK के साथ MCP Apps host बनाने की Vercel Knowledge Base guide। इसमें दिखाया गया है कि `@ai-sdk/mcp` और `@ai-sdk/react` model-visible tools को app-only tools से कैसे अलग करते हैं, `ui://` resources पढ़ते हैं और `experimental_MCPAppRenderer` से sandboxed iframe के भीतर interactive tool UIs render करते हैं।
सारांश
1. ठोस host implementation: MCP Apps को protocol concept से काम करने वाली React app wiring तक लाती है
2. Tool visibility model: model-visible और app-visible tools को अलग रखने का तरीका बताती है
3. Resource rendering path: hosts द्वारा `ui://` resources पढ़कर HTML को सुरक्षित render करना दिखाती है
4. Security boundary: sandboxed iframe rendering और अनुमत tool proxying पर जोर देती है
5. Collection fit: MCP Apps standard entry को मौजूदा Vercel AI SDK integration path से पूरा करती है