Add it to Claude Code
claude mcp add lhremote -- npx lhremote mcpMake your agent remember this setup
lhremote's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- App management to detect, launch, and quit LinkedHelper instances
- Account and instance control for starting and stopping LinkedIn automation
- Full campaign automation including creation, configuration, and monitoring
- LinkedIn profile import and cached profile search capabilities
- Messaging history querying and conversation scraping
Tools 5
find-appDetect a running LinkedHelper instancelaunch-appLaunch a LinkedHelper instancelist-accountsList available LinkedIn accountscampaign-createCreate a campaign from configurationcampaign-startRun a specific campaignTry it
Original README from alexey-pelykh/lhremote
lhremote: LinkedHelper Automation Toolkit
CLI and MCP server for LinkedHelper automation.
This project is brought to you by Alexey Pelykh.
What It Does
lhremote lets AI assistants (Claude, etc.) control LinkedHelper through the Model Context Protocol. It can:
- App management — detect, launch, and quit LinkedHelper instances
- Account & instance control — list accounts, start/stop instances, check status
- Campaign automation — create, configure, start, stop, and monitor campaigns with full action-chain management
- People import — import LinkedIn profile URLs into campaign target lists
- Profile queries — look up and search cached LinkedIn profiles from the local database
- Messaging — query messaging history, check for new replies, scrape conversations from LinkedIn
- Action discovery — list available LinkedHelper action types with configuration schemas
New to lhremote? Check out the Getting Started guide for a step-by-step walkthrough.
Prerequisites
- Node.js >= 24
- LinkedHelper desktop application (requires a paid subscription)
Installation
npm install -g lhremote
Or run directly with npx:
npx lhremote --help
Usage with Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"lhremote": {
"command": "npx",
"args": ["lhremote", "mcp"]
}
}
}
Once configured, Claude can use all 44 tools directly. A typical workflow:
find-app— Detect a running LinkedHelper instance (orlaunch-appto start one)list-accounts— See available LinkedIn accountsstart-instance— Start an instance for an accountdescribe-actions— Explore available action typescampaign-create— Create a campaign from YAML/JSON configurationimport-people-from-urls— Import target LinkedIn profiles into the campaigncampaign-start— Run the campaigncampaign-status/campaign-statistics— Monitor progressquery-messages/check-replies— Review messaging results
CLI Usage
The lhremote command provides the same functionality as the MCP server. Every MCP tool has a corresponding CLI command.
App Management
lhremote find-app [--json]
lhremote launch-app [--cdp-port ] [--force]
lhremote quit-app [--cdp-port ]
Account & Instance
lhremote list-accounts [--cdp-port ] [--json]
lhremote start-instance <accountId> [--cdp-port ]
lhremote stop-instance <accountId> [--cdp-port ]
lhremote check-status [--cdp-port ] [--json]
Campaigns
lhremote campaign-list [--include-archived] [--json]
lhremote campaign-create --file | --yaml <config> | --json-input <config> [--cdp-port ] [--json]
lhremote campaign-get <campaignId> [--cdp-port ] [--json]
lhremote campaign-export <campaignId> [--format yaml|json] [--output ] [--cdp-port ]
lhremote campaign-update <campaignId> [--name <name>] [--description <text>] [--clear-description] [--cdp-port ] [--json]
lhremote campaign-delete <campaignId> [--cdp-port ] [--json]
lhremote campaign-start <campaignId> --person-ids <ids> | --person-ids-file [--cdp-port ] [--json]
lhremote campaign-stop <campaignId> [--cdp-port ] [--json]
lhremote campaign-status <campaignId> [--include-results] [--limit <n>] [--cdp-port ] [--json]
lhremote campaign-statistics <campaignId> [--action-id <id>] [--max-errors <n>] [--cdp-port ] [--json]
lhremote campaign-retry <campaignId> --person-ids <ids> | --person-ids-file [--cdp-port ] [--json]
lhremote campaign-list-people <campaignId> [--action-id <id>] [--status <status>] [--limit <n>] [--offset <n>] [--cdp-port ] [--json]
Campaign Actions
lhremote campaign-add-action <campaignId> --name <name> --action-type <type> [--description <text>] [--cool-down <ms>] [--max-results <n>] [--action-settings <json>] [--cdp-port ] [--json]
lhremote campaign-remove-action <campaignId> <actionId>