LiveStore CLI
The LiveStore CLI provides tools for creating new projects and integrating with AI assistants through MCP (Model Context Protocol).
Installation
Section titled “Installation”You can use the LiveStore CLI in several ways:
# Recommended: Use bunx (no installation needed)bunx @livestore/cli --help
# Alternative options:npm install -g @livestore/cli # Global installnpm install -D @livestore/cli # Project installnpx @livestore/cli --help # Use with npx
Commands
Section titled “Commands”bunx @livestore/cli new-project
Section titled “bunx @livestore/cli new-project”Create a new LiveStore project from available examples.
# Interactive selectionbunx @livestore/cli new-project
# Specify example and pathbunx @livestore/cli new-project --example web-todomvc my-project
# Use specific branchbunx @livestore/cli new-project --branch dev
bunx @livestore/cli mcp
Section titled “bunx @livestore/cli mcp”MCP server tools for AI assistant integration. See MCP Integration for details.
# Start MCP serverbunx @livestore/cli mcp
# Available subcommandsbunx @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
Global Options
Section titled “Global Options”--verbose
- Enable verbose logging--help
- Show command help