Smartlead MCP server for AI agents

Live

OAUTH 2.1

COLD EMAIL

Marketing

Smartlead MCP gives your agent Smartlead's own MCP server: run cold email campaigns, work the master inbox, test inbox placement with Smart Delivery, and find contacts with Smart Prospect.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Smartlead MCP
agent · Acme Q3
Run
Where did my latest placement test land, inbox or spam?
S
smartleadmcp_sd_get_run_placement
412ms
Deliverability agent
The latest run placed 82% of emails in the inbox and 12% in spam so far.
Sources: Smartlead MCP Smart Delivery, 1 run
smartleadmcp
1 run
18:29
Message Claude...

Tools your cold email agent reaches for on Smartlead MCP, scoped per user.

CALL ANY TOOL
185 tools for cold email in Smartlead MCP: manage campaigns, leads, and mailboxes, work the master inbox, run Smart Delivery placement tests, search Smart Prospect contacts, and read analytics.
smartleadmcp_add_domain_block_list
List add domain block
Add domains to the block list to prevent sending emails to those domains
Parameters
Name
Type
Required
Description
domains
array
Required
Array of domains to block
client_id
number
Optional
Optional client ID for client-specific block list
smartleadmcp_add_email_accounts_to_campaign
Add email accounts to campaign
smartleadmcp_analyse_campaign_copy
Copy analyse campaign
smartleadmcp_bulk_delete_email_accounts
Bulk delete email accounts
smartleadmcp_bulk_fetch_email_messages
Bulk fetch email messages
smartleadmcp_change_master_inbox_read_status
Change master inbox read status
smartleadmcp_check_webhook_status
Check webhook status
smartleadmcp_create_campaign
Create campaign
smartleadmcp_fetch_master_inbox_replies
Fetch master inbox replies
smartleadmcp_forward_campaign_email
Forward campaign email
smartleadmcp_get_all_clients
Get all clients
smartleadmcp_get_campaign_lead_statistics
Get campaign lead statistics
smartleadmcp_get_campaign_sequences
Get campaign sequences
smartleadmcp_get_client_overall_stats
Get client overall stats
smartleadmcp_get_lead_category_wise_response
Get lead category wise response
smartleadmcp_process_single_failed_email_account
Process single failed email account
smartleadmcp_push_leads_to_list
List push leads to
smartleadmcp_remove_tags_from_email_accounts
Remove tags from email accounts
smartleadmcp_resume_master_inbox_lead
Resume master inbox lead
smartleadmcp_sd_get_email_headers
Sd get email headers
smartleadmcp_sd_rename_folder
Sd rename folder
smartleadmcp_sd_stop_test
Sd stop test
smartleadmcp_sd_update_test
Sd update test
smartleadmcp_send_campaign_email_thread
Send campaign email thread
smartleadmcp_set_master_inbox_reminder
Set master inbox reminder
smartleadmcp_sp_get_cities
Sp get cities
smartleadmcp_sp_get_keywords_autocomplete
Sp get keywords autocomplete
smartleadmcp_sp_save_search
Search sp save
smartleadmcp_update_campaign_schedule
Update campaign schedule
smartleadmcp_update_email_warmup_details
Update email warmup details

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Smartlead tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["smartleadmcp"], toolNames: [
    "smartleadmcp_get_campaigns",
    "smartleadmcp_get_campaign_analytics",
    "smartleadmcp_fetch_master_inbox_unread_replies"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my campaigns, report analytics for the Q4 one, and show unread replies in the master inbox" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["smartleadmcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my campaigns, report analytics for the Q4 one, and show unread replies in the master inbox" }],
  tools,
});

// Execute the tool call with the user's vaulted Smartlead OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["smartleadmcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my campaigns, report analytics for the Q4 one, and show unread replies in the master inbox" }],
  tools,
});

// Tool call runs with the user's vaulted Smartlead OAuth token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["smartleadmcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "cold_email_agent",
  model: "gemini-2.5-pro",
  instruction: "Smartlead tools scoped to this user",
  tools,
});

await agent.run("List my campaigns, report analytics for the Q4 one, and show unread replies in the master inbox");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Smartlead MCP tool. Click to copy, paste into your agent, done.
Campaigns and analytics
Copy the prompt
Copied
Show analytics for my Q4 outbound campaign by date.
Copy the prompt
Copied
Analyze the email copy used in this campaign.
Copy the prompt
Copied
Update the campaign schedule to send weekdays 9 to 5 Eastern.
Master inbox
Copy the prompt
Copied
Show my unread replies in the master inbox.
Copy the prompt
Copied
Set a reminder on this lead for Monday.
Copy the prompt
Copied
Create a note on this lead in the master inbox.
Deliverability and prospecting
Copy the prompt
Copied
List my Smart Delivery tests, newest first.
Copy the prompt
Copied
Check the deliverability of this mailbox domain.
Copy the prompt
Copied
Search Smart Prospect for VPs of sales at SaaS companies in Texas.
SEE HOW AUTH WORKS
Each user signs in to Smartlead once, and Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Smartlead MCP
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Smartlead MCP
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Smartlead MCP
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Smartlead MCP
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other marketing and sales connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Test other agents
See the same per-user auth pattern across other marketing and sales connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Smartlead token looks fine in a demo. In production every campaign send and lead change looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Smartlead today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Smartlead as the user or through a shared service account?
As the user. Each user signs in to Smartlead once, and Scalekit stores and refreshes their tokens. Every campaign change, inbox reply, and placement test in your audit trail is attributed to that user, not a shared service account.
Where is the Smartlead OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Smartlead?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the analytics, inbox read, and list tools without smartleadmcp_delete_campaign, smartleadmcp_bulk_delete_email_accounts, or smartleadmcp_sd_create_test, which sends real emails. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Smartlead access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent run Smart Delivery placement tests?
Yes. The Smart Delivery tools list and read tests, runs, seed inboxes, and placement results. smartleadmcp_sd_create_test creates an inbox placement test and sends real emails, and smartleadmcp_sd_resume_test resumes a paused auto test, whose scheduled runs also send real emails.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""smartleadmcp"": {
""url"": ""https://mcp.scalekit.com/smartleadmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.smartleadmcp]
url = ""https://mcp.scalekit.com/smartleadmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""smartleadmcp"": {
""url"": ""https://mcp.scalekit.com/smartleadmcp"",
""type"": ""http""
}
}
}