Dashboard

ctxfile ui starts a local dashboard: a cockpit for snapshots, the captured context, and Pro features. It is a viewer and control surface over the same engine the MCP server uses; agents never need it.

Starting it

ctxfile ui                # opens your browser
ctxfile ui --no-open      # just prints the URL
ctxfile ui --port 5000    # explicit port (default 4747)

The printed URL carries a one-time access token in the URL fragment. Open the dashboard through that URL; a bare http://127.0.0.1:4747 is refused. The server binds to 127.0.0.1 only, sends a strict Content-Security-Policy, and is never reachable from your network.

Views

ViewWhat it shows
OverviewRun snapshots and watch them live: each connector lights up as it starts and finishes (streamed over SSE), the token meter fills against the budget, and recent snapshots chart their token usage. Stats: tokens used, key files, redactions, snapshot age (flags stale).
ContextThe captured ContextObject as a filterable, virtualised tree: plan, every key file with its token count and redactions, git state, Notion pages, notes, sessions. Files open in a syntax-coloured view with line numbers and wrap; plan, notes, and session text render as Markdown; the JSON view is collapsible. Scope switch (full / plan / files / git) and “Copy payload”.
GitStaged / modified / untracked columns, a commit timeline, and the diff summary as diffstat bars with a raw toggle.
Sessions (Pro)Session digests from every connected tool, grouped by day, with per-source filters and search. Each shows source, turn count, and last activity.
MemoryFree: imported memory by scope (global and this project), a pending queue with approve and reject, and an Import sheet that copies the export prompt and takes a pasted reply. Pro adds the encrypted memory entries below it, grouped by the agent that wrote them, with provenance, search, and forget behind a confirmation.
Playbooks (Pro)Reusable prompts distilled from your sessions: filter, copy, expand, remove; placeholders like <feature> are highlighted so you know what to fill in.
Consult (Pro)Ask your configured providers a question; answers stream as Markdown in side-by-side columns, with a Stop button and suggested questions to start from.
SettingsThe network gauge (how many remote opt-ins are enabled; 0 means fully local), resolved configuration, connector status, license activation and feature flags, and the privacy defaults.

Keyboard

KeyAction
RRun a snapshot from any view.
⌘K / Ctrl+KCommand palette: fuzzy search, grouped by views, actions, and settings.
1 – 8Switch views.
/Focus the filter in the current view.
[Collapse or expand the sidebar.
?Shortcuts help.
EscClose palettes and dialogs.

License activation

Paste a Pro key into Settings → License (or run ctxfile activate <key>). Verification is local Ed25519; the tier, expiry, and per-feature flags render immediately. See Pro.

Behavior worth knowing