← Back

About

This is a minimal starter for building MCP Apps with Next.js. It demonstrates client-side navigation working inside ChatGPT's sandboxed iframe.

The MCP server at /mcp self-fetches this Next.js app's rendered HTML and serves it as an MCP resource. The useMcpApp hook connects to the host via the App class from @modelcontextprotocol/ext-apps.