连接器指南阅读约 8 分钟43 个 MCP 工具7 种语言

如何通过 MCP 将 Smartlead 连接到 Microsoft Copilot

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。

HC作者:HelpCode 团队更新于 8 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Smartlead

Smartlead

Smartlead cold email outreach from any AI agent: campaigns, sequences and schedules, leads and categories, master inbox replies, campaign and account analytics, sender mailboxes with warmup, and webhooks. REST API with an API key.

个工具

43

区域

INTL

类别

CRM

身份验证

Query Param Auth

所需环境变量

SMARTLEAD_API_KEY
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Smartlead,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。

试试这样问

Smartlead 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Smartlead · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Smartlead、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Smartlead + Microsoft Copilot

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

SMARTLEAD_API_KEY

步骤 1 — 获取凭证

设置大约需要 2 分钟。使用 API 需要 Smartlead 的付费套餐。

  1. 在 Smartlead 中打开 Settings 和 API Keys 部分(部分套餐中位于 Settings、Integrations 下)。
  2. 把 API 密钥复制到 SMARTLEAD_API_KEY。连接器会把它作为查询参数 api_key 附加到每个请求上,所以只粘贴密钥本身。
  3. 安装连接器并运行 smartlead_list_campaigns:它会列出你的营销活动,并确认密钥可用。

该密钥拥有账户的完整访问权限,请像密码一样保管。

营销活动:先用 smartlead_list_campaigns,因为每个营销活动的 id 就是其他所有工具里的 campaign_id。smartlead_get_campaign、smartlead_get_campaign_sequences 和 smartlead_list_campaign_email_accounts 显示其配置。新建时,AI 依次调用 smartlead_create_campaign(状态为 DRAFTED 的空营销活动)、smartlead_save_campaign_sequences、smartlead_update_campaign_schedule(时区、星期、发送时段、邮件间隔分钟数、每天新线索数、开始时间)、smartlead_update_campaign_settings(名称、打开和点击跟踪、何时停止给线索发信、纯文本、跟进比例、AI 邮箱匹配、退订文字)、smartlead_add_email_accounts_to_campaign 和 smartlead_add_leads_to_campaign,最后用 START 调用 smartlead_update_campaign_status。状态有 START(不是 ACTIVE)、PAUSED、STOPPED(最终状态;临时暂停请用 PAUSED)和 ARCHIVED。启动会发出真实邮件,所以请先让 AI 展示序列、发送计划和线索数量。

序列:smartlead_save_campaign_sequences 会替换整个序列:未包含的步骤会被删除。AI 先用 smartlead_get_campaign_sequences 读取,保留现有步骤的 id,并发送所有步骤。个性化可用 {{first_name}}、{{company_name}} 以及你的自定义字段名。

线索:

  • smartlead_list_campaign_leads 列出营销活动的线索。每行包含营销活动与线索的关联 id(该行的 id,供 smartlead_create_lead_note 使用)和线索本身(lead.id,作为 lead_id 使用)。
  • smartlead_get_lead_by_email 在所有营销活动中查找线索,smartlead_get_lead 按 id 读取,smartlead_get_lead_campaign_overview 显示它所在的全部营销活动。
  • smartlead_add_leads_to_campaign 每次最多 400 条线索。在全局屏蔽名单中、已退订或已在其他营销活动中的线索会被跳过,除非设置另有规定;返回结果统计上传、重复和被屏蔽的线索数。
  • 修改:smartlead_update_lead(即使邮箱不变,API 也要求提供;最多 200 个自定义字段)、smartlead_update_lead_category(id 来自 smartlead_list_lead_categories,可同时暂停)、smartlead_pause_lead、smartlead_resume_lead(立即或若干天后),以及针对单个营销活动退订的 smartlead_unsubscribe_lead_from_campaign。

回复:smartlead_list_inbox_replies 跨营销活动列出主收件箱中的回复,按时间从新到旧,可按营销活动、邮箱、分类或回复时间筛选;smartlead_get_inbox_item 打开一个会话。回复时,smartlead_get_lead_message_history 给出每封邮件的 stats_id、message_id 和 time;AI 把它们作为 email_stats_id、reply_message_id 和 reply_email_time 传给 smartlead_reply_to_lead。回复从该会话的邮箱发出,可以立即发送,也可以在 scheduled_time 发送。smartlead_create_lead_note 添加内部备注。

分析:针对单个营销活动有 smartlead_get_campaign_analytics(累计总数和线索进度)、smartlead_get_campaign_analytics_by_date、smartlead_get_campaign_sequence_analytics(按步骤和 A/B 变体)以及 smartlead_get_campaign_statistics(每封已发送邮件一行)。smartlead_get_overall_analytics 覆盖整个账户,也可限定为部分营销活动或客户。

邮箱和预热:smartlead_list_email_accounts 显示地址、服务商、每日上限、SMTP/IMAP 状态和预热情况;连接损坏时为 isSmtpSuccess=false。此外还有 smartlead_get_email_account、smartlead_get_warmup_stats(最近 7 天:已发预热邮件、进入收件箱、进入垃圾箱、回复)、smartlead_update_email_account(每日发送上限、发件人名称、签名、密送、自定义跟踪域名、邮件间隔分钟数)和 smartlead_update_warmup(开启或关闭、每日量、递增节奏、回复率)。

Webhook、代理商和列表:smartlead_list_campaign_webhooks 和 smartlead_upsert_campaign_webhook(新建,或在传入 id 时更新),事件包括 EMAIL_SENT、EMAIL_OPEN、EMAIL_LINK_CLICK、EMAIL_REPLY、EMAIL_BOUNCE、LEAD_UNSUBSCRIBED 和 LEAD_CATEGORY_UPDATED。smartlead_list_clients 返回代理商(白标)账户的客户 id;smartlead_list_lead_lists 列出线索列表。

安装时关闭:smartlead_unsubscribe_lead_globally(让线索退订所有营销活动,并阻止今后导入该地址)、smartlead_delete_lead_from_campaign(从该营销活动中移除线索及其进度)和 smartlead_delete_campaign_webhook。这些操作无法撤销,因此由工作区管理员在团队需要时开启。

数据格式:计数是邮件或线索的数量;比率是百分比。分析日期为 YYYY-MM-DD,可选用 IANA 时区(默认 UTC)划分每天的边界。除非传入时区,时间戳均为 UTC 的 ISO 8601。

分页:列表接受 offset(默认 0)和 limit(默认 100;收件箱默认 20)。AI 每次把 offset 增加 limit,直到返回的行数少于 limit;smartlead_list_campaign_leads 还会返回 total_leads。

限制和常见错误:Smartlead 会限制突发请求(标准套餐约每 2 秒 10 次请求),超出时返回 429;稍等后重试。401 Invalid API Key 表示密钥错误,404 表示 id 错误或属于其他账户,400 会指出无效的字段。

连接器不会接入新的发件邮箱,也不会删除营销活动。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Microsoft Copilot 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。

  1. 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
  2. 填写 Server name(例如 AnythingMCP)、说明连接器用途的 Server description,以及 Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。
  3. 身份验证选择 API key,把 Type 设为 Header,请求头名称填 X-API-Key,然后选择 Create。
  4. 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
  5. 在智能体的 Test 窗格中试一试:提出需要用到 Smartlead 的工具的请求。
  6. 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。

希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。

可用工具

ToolWhat it does
smartlead_list_campaignsList all email campaigns, newest first, with status (DRAFTED, ACTIVE, PAUSED, STOPPED, ARCHIVED), schedule, sending limits and tracking…
smartlead_get_campaignGet one campaign: status, schedule, sending limits, stop-lead setting, tracking settings and client
smartlead_get_campaign_sequencesGet the email sequence of a campaign: steps with delays, subjects, bodies and A/B variants
smartlead_list_campaign_email_accountsList the sender mailboxes attached to a campaign, with their sending limits and warmup state
smartlead_create_campaignCreate an empty campaign in DRAFTED status
smartlead_update_campaign_statusStart, pause, stop or archive a campaign
smartlead_update_campaign_settingsChange campaign settings: name, open and click tracking, when to stop emailing a lead, plain text, follow-up percentage, AI mailbox…
smartlead_update_campaign_scheduleSet when a campaign sends: time zone, weekdays, sending window, minutes between emails, new leads per day and start time
smartlead_save_campaign_sequencesReplace the email sequence of a campaign
smartlead_add_email_accounts_to_campaignAttach sender mailboxes to a campaign so it can send from them
smartlead_list_campaign_leadsList the leads of a campaign with their status, category and lead fields
smartlead_get_lead_by_emailFind a lead by email address across all campaigns
smartlead_get_leadGet one lead by its id: contact fields, custom fields and global status
smartlead_get_lead_campaign_overviewShow every campaign a lead is in, with its status and progress in each
smartlead_get_lead_message_historyGet the full email thread between a campaign and a lead: sent emails and replies with times, subjects, bodies and the stats_id and…
smartlead_add_leads_to_campaignAdd up to 400 leads to a campaign
smartlead_update_leadUpdate the fields of a lead in a campaign (email is required by the API even when unchanged)
smartlead_update_lead_categorySet the category of a lead in a campaign (Interested, Meeting Request, Not Interested, Out Of Office...), optionally pausing it
smartlead_pause_leadPause a lead in a campaign: no further sequence emails go out until it is resumed
smartlead_resume_leadResume a paused lead in a campaign, now or after a delay in days
smartlead_unsubscribe_lead_from_campaignUnsubscribe a lead from one campaign
smartlead_unsubscribe_lead_globallyUnsubscribe a lead from every campaign of the account and block future imports of the address
smartlead_delete_lead_from_campaignRemove a lead from a campaign, with its progress in that campaign
smartlead_list_lead_categoriesList the lead categories (global and custom) with ids, e.g
smartlead_list_inbox_repliesList lead replies from the master inbox across campaigns, newest first, with filters for campaign, mailbox, category and reply time
smartlead_get_inbox_itemGet one master inbox thread by its id, with lead, campaign and messages
smartlead_reply_to_leadSend a reply to a lead in an existing campaign thread, from the mailbox of that thread
smartlead_create_lead_noteAdd an internal note to a lead in a campaign (shown in the master inbox)
smartlead_get_campaign_analyticsGet the totals of a campaign: sent, opened, clicked, replied, bounced, unsubscribed, plus lead progress counts
smartlead_get_campaign_analytics_by_dateGet campaign totals (sent, opens, clicks, replies, bounces, unsubscribes) for a date range
smartlead_get_campaign_sequence_analyticsGet per-step and per-variant results of a campaign sequence for a date range: sent, opens, clicks, replies, positive replies, bounces
smartlead_get_campaign_statisticsList the individual sent emails of a campaign with lead, step, sent time, open, click, reply and bounce state
smartlead_get_overall_analyticsGet account-wide sending results for a date range: sent, opens, clicks, replies, positive replies, bounces and rates, optionally limited to…
smartlead_list_email_accountsList the sender mailboxes of the account: address, provider, daily limits, SMTP/IMAP health, warmup status and campaigns in use
smartlead_get_email_accountGet one sender mailbox with its limits, signature, connection health and warmup details
smartlead_get_warmup_statsGet the warmup results of a mailbox for the last 7 days: warmup emails sent, landed in inbox, landed in spam, replies
smartlead_update_email_accountChange a mailbox: daily sending limit, sender name, signature, BCC, custom tracking domain, minutes between emails
smartlead_update_warmupTurn warmup on or off for a mailbox and set its daily warmup volume, ramp-up and reply rate
smartlead_list_campaign_webhooksList the webhooks of a campaign with their URL and event types
smartlead_upsert_campaign_webhookCreate a campaign webhook, or update one when its id is passed
smartlead_delete_campaign_webhookDelete a webhook of a campaign
smartlead_list_clientsList the clients of an agency (white-label) account with their ids, names and emails
smartlead_list_lead_listsList the lead lists (lead pools outside campaigns) with ids, names and lead counts

示例提示

  • “我正在运行的营销活动中,本月哪个回复率最高?列出每个的发送数、回复数和退信数。”
  • “给我看过去 24 小时内被归类为 Interested 的回复。”
  • “回复 Q4 Outreach 营销活动中 [email protected] 发来的最新邮件,提议下周通个电话。发送前先给我看正文。”
  • “哪些发件邮箱的 SMTP 连接损坏,或者有很多预热邮件进了垃圾箱?”
  • “在 [email protected] 所在的所有营销活动中暂停这条线索。”

FAQ

这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。

我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。

智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。

下一步

这份指南对你有帮助吗?

你的 Smartlead 智能体只差一次点击。

安装连接器,粘贴密钥,向 Microsoft Copilot 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 Smartlead 连接到 ChatGPT

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。

连接器

如何通过 MCP 将 Smartlead 连接到 Claude

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。

连接器

如何通过 MCP 将 Smartlead 连接到 Cursor

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。

连接器

如何通过 MCP 将 Smartlead 连接到 Gemini

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。

连接器

如何通过 MCP 将 Smartlead 连接到 Meta Muse

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。

连接器

Smartlead 接入 MCP:在任意 AI 智能体中管理冷邮件营销活动、线索、回复、分析和邮箱预热

在任意 AI 智能体中使用 Smartlead 冷邮件外联:创建并运行带序列和发送计划的营销活动,添加和管理线索及其分类,在主收件箱中查看并回复,对比营销活动和账户的分析数据,检查发件邮箱和预热状态。使用 Smartlead API 密钥;不可撤销的退订和删除在安装时关闭。