@live-context/cli
v0.1.0
Published
Live Context CLI — `lc connect <key>` configures Claude Code / Cursor / Claude Desktop to use Live Context's MCP.
Readme
@live-context/cli
Command-line companion for Live Context — your team's shared AI knowledge layer. The lc CLI configures your AI client (Claude Code, Cursor, Claude Desktop) to use Live Context's hosted MCP server.
Install
npx -y @live-context/cli --helpOr install globally:
npm install -g @live-context/cliCommands
lc connect <key>
Verifies your MCP API key and wires it into your AI client. If the claude CLI is on your PATH, it runs claude mcp add automatically. Otherwise it prints a JSON snippet you can paste into Claude Desktop or Cursor.
lc connect lc_team_abc123lc whoami [<key>]
Sanity-checks a key by hitting the hosted health-check endpoint. Falls back to the MCP_API_KEY environment variable if no key is passed.
lc whoami lc_team_abc123
# ✓ authenticated
# team_id: acme-team
# org_id: acme-org
# user_id: user-123Environment variables
| Variable | Purpose |
| --- | --- |
| LC_API_BASE_URL | Override the API base. Defaults to https://live-context.com. |
| MCP_API_KEY | Default key for lc whoami when no argument is provided. |
