CLI Reference
cxp install [OPTIONS]
Register the contextpool MCP server with Claude Code and Cursor, and configure an LLM backend.
cxp install # register MCP + run backend wizard
cxp install --setup # re-run just the backend wizard
cxp install --force # overwrite existing MCP entries
cxp install --skip-claude # skip Claude Code registration
cxp install --skip-cursor # skip Cursor registration
cxp install --skip-setup # skip the backend wizard (non-interactive installs)
cxp install --binary-path <path> # path to register (defaults to current executable)
cxp install --claude-json <path> # override ~/.claude.json path
cxp install --cursor-mcp <path> # override ~/.cursor/mcp.json pathThe wizard presents four backends as distinct options:
Claude Code
Free, uses your existing Claude Code subscription. Spawns claude -p.
Anthropic API
Direct HTTP to the Messages API. Fastest, parallelizes well, works headless.
OpenAI API
OpenAI chat completions. Good if you already have a key.
NVIDIA NIM
OpenAI-compatible endpoint via NVIDIA.
Keys are saved to the system keychain and a 0600 local file — no env vars required after setup.
cxp init
Extract and store insights from your IDE sessions into the current project.
cxp init claude-code [session-ids...] [OPTIONS]
cxp init cursor [chat-ids...] [OPTIONS]
Sessions with no extractable insights are skipped — no empty .summary.md files are written.
cxp export
Bulk-export and summarize transcripts from any supported IDE.
cxp export claude-code [OPTIONS]
cxp export cursor [OPTIONS]
cxp export vscdb [OPTIONS]
Export from VS Code-style state.vscdb workspace storage (Cursor, Windsurf, other forks).
Default paths:
macOS (Cursor):
~/Library/Application Support/Cursor/User/workspaceStorageWindows (Cursor):
%APPDATA%\Cursor\User\workspaceStorage
cxp export kiro [OPTIONS]
Export a Kiro session exported with /chat save <path>.
cxp mcp [OPTIONS]
Start the MCP server. Used by your IDE config — not normally called directly.
cxp auth [team-key] [OPTIONS]
Authenticate with a ContextPool team API key.
cxp push [OPTIONS]
Push local insights to the team cloud pool.
cxp pull [OPTIONS]
Pull team insights to local cache.
cxp team [ACTION]
Show team info or list projects.
Global Flags
To reset Anthropic or OpenAI keys, re-run cxp install --setup and choose a new backend.
Last updated
Was this helpful?