Definitions: An MCP App is an interactive UI embedded in an agent conversation.A ChatGPT App is an MCP App with optional ChatGPT-specific features.The UI of an MCP App is an MCP Resource.The API of an MCP App is an MCP Tool.More on MCP and the MCP Apps protocol.
sunpeak is three things
1. MCP App Framework
A convention-over-configuration framework for building MCP Apps with the inspector and testing built in. Like Next.js for AI chat apps.- Runtime APIs:
useToolData,useAppState,useTheme,useDisplayMode, and more - Project Scaffold: Complete dev setup with pre-configured tooling
- Convention over configuration: resources, tools, and simulations are auto-discovered from
src/andtests/
App framework documentation
Project structure, runtime APIs, deployment, and CLI reference.
2. MCP Testing Framework
Automated tests for any MCP server, no sunpeak project required. Run against replicated ChatGPT and Claude runtimes. Works with Python, Go, TypeScript, Rust, or any language.Testing documentation
Getting started, E2E, visual regression, live tests, and evals.
3. Inspector
See how your MCP server looks and behaves inside ChatGPT and Claude, without deploying to either. Works with any MCP server in any language.Inspector documentation
Full inspector guide, simulations, and sidebar controls.
The sunpeak CLI
sunpeak new- Create a new projectsunpeak dev- Start dev server with inspector and MCP endpointsunpeak build- Build resources for productionsunpeak start- Start the production MCP serversunpeak test- Run unit, E2E, visual, live, and eval testssunpeak inspect- Inspect any MCP server (standalone)sunpeak upgrade- Upgrade sunpeak to latest version
Examples
Example sunpeak resource, tool, & simulation files for an MCP App called “Review”.Resource
Each resource.tsx file exports both a ResourceConfig metadata object and the React component:
Tool
Each tool.ts file exports metadata (with a resource name), a Zod schema, and a handler: