~/.clickwheel/config.yaml. Only
music_dir is required.
Minimal config
~/.clickwheel/config.yaml
Settings
Environment variables override the config file. Each is the setting name inUPPER_CASE (e.g. MUSIC_DIR), except the library_* settings, which add a
CLICKWHEEL_ prefix.
Integration settings
Plex, Apple Music, and Last.fm each add their own settings (server URLs, tokens, API keys, path remap). Set them up in their guides, and keep secrets in~/.clickwheel/.env rather than in config.yaml:
How auto-scan works
select, edit, diff, and sync auto-scan when the catalog looks stale, via
a cheap two-tier check:
- Probe: re-scans if a top-level folder in
music_diris newer than the last scan (a new artist or album). - Fallback: re-scans anyway once
auto_scan_staleness_minuteshas elapsed, catching tracks added inside existing albums that the probe can’t see.
Skip or tune it
Skip or tune it
- Pass
--no-scanto any command to skip both tiers and use cached data. - Set
auto_scan: falseto disable it for the whole session. - Lower
auto_scan_staleness_minutesif you often add tracks inside existing albums and want the fallback to fire sooner.
When you must scan manually
When you must scan manually
The probe can’t see metadata-only edits inside files. After
clickwheel fix or any external tag editor, run clickwheel scan so the
catalog picks up the new tags. The MCP server never auto-scans: run
clickwheel scan in a terminal and the next chat session sees the change.MCP server environment
The MCP server is configured by environment variables (not the YAML file), all prefixedCLICKWHEEL_MCP_. The default transport is stdio for local desktop
clients, which needs none of these; the rest configure the HTTP transport
for remote access (see Remote / mobile access). The HTTP
server binds 127.0.0.1:8000/mcp by default; the HOST, PORT, and PATH
vars override that if needed.
Where data lives
clickwheel stores its catalog at~/.clickwheel/clickwheel.db (SQLite). The
location isn’t configurable. The database is safe to delete; clickwheel scan
rebuilds it from your music directory.
