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. Inspector
Inspector
Test any MCP server in replicated ChatGPT and Claude runtimes.
- Multi-host inspector replicating ChatGPT and Claude runtimes
- Toggle themes, display modes, device types from the sidebar or URL params
- Call real tool handlers or use simulation fixtures for mock data
- Built into
sunpeak devfor framework users
2. Testing Framework
Testing
Automated tests powered by the inspector and simulations.
sunpeak/test, get a live fixture that handles auth, message sending, and iframe access:
3. App Framework
Next.js for MCP Apps. Convention-over-configuration with the inspector and testing built in.- Runtime APIs: Multi-platform React hooks for the MCP Apps runtime
- Project Scaffold: Complete dev setup with pre-configured tooling
- UI Components: Production-ready components following MCP App design guidelines
- Convention over configuration: resources, tools, and simulations are auto-discovered from
src/andtests/
The sunpeak CLI
sunpeak new- Create a new projectsunpeak dev- Start dev server with inspector and MCP endpointsunpeak inspect- Inspect any MCP server (standalone)sunpeak test- Run unit, E2E, visual, live, and eval testssunpeak build- Build resources for productionsunpeak start- Start the production MCP serversunpeak 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: