sales
Lemlist MCP Integration for LangChain
Connect Lemlist to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Lemlist to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Lemlist MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-lemlist": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=lemlist",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=lemlist --write=deny Why Use KosmoKrator Here
Expose only Lemlist instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Lemlist Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Lemlist integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__lemlist__lemlist_list_campaigns | lemlist.lemlist_list_campaigns | Read | List all outreach campaigns in Lemlist. Returns campaign IDs, names, statuses, and other metadata. |
integration__lemlist__lemlist_get_campaign | lemlist.lemlist_get_campaign | Read | Get details of a specific Lemlist campaign by ID. Returns the full campaign configuration and statistics. |
integration__lemlist__lemlist_list_leads | lemlist.lemlist_list_leads | Read | List leads in a specific Lemlist campaign. Returns lead contact information, email status, and campaign progress. |
integration__lemlist__lemlist_add_lead | lemlist.lemlist_add_lead | Write | Add a lead to a Lemlist campaign. The lead will be queued for outreach according to the campaign schedule. |
integration__lemlist__lemlist_list_teams | lemlist.lemlist_list_teams | Read | List all teams in the Lemlist account. Returns team names, member lists, and configuration. |
integration__lemlist__lemlist_list_subaccounts | lemlist.lemlist_list_subaccounts | Read | List all sub-accounts in Lemlist. Returns sub-account names, statuses, and usage details. |
integration__lemlist__lemlist_get_current_user | lemlist.lemlist_get_current_user | Read | Get the profile of the currently authenticated Lemlist user. Returns name, email, plan, and account details. |