Skip to main content

New projects

1

Install sunpeak

Requirements: Node.js 20+Install sunpeak globally:
pnpm add -g sunpeak
2

Create a project

Create a new project:
sunpeak new my-app
3

Install dependencies

Navigate to your project and install dependencies:
cd my-app
pnpm install
4

Develop locally

Run the development server to use your local simulator:
sunpeak dev
Open http://localhost:6767 to see the ChatGPT simulator running your app.
The simulator updates automatically as you edit your components!
5

Develop in ChatGPT

Run the MCP server and a tunnel to allow ChatGPT to connect to it:
sunpeak mcp

# In another terminal, run a tunnel. For example:
ngrok http 6766
You can then connect to the tunnel Forwarding URL at the /mcp path (e.g. https://your-random-subdomain.ngrok-free.dev/mcp) from ChatGPT in developer mode: User > Settings > Apps & Connectors > Create.

Project Scaffold

Explore your new ChatGPT App project.