登入開始免費試用
Meta Tech Provider

Claude 的 WhatsApp 連接器:在 Claude 中運行及自動化 WhatsApp

Claude 透過自訂連接器連接 WhatsApp Business 號碼。在 Claude 中開啟 Customize,選擇 Connectors,點選 Add,再點 Add custom connector,貼上 https://easycoexistence.com/api/mcp,按 Continue 及 Add,然後按 Connect 並登入。支援 Free(一個自訂連接器)、Pro、Max、Ultra、Team 及 Enterprise(由 Owner 加入),讓 Claude 發送訊息及訊息範本、建立自動化,並檢查號碼的健康狀況。

1

Free 方案的 Claude 可加入的自訂連接器。Pro、Max、Ultra、Team 及 Enterprise 方案亦可透過 URL 加入連接器。

Owner

誰可在 Team 及 Enterprise 方案加入自訂連接器:由 Owner 在機構設定 > Connectors 操作,成員隨後選擇 Connect。

Blocked

用以阻止 Claude 使用單一工具的工具權限,在 Customize > Connectors 下設定。

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 則需由 Owner 操作。Anthropic 將透過 URL 加入的連接器標示為 Custom,並提醒它們會將 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 方案加入?

Owner 只需為整個機構加入一次。在機構設定 > Connectors 中,Owner 選擇 Add,再選 Custom(如 Claude 要求類型,選擇 Web),輸入名稱及 URL,若對話框顯示 Continue 便按下,然後點選 Add。成員開啟 Customize > Connectors,找到附有 Custom 標示的 easyCoexistence,選擇 Connect 登入。在 Enterprise 方案中,若成員的自訂角色包含管理機構資源庫的權限,亦可加入。

在 Free、Pro、Max 及 Ultra 方案中,你可依本頁步驟加入至個人帳戶。兩種情況下,請保留 Claude 標示為 Detected 的驗證選項。此連結會在你的個人帳戶開啟 Add custom connector,並已填妥兩個欄位,但在加入前仍需你檢視及確認:

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 是否可使用它:在訊息輸入框中選擇 +,選取 Connectors,然後為該對話開啟或關閉 easyCoexistence。當 Claude 想呼叫工具時,它可以先詢問;選擇 Allow once 只批准該次呼叫,選擇 Always allow 則不再就該工具詢問。

若需更精細的控制,開啟 Customize > Connectors,選取 easyCoexistence,並以工具群組或個別工具為單位,將 Tool permissions 設為 Always allow、Needs approval 或 Blocked。共用帳戶的審慎設定,是對 send_message、send_template 及 create_automation 設為 Needs approval,對 delete_automation 及 revoke_api_key 設為 Blocked。Disconnect 會登出 Claude 並保留連接器列表;三點選單中的 Remove 則會將其從你的帳戶移除。

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 帳戶登入,在 Customize > Connectors 加入的連接器已會出現在 /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 會以觸發條件(例如 Has keyword、First message 或 After hours)和一連串步驟呼叫 create_automation,一條線最多 30 個、全部最多 60 個,包含分支、等待回答的問題與 AI 代理,然後以 test_automation 用範例訊息測試,且不會實際發送。以此方式建立的自動化在儲存後即會開啟,因此若你想先審閱,可要求 Claude 傳入 enabled: false。

若希望由 AI 撰寫回覆,「Reply with 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 成員身分尋找 Add custom connector。應由 Owner 在機構設定 > Connectors 中加入,成員隨後選擇 Connect。
  • 執行 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 天免費試用。

常見問題

是否有 WhatsApp 的 Claude 外掛?

Claude 外掛會打包技能、連接器、指令及代理,從 Customize > Plugins 加入,並同步至 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,而非幾個月。應用程式在手機上仍可繼續運作。

開始免費試用

驗證日期