Onelence Sales CLI (@crelora/olsales-cli)
Operator CLI and Model Context Protocol (MCP) server for remote sales pipeline management, outreach staging, attention feeds, and AI agent integration.
Installation
Method 1: Direct Git Installation (Private & Free)
Install directly from your private GitHub repository on any machine:
npm install -g https://github.com/crelora/onelence-sales
Method 2: Public Scoped NPM Package
Or install via NPM / npx:
npx @crelora/olsales-cli login
npm install -g @crelora/olsales-cli
Quickstart
1. Authenticate with Onelence Sales
Zero-configuration by default: URL and credentials are completely optional. Running olsales login with no arguments automatically opens the interactive browser wizard for https://sales.onelence.com.
olsales login
olsales login --url=https://staging.sales.company.com
olsales login --email=user@company.com --password="YourPassword"
olsales login --key="your-api-key"
olsales whoami
Credentials are saved securely in ~/.olsales/config.json with user-only (0o600) file permissions.
Commands Overview
Attention & Focus Feed
olsales focus summary
olsales focus list --bucket=needsReply --markdown
olsales focus list --bucket=followUpDue
Lead Investigation & Pipeline
olsales lead search "Fintech" --stage=qualified --min-score=80
olsales lead get awin:12345 --history --markdown
olsales lead stage awin:12345 engaged --notes="Spoke with VP of Partnerships"
olsales lead follow-up awin:12345 3 --notes="Check on contract review"
olsales lead snooze awin:12345 7
Email Outreach & Dry-Run
olsales lead reply awin:12345 --text="Hello team, following up on our proposal." --dry-run
olsales lead reply awin:12345 --text="Attached is our pitch deck." --doc=deck_v2
Emergency Controls
olsales pause status
olsales pause enable --reason="Server maintenance"
olsales pause disable
MCP Server Integration for AI Agents (Claude Desktop, Cursor, Cline)
Add this to your claude_desktop_config.json or Cursor MCP settings:
{
"mcpServers": {
"olsales": {
"command": "olsales",
"args": ["mcp"]
}
}
}
Or run via npx:
{
"mcpServers": {
"olsales": {
"command": "npx",
"args": ["-y", "@crelora/olsales-cli", "mcp"]
}
}
}