登录开始免费试用
Meta Tech Provider

Claude 的 WhatsApp 连接器:在 Claude 中运行和自动化 WhatsApp

Claude 通过自定义连接器与 WhatsApp Business 号码协同工作。在 Claude 中打开 自定义,然后选择 连接器,点击 添加,再点击 添加自定义连接器,粘贴 https://easycoexistence.com/api/mcp,依次点击 继续 和 添加,然后点击 连接 并登录。它适用于 Free 套餐(一个自定义连接器)、Pro、Max、Ultra、Team 与 Enterprise(由所有者添加),并让 Claude 发送消息和模板、构建自动化,以及检查号码的健康状况。

1

Free 套餐的 Claude 可添加的自定义连接器。Pro、Max、Ultra、Team 与 Enterprise 套餐也可以通过 URL 添加连接器。

Owner

在 Team 与 Enterprise 中由谁添加自定义连接器,位于 组织设置 > 连接器;成员随后选择 连接。

Blocked

让 Claude 不能使用某个单独工具的工具权限,在 自定义 > 连接器 下设置。

Web, desktop, mobile

已连接的连接器在 Claude 对话中可用的位置;Claude Code 也会加载在 claude.ai 中添加的连接器。

--scope user

让服务器在你所有项目中加载的 Claude Code 标志;没有它,服务器只在你添加的位置加载。

More than 30

easyCoexistence 连接器中的工具,包括 WhatsApp 号码的消息、模板、Webhook 和自动化。

哪些 Claude 套餐可以使用?

自定义连接器适用于 Free、Pro、Max、Ultra、Team 与 Enterprise 套餐,Free 套餐有一项限制,Team 与 Enterprise 需要管理员操作。Anthropic 将通过 URL 添加的连接器标记为“自定义”,并警告它们会将 Claude 连接到未经验证的服务。连接后,该连接器可在您的网页版、桌面应用和移动应用对话中使用。

FreeOne custom connector. Remove another custom connector first if you already have one.
Pro, Max, UltraAdd it yourself under Customize > Connectors.
TeamAn Owner adds it in Organization settings > Connectors, and members select Connect.
EnterpriseAn Owner, or a member whose custom role manages the organization's libraries, adds it.

在 Team 或 Enterprise 套餐上如何添加?

由所有者为组织添加一次即可。在 组织设置 > 连接器 中,所有者选择 添加,然后选择 自定义(如果 Claude 要求选择类型,则选择 Web),输入名称和 URL,如果对话框显示则点击 继续,最后点击 添加。成员打开 自定义 > 连接器,找到带有“自定义”标签的 easyCoexistence,然后选择 连接 进行登录。在 Enterprise 上,如果成员的自定义角色包含管理组织资料库的权限,也可以添加。

在 Free、Pro、Max 与 Ultra 套餐上,您可以按照本页的步骤将其添加到自己的账户。两种情况下,请保留 Claude 标记为“已检测到”的身份验证选项。此链接会打开您自己账户上的“添加自定义连接器”,两个字段均已填好,但在添加前您仍需检查并确认:

Opens Add custom connector with the name and URL filled in
https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=easyCoexistence&connectorUrl=https%3A%2F%2Feasycoexistence.com%2Fapi%2Fmcp

如何在对话中开启它并控制其工具?

您可以逐个对话决定 Claude 是否可以使用它:在输入框中选择 +,选择 连接器,然后为该对话开启或关闭 easyCoexistence。当 Claude 想调用某个工具时,它可以先询问;选择 允许一次 只批准该次调用,选择 始终允许 则不再为该工具询问。

如需更精细的控制,请打开 自定义 > 连接器,选择 easyCoexistence,并针对每组工具或每个工具,将 工具权限 设为 始终允许、需要批准 或 已阻止。对于共享账户,较为谨慎的设置是对 send_message、send_template 和 create_automation 设为需要批准,对 delete_automation 和 revoke_api_key 设为已阻止。断开连接会让 Claude 退出登录并保留连接器列表;点击三点菜单中的 移除,则会将其从您的账户中删除。

Claude 能在您的 WhatsApp 号码上做什么?

用日常语言提问即可:Claude 会通过 list_numbers 找到号码,并选择合适的工具。该连接器共提供 30 多个工具,以下是作用于 WhatsApp 号码的工具。写入操作遵循 Meta 的规则,因此输入的消息只能发送给过去 24 小时内发来消息的人,其他人必须使用已批准的模板。在 Coexistence 号码上,模板只能通过 API 发送,因为应用无法发送模板。

list_numbers, get_number_healthYour numbers, quality rating, messaging tier and Coexistence link
send_messageA typed reply to someone who wrote in the last 24 hours
create_template, get_template_statusSubmit a template to Meta and follow its review
send_templateAn approved template, to start or restart a conversation
create_automation, test_automationA welcome, away, keyword or AI-reply automation, tried on a sample message
list_automation_runsWhat each automation did, and why a run was skipped
set_inbound_mode, set_webhook_destinationWhere incoming messages go: automations, your server or both
get_api_credentialsIDs, send endpoint and token for your own code

如何在 Claude Code 与 Codex 中添加?

两者都从终端使用同一 URL。在 Claude Code 中,使用 --scope user 添加服务器,使其在每个项目中加载;不加该参数,则只在您运行命令的项目中加载。然后启动 claude 并运行 /mcp 登录。如果 Claude Code 已使用您的 claude.ai 账户登录,那么您在 自定义 > 连接器 下添加的连接器已会显示在 /mcp 中;若通过命令添加的服务器与某连接器的 URL 相同,则以服务器为准。

在 Codex 中添加服务器后,运行 codex mcp login easycoexistence 以保存 OAuth 登录信息。若未执行此步骤,Codex 会以未认证方式连接,工具将不会出现。Codex 将服务器保存在 ~/.codex/config.toml 中,ChatGPT 桌面应用和 Codex IDE 扩展也会读取该文件。

Claude Code and Codex
# Claude Code: add the server, then start claude and run /mcp to sign in
claude mcp add --transport http easycoexistence --scope user https://easycoexistence.com/api/mcp

# Codex: add the server, then store the OAuth sign-in
codex mcp add easycoexistence --url https://easycoexistence.com/api/mcp
codex mcp login easycoexistence

Claude 关闭后,什么仍在运行?

是 Claude 创建的自动化,而不是 Claude 本身。对话只有在您提出请求时才会执行操作,因此自动回复由 easyCoexistence 运行:Claude 调用 create_automation 创建一个触发器,例如 含关键词、首条消息 或 非工作时间,并设置由步骤组成的流程,一条线路最多 30 个、总共最多 60 个,包含分支、等待回答的提问和 AI 智能体;随后调用 test_automation,用一条示例消息进行测试,且不会实际发送。以这种方式创建的自动化在保存后即会开启,因此如需先审核,请让 Claude 传入 enabled: false。

当需要由模型撰写回复时,用 AI 回复 步骤会使用您自己的 Anthropic 密钥和您选择的 Claude 模型,或 OpenAI 或 OpenRouter 密钥。如果您在手机上回复某个对话,自动化默认会在该对话中保持静默 4 小时。

设置方法

  1. Connect your numberAt easycoexistence.com, connect the number through Meta's Embedded Signup and scan the code with the WhatsApp Business app; the app and its chats stay as they are.
  2. Open ConnectorsIn Claude, go to Customize > Connectors, select Add, then Add custom connector.
  3. Enter the URLType easyCoexistence as the name, paste https://easycoexistence.com/api/mcp as the server URL and click Continue.
  4. Keep the detected settingsLeave the authentication options that Claude marks Detected as they are, then click Add.
  5. ConnectSelect Connect, sign in with your easyCoexistence account and authorize access. There is no key to paste.
  6. Turn it on and askIn a chat, select + in the message box, choose Connectors, switch easyCoexistence on and ask, for example: "Create an away message for my number after 7 p.m."

常见错误

  • 在 Free 套餐上尝试添加第二个自定义连接器。Free 套餐仅允许一个,因此请移除另一个自定义连接器,或升级到付费套餐。
  • 以 Team 或 Enterprise 成员身份寻找 添加自定义连接器。应由所有者在 组织设置 > 连接器 中添加,成员随后选择 连接。
  • 运行 claude mcp add 时未加 --scope user,然后在其他项目中找不到工具。默认的本地范围只会在添加服务器的项目中加载它。
  • 编辑连接器以更改其登录方式。添加后 Claude 无法更改身份验证设置,因此请移除连接器后重新添加。
使用 EasyCoexistence 完成这些操作

easyCoexistence 通过 Coexistence 将您的 WhatsApp Business 号码连接到 Meta 官方 Cloud API,并为 Claude、Claude Code 和 Codex 提供一个连接器,覆盖您账户上的每个号码。Claude 可以在您继续使用的应用号码上发送消息、管理模板并构建自动化;每个号码均 24/7 受到监控并配有警报,包括 Meta 的 14 天规则。每个号码每月 US$ 9 起,随着您添加号码而降低,最低降至 US$ 0.75,前 3 天免费试用。

常见问题

Claude 是否有 WhatsApp 插件?

Claude 插件会打包技能、连接器、命令和智能体,通过 自定义 > 插件 添加,并同步到 Cowork 与 Claude Code。easyCoexistence 是以连接器形式添加的,这正是为 Claude 提供 WhatsApp 工具的部分,因此使用这些工具无需插件。

Claude 和 ChatGPT 能否共用一个 easyCoexistence 账户?

可以。在每个助手中添加相同的 URL,并使用同一账户登录;两者都会看到相同的号码、模板和自动化。每个助手保留各自的登录,因此从其中一个移除连接器不会影响另一个的连接。

Claude 能看到我客户的对话吗?

只能看到工具返回的内容。对于已开启自动化的号码,list_conversations 和 get_conversation 会返回发来消息的人、他们的消息、字段和标签,保留期限由您选择,30、90 或 365 天(默认 90 天)。Claude 还能看到您的号码、模板、其自身发送的结果,以及自动化过去 30 天的运行记录,包括触发每次运行的消息和所发出的回复。

为什么 Claude 说某项操作需要有效订阅?

发送、提交模板、Webhook 路由、凭据以及自动化更改都需要有效的 easyCoexistence 套餐。账单过期期间,list_numbers 和 get_number_health 等读取工具仍可正常使用,因此 Claude 仍能告诉您某个号码存在什么问题。

继续阅读

准备开始了吗?

几分钟即可设置 WhatsApp Coexistence,而不是几个月。应用会继续在手机上运行。

开始免费试用

验证时间