sales
Lemlist MCP Integration for Vercel AI SDK
Connect Lemlist to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Lemlist to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Lemlist MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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. |