Skip to main content

Overview

The sunpeak CLI provides commands for managing MCP Apps, from project creation to local development and production builds.

Commands

The CLI includes commands for project management and development:
CommandDescription
sunpeak newCreate a new sunpeak project
sunpeak devStart the development server (includes simulator and MCP server)
sunpeak buildBuild production bundles
sunpeak upgradeUpgrade sunpeak to the latest version
The CLI is included when you install sunpeak. No separate installation required!

Development Workflow

The typical development workflow with sunpeak:
  1. Create a new project with sunpeak new
  2. Develop your resources using sunpeak dev for live preview in the simulator
  3. Test your app with automated e2e tests using the ChatGPT simulator
  4. Build for production with sunpeak build
  5. Deploy your MCP server with the built resources

Dive Deeper

CLI API Reference

Detailed documentation for all CLI commands.