← Back to Docs

CLI Reference

Automate your workflow with the SourcePrep command-line interface.

Overview

The SourcePrep CLI is included with the desktop app and provides a command-line interface for managing the daemon and interacting with your local index.

Common Workflows

  • Running the Server: prep serve (Required for Dashboard & MCP)
  • Adding Projects: prep add .
  • Debugging: prep status and prep search "query"
Loading component preview…

Live demo: An AI agent using SourcePrep's semantic search and structural trace expansion.