Skip to main content
lc is the LivingContext command-line client. From any terminal it can search and read your docs, draft reviewed doc changes, explore your Salesforce org intelligence, check integration status, and start agent runs — all under your organization’s permissions.

Install

The installer places a single self-contained file on your machine and a launcher on your PATH. There are no other dependencies — lc runs on Bun if it’s installed, otherwise Node 20+.

Sign in

lc uses two independent keys, each minted in the app and each unlocking a different set of commands: lc login prompts for whichever keys you have and stores them in a private config file on your machine (readable only by you). You can also set them per-session with the LC_MCP_KEY and LC_AGENT_KEY environment variables, or point at a specific instance with LC_BASE_URL (or lc login --base-url). Run lc status any time to confirm connectivity and that your keys are valid.

What you can do

Docs

search for docs, get one’s markdown, and list recent changes.

Reviewed writes

doc create, doc update, and doc tag — every write lands as a change request.

Salesforce intelligence

sf context, search, deps, schema, access, debt, and more.

Agent runs

agent run an instruction and stream its status, then agent get / agent list.

Common commands

Most read commands accept --json to print the raw payload for scripting.

Writing docs

Writes never go straight to main — they land as a change request for human review, exactly like edits made in the app:
Add --submit to open the pull request immediately, or lc doc submit <changeRequestId> later.

Command reference

Arguments in <angle brackets> are required; [square brackets] are optional. Repeatable flags are marked ....

Scripting

lc is built to compose with shell pipelines:
  • Most read commands accept --json to emit the raw payload instead of the human-readable rendering.
  • Exit codes are strict: 0 on success, 1 on any failure (bad usage, HTTP or tool errors, a failed or cancelled agent run) — safe to chain with &&.
  • lc get keeps markdown on stdout and metadata on stderr, so lc get <docId> > page.md captures clean content.
  • For CI, skip the config file and pass keys through the environment:

Troubleshooting

To uninstall, delete the launcher, the bundle, and (optionally) your config:
lc speaks to the same MCP server your AI coding tools use, so it inherits the same guarantees: keys are org-scoped, your membership is re-checked on every call, and writes respect your role and always end at review.
Run lc help for the full command list, or lc tools to see every underlying tool.