Home / Companies / Vercel / Blog / Post Details
Content Deep Dive

Running Next.js in ChatGPT: How to Build ChatGPT Apps

Blog post from Vercel

Post Details
Company
Date Published
Author
Andrew Qu
Word Count
3,673
Company Posts That Month
18
Language
English
Hacker News Points
-
Post removed?
No
Summary

OpenAI's introduction of the Apps SDK with Model Context Protocol (MCP) support has enabled developers to embed interactive web applications, such as those built with Next.js, directly into ChatGPT conversations. By leveraging MCP, which functions similarly to REST or GraphQL for AI models, developers can integrate their applications into ChatGPT's triple-iframe architecture, overcoming challenges such as asset loading, client-side navigation, and cross-origin requests. While the security model of ChatGPT's architecture presents technical hurdles, such as broken Next.js features due to the nested iframes, these can be addressed through various patches like setting asset prefixes, rewriting fetch requests, and using CORS headers. The use of these patches allows developers to maintain the full functionality of Next.js apps, including React Server Components and dynamic routing, ensuring a native-feeling user experience within ChatGPT. Additionally, with the provided starter template, developers can quickly deploy Next.js apps to Vercel, benefiting from seamless user interactions and the extensive reach of ChatGPT's user base.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
MCP 15 4,861 352 133 +57%
Real-time 3 6,551 1,245 236 +61%
Vector Search 2 1,589 336 137 +6%
AI Agents 1 3,102 615 183 +29%
Developer Experience 1 751 292 103 +58%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.