Skip to main content

Overview

The sunpeak new command creates a new sunpeak project with a minimal, convention-based structure for building MCP Apps.

Usage

Create a new project interactively:
Or specify a project name:
Or specify both project name and resources to include:

Arguments

What Gets Created

The framework includes:
  • Convention-based structure - Resources auto-discovered from src/resources/{name}/, tools from src/tools/, simulations from tests/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, and test commands
  • Example components - Sample MCP Resources to get started quickly

Project Structure

Next Steps

After creating your project:
  1. Navigate to your project: cd sunpeak-app
  2. Start the dev server: pnpm dev
  3. Open http://localhost:3000 to see the inspector

Project Scaffold

Learn more about the project structure and available commands.