KosmoKrator

sales

Lemlist MCP Integration for Claude Agent SDK

Connect Lemlist to Claude Agent SDK 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 Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Lemlist MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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 Claude Agent SDK

Claude Agent SDK 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