sales
Lemlist MCP, CLI, and Lua Integration for AI Agents
Lemlist integration docs for AI agents: MCP gateway setup, Lemlist CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Username and password auth
Lemlist for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
lemlist- route_slug
lemlist- package
lemlist- auth_strategy
basicUsername and password- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Lemlist CLIHeadless setup and direct function calls. Lemlist MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Lemlist MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Lemlist.
Claude Code Lemlist MCP setup for Claude Code. Cursor Lemlist MCP setup for Cursor. Codex Lemlist MCP setup for Codex. OpenAI Agents Lemlist MCP setup for OpenAI Agents SDK. Claude Agent SDK Lemlist MCP setup for Claude Agent SDK. Vercel AI SDK Lemlist MCP setup for Vercel AI SDK. LangChain Lemlist MCP setup for LangChain. LangGraph Lemlist MCP setup for LangGraph. CrewAI Lemlist MCP setup for CrewAI. MCP clients Lemlist MCP setup for Generic MCP Clients.
Lemlist CLI Matrix
Use these pages for direct Lemlist CLI workflows in scripts, CI, cron, and agent wrappers.
CI Lemlist CLI for CI. Cron Jobs Lemlist CLI for cron jobs. Shell Scripts Lemlist CLI for shell scripts. Headless Automation Lemlist CLI for headless automation. Coding Agents Lemlist CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
lemlist.lemlist_list_campaigns | Read read | 3 | List all outreach campaigns in Lemlist. Returns campaign IDs, names, statuses, and other metadata. |
lemlist.lemlist_get_campaign | Read read | 1 | Get details of a specific Lemlist campaign by ID. Returns the full campaign configuration and statistics. |
lemlist.lemlist_list_leads | Read read | 4 | List leads in a specific Lemlist campaign. Returns lead contact information, email status, and campaign progress. |
lemlist.lemlist_add_lead | Write write | 8 | Add a lead to a Lemlist campaign. The lead will be queued for outreach according to the campaign schedule. |
lemlist.lemlist_list_teams | Read read | 0 | List all teams in the Lemlist account. Returns team names, member lists, and configuration. |
lemlist.lemlist_list_subaccounts | Read read | 0 | List all sub-accounts in Lemlist. Returns sub-account names, statuses, and usage details. |
lemlist.lemlist_get_current_user | Read read | 0 | Get the profile of the currently authenticated Lemlist user. Returns name, email, plan, and account details. |