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 - Resources auto-discovered from
src/resources/{name}/, tools fromsrc/tools/, simulations fromtests/simulations/ - Tool files - Real tool handlers with Zod schemas in
src/tools/ - 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 sunpeak-app - Start the dev server:
sunpeak dev - Open
http://localhost:3000to see the inspector
Project Scaffold
Learn more about the project structure and available commands.