Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Commands

Cerebro provides the following CLI commands:

Build Commands

cerebro build

Generate the dashboard. Uses cached data where fresh.

cerebro build                    # Build all projects
cerebro build --project my-proj  # Build specific project
cerebro build --fresh            # Force rebuild, ignoring cache

cerebro serve

Serve the generated dashboard with mdBook locally.

cerebro serve              # Default port is 3000
cerebro serve --port 8080  # Custom port

Note: This spawns mdbook in the configured output_dir and exits immediately. For a persistent server, run mdbook serve directly in your cortex.

Status Commands

cerebro status

Check cache status for all projects.

cerebro status

Shows:

  • Last build time per project
  • Cache TTL remaining
  • Any stale data

MCP Commands

cerebro mcp

Start the cerebro MCP server for OpenCode integration. Reads from the cortex directory containing the config file.

cerebro mcp

Requires CORTEX_PATH environment variable or a config file in the current directory.

TUI

cerebro tui

Launch the terminal UI for browsing projects interactively.

cerebro tui

The TUI shares data types with the CLI (cerebro-core) and reads the same cortex content that mdbook renders. A standalone binary cerebro-tui is also available for running the TUI independently.