跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 CleverReach,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
来自德国的 CleverReach 邮件营销:带属性、标签和事件的群组与收件人,批量 upsert,激活和双重确认邮件,黑名单和退信,带预览和模板的群发邮件草稿,以及含打开、点击和退信数据的已发送群发报告。使用 OAuth 的 REST API v3;向列表的最终发送仍在 CleverReach 中完成。
试试这样问
CleverReach 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → CleverReach、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
CleverReach + Gemini
来自德国的 CleverReach 邮件营销:带属性、标签和事件的群组与收件人,批量 upsert,激活和双重确认邮件,黑名单和退信,带预览和模板的群发邮件草稿,以及含打开、点击和退信数据的已发送群发报告。使用 OAuth 的 REST API v3;向列表的最终发送仍在 CleverReach 中完成。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
CLEVERREACH_CLIENT_ID, CLEVERREACH_CLIENT_SECRET
步骤 1 — 获取凭证
设置大约需要 10 分钟。你需要 CleverReach 账户的管理员权限来创建 OAuth 应用。
- 在 CleverReach 中打开 Account、Extras、REST API,创建一个 OAuth 应用。
- 选择权限范围 Recipients(
oa_receivers)、Reports(oa_reports)、Forms(oa_forms)和 Emails(oa_mailings)。 - 登记回调地址
<your AnythingMCP URL>/api/mcp-oauth/callback。在 AnythingMCP Cloud 上为https://cloud.anythingmcp.com/api/mcp-oauth/callback。 - 把应用的 Client ID 复制到
CLEVERREACH_CLIENT_ID,把 Client Secret 复制到CLEVERREACH_CLIENT_SECRET。CLEVERREACH_REFRESH_TOKEN留空,然后安装连接器。 - 在连接器页面点击 Authorize with Provider 并登录 CleverReach。刷新令牌会自动填入并保存,访问令牌也会自动续期。
- 运行
cleverreach_whoami:它会显示令牌所属的账户并确认连接成功。
可读取的内容:群组(收件人列表)及其全部、活跃、非活跃和退信收件人的数量,以及群组的筛选器(细分);群组中的收件人及其邮箱、活跃标志、时间戳、来源和属性;按 id 或邮箱查询的单个收件人,含全局属性、标签、积分和退信状态、所在群组,以及来自商店或应用的事件;用临时筛选器跨群组查找的收件人(不会保存任何内容);标签和属性(数据字段);黑名单和按类别划分的退信(hardbounce、softbounce、blocked、delayed、spam);注册表单;按状态(finished、draft、waiting、running、automation)列出的群发邮件及其内容和链接;你自己的模板和群发类别;已发送群发的报告,含打开、点击、退信、退订、按模式的详细统计(客户端、国家、最初几小时、链接、转化等),以及打开、点击、退信或退订的收件人。
可写入的内容:群组用 cleverreach_create_group 和 cleverreach_update_group;收件人用 cleverreach_create_receiver、cleverreach_upsert_receivers(按邮箱匹配批量处理,每批几百个)、cleverreach_update_receiver、cleverreach_activate_receiver 和 cleverreach_deactivate_receiver(仍留在群组中,但不再收到群发);标签用 cleverreach_add_receiver_tags 和 cleverreach_remove_receiver_tags;数据字段用 cleverreach_create_attribute(全局,或用 group_id 针对某个群组);黑名单用 cleverreach_add_to_blacklist 和 cleverreach_remove_from_blacklist;群发草稿用 cleverreach_create_mailing 和 cleverreach_update_mailing,测试发送用 cleverreach_send_mailing_preview,它只接受你 CleverReach 账户中用户的邮箱地址。
双重确认:AI 先创建收件人,把 registered 设为当前时间、activated 设为 "0",再用 activate 类型和 cleverreach_list_forms 中的表单 id 调用 cleverreach_send_form_mail,并传入 doidata 作为同意证明。收件人点击链接后,CleverReach 会将其激活。如果不设置 registered 和 activated,新收件人会立即生效,这需要你能证明的同意。
同意:收件人属于 GDPR 下的个人数据。AI 只添加或激活有书面同意记录的地址,会先向你展示将发生的变更,并在任何写入前等你同意。
安装时关闭:cleverreach_delete_receiver,它会把收件人从群组中永久删除,例如用于数据删除请求;该收件人在此群组中的历史记录会丢失。由工作区管理员有意开启。在此之前,停用收件人即可让其不再收到群发。
数据格式:id 是以字符串形式发送的数字。收件人相关工具接受收件人 id 或邮箱地址。时间(registered、activated、deactivated、stamp、报告日期)为以秒为单位的 Unix 时间戳;0 表示未设置。当 activated 已设置且 deactivated 为 0 时,收件人在该群组中处于活跃状态。global_attributes 适用于所有群组,attributes 只适用于一个群组。标签由字母、数字、_ 和 - 组成,可在句点前加来源前缀,例如 shop.vip。
分页:页码从 0 开始。收件人接受 pagesize(最多 5000)和 page;退信每页最多 500 条;群发接受 limit 和 page(仅当 state 不是 all 时分页)。条数少于每页数量的那一页就是最后一页。
常见错误:响应中带有错误代码和消息。401 表示令牌已过期或被撤销:再次点击 Authorize with Provider,并确认 Client ID 和 secret 属于同一个应用。403 表示 OAuth 应用缺少该领域的权限范围:为应用添加 Recipients、Reports、Forms 或 Emails 后重新授权。404 表示 id 未知,或该地址不在此群组中或不在黑名单上。400 表示数据无效,例如属性名或时间戳错误。
连接器不会把群发邮件发送给列表:CleverReach 只会按申请额外授予这一权限范围,因此你在检查预览后,到 CleverReach 中启动最终发送。它不删除群组或群发邮件,也不创建表单或模板。
步骤 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 — 在 Gemini 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Gemini CLI 从 ~/.gemini/settings.json(Windows 上为 %USERPROFILE%\.gemini\settings.json)读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换
YOUR_MCP_API_KEY。 - 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp(或在终端运行gemini mcp list),anythingmcp应显示为已连接。 - 开始输入提示,Gemini CLI 现在可以调用
CleverReach的工具。
可用工具
| Tool | What it does |
|---|---|
cleverreach_whoami | Information about the CleverReach account the token belongs to: client id, company, login and contact data |
cleverreach_list_groups | List the groups (receiver lists) of the account with id, name, description (receiver_info), locked and backup flags and last changes |
cleverreach_get_group | Get one group (receiver list) by id: name, receiver_info, locked, backup and timestamps |
cleverreach_get_group_stats | Counts of a group: total, active, inactive and bounced receivers, average points, quality and order figures |
cleverreach_create_group | Create a group (receiver list) with a name and optional description |
cleverreach_update_group | Rename a group or change its description, locked or backup flag |
cleverreach_list_group_filters | List the filters (segments) of a group with id, name, operator and rules |
cleverreach_list_group_receivers | List the receivers (subscribers) of a group with email, active flag, registered, activated and deactivated timestamps, source and attributes |
cleverreach_get_receiver | Get one receiver by id or email: global attributes, tags, points, bounce state |
cleverreach_find_receivers | Find receivers across groups with a temporary filter: rules on email, source, timestamps, points or attributes, combined with AND or OR |
cleverreach_list_receiver_groups | List the groups a receiver (id or email) is in, optionally only those where it is active or inactive |
cleverreach_list_receiver_events | List the events of a receiver (id or email): custom events added by shops or apps, with type, value and timestamp |
cleverreach_create_receiver | Add one receiver (subscriber) to a group with email, timestamps, source, attributes and tags |
cleverreach_update_receiver | Update a receiver in a group (by id or email): attributes, tags, source or timestamps |
cleverreach_upsert_receivers | Create or update many receivers of a group in one call, matched by email (send large lists in chunks of a few hundred) |
cleverreach_activate_receiver | Activate a receiver in a group (by id or email) so mailings reach it |
cleverreach_deactivate_receiver | Deactivate a receiver in a group (by id or email), e.g. after an unsubscribe request |
cleverreach_delete_receiver | Delete a receiver from a group for good, e.g. for a data erasure request; its history in that group is lost |
cleverreach_add_receiver_tags | Add tags to a receiver (id or email) |
cleverreach_remove_receiver_tags | Remove tags from a receiver (id or email): one tag, several comma-separated, or all tags of an origin with origin.* |
cleverreach_list_tags | List the tags used in the account with their origin and how many receivers carry them |
cleverreach_list_attributes | List receiver attributes (data fields): global ones, or with group_id the group-specific ones |
cleverreach_create_attribute | Create a receiver attribute (data field), global or for one group: name, type (text, number, gender, date), description, preview and… |
cleverreach_list_blacklist | List the account blacklist: addresses and patterns that never receive mailings, with comment and date |
cleverreach_get_blacklist_entry | Check whether an email address is on the blacklist and read its comment and date |
cleverreach_add_to_blacklist | Put an email address on the account blacklist so no mailing reaches it any more, with an optional comment (e.g. complaint by phone) |
cleverreach_remove_from_blacklist | Remove an email address from the blacklist so it can receive mailings again |
cleverreach_list_bounces | List bounces of the account: email, category (hardbounce, softbounce, blocked, delayed, spam), occurrences, bounce message, last update and… |
cleverreach_list_bounced_receivers | List receivers that have a bounce date, page by page, to clean up lists |
cleverreach_list_forms | List the signup forms of the account with id, name and group |
cleverreach_send_form_mail | Send the double opt-in (activate) or opt-out confirmation (deactivate) email of a form to a receiver already in the form's group |
cleverreach_list_mailings | List mailings by state (finished, draft, waiting, running, automation) with id, name, subject, sender and dates. start and end filter by… |
cleverreach_get_mailing | Get one mailing by id: name, subject, sender, HTML and text content, receivers (groups or filter), settings and state |
cleverreach_create_mailing | Create a mailing as a draft: name, subject, sender, HTML and text content, target groups or filter and tracking settings |
cleverreach_update_mailing | Update a draft mailing: name, subject, sender, content, receivers, settings or tags |
cleverreach_send_mailing_preview | Send a preview of a mailing to test addresses |
cleverreach_get_mailing_links | List the links in a mailing with their ids and URLs; link ids filter cleverreach_list_report_receivers by clicks |
cleverreach_list_templates | List the user's own mailing templates with id and name, to start a new mailing from a design |
cleverreach_list_mailing_channels | List mailing categories (channels) with id and name, used to group mailings and reports |
cleverreach_list_reports | List reports of sent mailings with sent count, opens, clicks, bounces, unsubscribes and send date |
cleverreach_get_report | Get the report of one sent mailing (same id as the mailing): recipients, opens, clicks, bounces, unsubscribes and rates |
cleverreach_get_report_stats | Detailed statistics of a report by mode: full, clients, mediaclients, countries, quality (bounces), firsthours, traffic, daily (with start… |
cleverreach_list_report_receivers | List the receivers of a report by state: sent, opened, clicked (optionally one link), notopened, notclicked, bounced or unsubscribed |
示例提示
- “群组 Newsletter CN 中有多少活跃、非活跃和退信的收件人?”
- “把 [email protected] 以名字 Max 加入群组“网络研讨会线索”,并给他发送我们注册表单的双重确认邮件。”
- “上周的邮件中,哪些收件人点击了价格页链接?列出他们的邮箱地址。”
- “为群组“客户”创建一封主题为“秋季动态”的群发草稿,并发送预览到我自己的邮箱。”
- “比较最近三封已发送邮件的打开率和点击率。”
FAQ
Gemini CLI 从哪里读取 MCP 服务器? 用户级配置位于 ~/.gemini/settings.json,项目级配置位于项目内的 .gemini/settings.json。gemini mcp list 会列出每个服务器及其连接状态。
下一步
这份指南对你有帮助吗?