Skip to content

LiveStore CLI

The LiveStore CLI provides tools for creating new projects and integrating with AI assistants through MCP (Model Context Protocol).

You can use the LiveStore CLI in several ways:

Terminal window
# Recommended: Use bunx (no installation needed)
bunx @livestore/cli --help
# Alternative options:
npm install -g @livestore/cli # Global install
npm install -D @livestore/cli # Project install
npx @livestore/cli --help # Use with npx

Create a new LiveStore project from available examples.

Terminal window
# Interactive selection
bunx @livestore/cli new-project
# Specify example and path
bunx @livestore/cli new-project --example web-todomvc my-project
# Use specific branch
bunx @livestore/cli new-project --branch dev

MCP server tools for AI assistant integration. See MCP Integration for details.

Terminal window
# Start MCP server
bunx @livestore/cli mcp
# Available subcommands
bunx @livestore/cli mcp coach # AI coaching assistant (requires API key env var)
bunx @livestore/cli mcp tools # Development tools server
# Coach command requires API key - check implementation for specific variable name
# Example: OPENAI_API_KEY=your_key bunx @livestore/cli mcp coach
  • --verbose - Enable verbose logging
  • --help - Show command help