Overview
Thesunpeak new command creates a new sunpeak project with a minimal, convention-based structure for building MCP Apps.
Usage
Create a new project interactively:Arguments
| Argument | Description |
|---|---|
projectName | Name of the project directory (optional, prompts if not provided) |
resources | Comma or space-separated list of resources to include (optional, prompts if not provided) |
What Gets Created
The framework includes:- Convention-based structure - MCP Resources auto-discovered from
src/resources/{name}/ - Simulations in tests/ - Simulation JSON files live in
tests/simulations/{name}/ - Pre-configured tooling - Vite, TypeScript, Tailwind CSS 4, Vitest
- Development scripts - Ready-to-use
dev,build,mcp, andtestcommands - Example components - Sample MCP Resources to get started quickly
Project Structure
Next Steps
After creating your project:- Navigate to your project:
cd my-app - Start the dev server:
sunpeak dev - Open
http://localhost:3000to see the simulator
Project Scaffold
Learn more about the project structure and available commands.