登录开始免费试用
Meta Tech Provider

如何将 WhatsApp 添加到 ChatGPT

您可以将 WhatsApp 以自定义 MCP 服务器的形式添加到 ChatGPT。首先,通过提供 MCP 服务器的服务商,将您的 WhatsApp Business 号码连接到 Meta 的 Cloud API。然后,在网页版 ChatGPT 中打开插件,选择 +,再选择“添加自定义 MCP 服务器”,粘贴服务器 URL,选择 OAuth,创建插件,安装插件,然后在对话中输入 @。

easyCoexistence 通过 Coexistence 将您已在使用的 WhatsApp Business 号码连接到 Meta 官方的 Cloud API,并为 ChatGPT 提供一个 MCP 服务器,地址为 https://easycoexistence.com/api/mcp,适用于您账户中的每个号码。

Plugins

在 ChatGPT 中添加自定义 MCP 服务器的位置是加号按钮;不再需要先开启开发者模式。

Web only

OpenAI 允许您连接自定义 MCP 服务器的位置;其帮助文章称,移动端不支持此功能。

Business, Enterprise/Edu

ChatGPT 套餐提供完整 MCP 支持,包括写入操作。Pro 可连接具有读取和获取权限的自定义 MCP 服务器。

Install

由自定义 MCP 服务器创建的插件,必须先安装,才能在对话中使用。

2 minutes

连接 WhatsApp Business 号码所需的大致时间:Meta 设定的时间窗口,以及在应用中扫描一次二维码。

开始之前需要准备什么?

需要三样东西。一是已接入 Meta 的 Cloud API 的 WhatsApp Business 号码:通过 Coexistence,该号码仍可在您手机上的 WhatsApp Business 应用中使用,因此您的客户不会有任何变化。二是该号码的 MCP 服务器,也就是您粘贴到 ChatGPT 中的 URL;使用 easyCoexistence 时,地址为 https://easycoexistence.com/api/mcp,并可在控制台中点击“Connect a number”连接号码。三是允许自定义 MCP 服务器并具有写入权限的 ChatGPT 套餐,因为发送消息或创建自动化都属于写入操作。

连接号码大约需要两分钟。在手机上,唯一的步骤是使用 WhatsApp Business 应用扫描二维码,版本需为 2.24.17 或更新版本。

哪些 ChatGPT 套餐可以添加 WhatsApp?

由 OpenAI 决定,其规则取决于服务器被允许执行的操作。完整 MCP 支持(包括发送消息、提交模板和修改自动化的工具)适用于网页版的 ChatGPT Business 和 Enterprise/Edu。在 Business 工作区中,只有管理员和所有者可以为自定义 MCP 服务器创建并发布插件;成员随后可在“设置 > 插件”中找到已发布的插件。在 Enterprise/Edu 中,管理员还可以将该权限授予选定的成员。Pro 仅可连接具有读取和获取权限的自定义 MCP 服务器,这足以检查号码,但不足以从该号码发送消息。OpenAI 的帮助文章未列出自定义 MCP 服务器的其他套餐。

WhatsApp 是否在 ChatGPT 插件目录中?

插件目录是首先应查看的地方,每个 ChatGPT 套餐都可以使用:在网页版、桌面版或移动版的侧边栏中打开插件,目录包含“Public”“Your workspace”“Personal”和“Installed”几个标签。如果 easyCoexistence 出现在您工作区的插件目录中,请直接从那里添加;否则,请按照本页的步骤将其添加为自定义 MCP 服务器。两种途径都会连接到相同的工具,并使用相同的登录方式。您之后创建的、由自定义 MCP 服务器生成的插件,会显示在“Personal”下,或显示在您创建它的工作区中。

应该先问什么?

先从读取类请求开始,这样在任何内容发出之前,您就能看到连接正常运行。ChatGPT 会先调用 list_numbers,因为用于操作号码的工具需要它返回的 connection_id。然后尝试一项您能在自己手机上核实的写入操作,例如发送给今天曾向您发消息的号码。以下四项涵盖了主要用途:

"Which of my WhatsApp numbers are connected, and are they healthy?"list_numbers, then get_number_health
"List my approved templates."list_templates: name, language, category and status
"Reply to +55 11 99999 8888 that the order is ready."send_message, for someone who wrote in the last 24 hours
"After 6 p.m., reply that we open at 9."create_automation with the After hours trigger, then test_automation

ChatGPT 在发送前会询问吗?

通常会。OpenAI 将工具视为写入操作,除非服务器将其标记为只读;而写入操作默认需要您确认,因此 ChatGPT 会在运行前显示该工具及其输入。请在批准前核对收件人和文本。发送遵循 Meta 的规则:普通消息只能发给过去 24 小时内给该号码发过消息的人;其他人则需要使用已获批准的消息模板。ChatGPT 创建的自动化在保存后立即生效,因此如果您希望在客户看到之前先测试,请要求将其保持关闭状态。

设置方法

  1. Connect your WhatsApp Business numberAt easycoexistence.com, click Connect a number, choose your business in Meta's window and scan the QR code with the WhatsApp Business app. The app keeps working.
  2. Open Plugins in ChatGPT on the webGo to Plugins, select the + button, then select Add custom MCP server.
  3. Enter the serverType easyCoexistence as the name. Under Connection, paste https://easycoexistence.com/api/mcp as the Server URL, and choose OAuth for authentication.
  4. Create the pluginReview the risk warning, tick I understand and want to continue, select Create as a plugin, then sign in with your easyCoexistence account and approve access.
  5. Install itInstall the new plugin from Plugins (it is listed under Personal, or in your workspace), then start a new conversation.
  6. Mention it and askType @ in the prompt box, select easyCoexistence and ask in plain words, for example: "Is my WhatsApp number healthy?"

常见错误

  • 在 ChatGPT 的移动应用中寻找该选项。OpenAI 只允许在网页版中连接自定义 MCP 服务器,请先在网页版中添加。
  • 参照较旧的指南,从“设置 > 开发者模式”开始。当前路径是插件、点击 + 按钮,然后选择“添加自定义 MCP 服务器”。
  • 创建了插件却从未安装。ChatGPT 只有在新对话中输入 @ 时,才会提供已安装的插件。
  • 尝试用 ChatGPT Pro 发送消息。Pro 仅可连接具有读取和获取权限的自定义 MCP 服务器,因此发送需要 Business 或 Enterprise/Edu 套餐。
使用 EasyCoexistence 完成这些操作

之后,ChatGPT 可以发送消息和模板、检查号码的健康状况,并创建在对话结束后仍持续运行的自动化,同时应用继续留在您的手机上。每个号码每月 US$ 9 起,号码越多越便宜,最低降至 US$ 0.75,前 3 天免费试用。

常见问题

ChatGPT 能替我连接 WhatsApp 号码吗?

不能,因为连接需要您在浏览器和手机上操作:Meta 的时间窗口,以及使用 WhatsApp Business 应用扫描二维码。ChatGPT 的 get_connect_link 工具会返回控制台链接和步骤,号码连接后,其他工具即可使用。

添加时需要 API 密钥吗?

不需要。服务器通过 OAuth 登录:ChatGPT 会打开 easyCoexistence 的登录页面,您批准访问后,无需复制或粘贴任何内容。只有当自动化需要使用您自己的 OpenAI、Anthropic 或 OpenRouter 模型来撰写回复时,才需要 AI 密钥,而且那是以后的事。

Claude 中也是一样吗?

网址相同,路径不同:在 Claude 中,打开“自定义 > 连接器”,选择“添加”,然后选择“添加自定义连接器”,粘贴 URL,再点击“连接”并登录。Claude 的免费套餐允许添加一个自定义连接器。

更新后为什么看不到新工具?

ChatGPT 不会自动启用 MCP 服务器的更改。请打开插件设置并选择“刷新”(工作区插件由管理员执行此操作),然后启用新操作;新操作默认处于关闭状态。

继续阅读

准备开始了吗?

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

开始免费试用

验证时间