KosmoKrator

sales

Lemlist MCP Integration for LangGraph

Connect Lemlist to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Username and password auth

Connect Lemlist to LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

Lemlist MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

{
  "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

Scoped tools

Expose only Lemlist instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Lemlist Tools Visible to LangGraph

LangGraph sees stable MCP tool names generated from the Lemlist integration catalog.

MCP toolSource functionTypeDescription
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.

Related Lemlist Pages