sales
Lemlist MCP Integration for OpenAI Agents SDK
Connect Lemlist to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Lemlist to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Lemlist MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |