smartlead_download_campaign_dataLABSCO SUMMARY
Two ways in: a chat client, or an n8n workflow.
Shipping both stdio and SSE from the same binary is what makes this usable beyond a chat window — the same campaign tooling drives an automation graph. Read the licence before building on it: features are unlocked, but the code is proprietary rather than open source.
What it is
A simplified interface to the Smartlead API for AI assistants and automation tools. It runs as a stdio server for chat clients or as an SSE server for workflow tools, and every feature is enabled by default with no licence key.
What you get
- Campaign and lead management, statistics and analytics, smart delivery and webhooks, client management and smart senders
smartlead_download_campaign_data— export a campaign asanalytics,leads,sequenceorfull_export, injsonorcsv, with an optional user identifiersmartlead_view_download_statistics— download activity overall,today,weekormonth, grouped by type, format, campaign or date- Downloads are tracked locally in
~/.smartlead-mcp/downloads.json - Two run modes:
npx smartlead-mcp-server startfor Claude,npx smartlead-mcp-server ssefor n8n, which then connects to the SSE URL and message URL on port 3000
Requirements
A Smartlead API key. The first run prompts for it, or set SMARTLEAD_API_KEY in the client's env block; npx smartlead-mcp-server config sets credentials up front and --api-key does it non-interactively. Install with npm install smartlead-mcp-server@1.2.1 or run it straight through npx. No licence key is required. The software is proprietary and confidential — copying, redistribution and use are restricted without permission from Jean Technologies.
Setup effort
One command plus a key — npm install smartlead-mcp-server@1.2.1, then supply credentials
USE CASES
Getting campaign numbers out without the dashboard
Export the campaign's analytics as JSON or CSV and analyse it in the conversation.
Pulling a lead list for another system
Download the leads export for the campaign in the format the receiving tool expects.
Wiring Smartlead into an automation
Run the server in SSE mode and point an n8n MCP client node at it so workflows can use the same tools.
Checking what has been exported lately
Review download activity for the week grouped by campaign before exporting again.
2 tools
Listed in project docs. Your client may show a different list.
smartlead_view_download_statisticsBEFORE YOU INSTALL
What to know first
Tools you get
2 tools named in the project's documentation.
Requires
- npx on PATH
- SMARTLEAD_API_KEY in your environment
INSTALLATION
Connect your client
Server setup
npm install smartlead-mcp-server@1.2.1MCP Clients
Claude Desktop — npx
{
"mcpServers": {
"smartlead": {
"command": "npx",
"args": [
"smartlead-mcp-server",
"start"
],
"env": {
"SMARTLEAD_API_KEY": "<YOUR_SMARTLEAD_API_KEY>"
}
}
}
}n8n
npx smartlead-mcp-server sse