WhatsApp Business API by Wassenger

com.wassenger由 wassenger.com 發布官方發布者v1.0.0更新於 Oct 26, 2026

Send and read WhatsApp messages, templates, chats and campaigns through the official Business API.

已驗證Streamable HTTP可網頁執行溝通與協作商業與電商

概覽

AI 產生的概覽

以官方 WhatsApp Business API 為基礎的託管 MCP 伺服器,讓助理收發 WhatsApp 訊息、範本、聊天與行銷活動。

可以做什麼
  • 傳送文字、媒體、位置、聯絡人與排程訊息,回覆、回應與轉寄
  • 列出、建立與刪除範本,並在 24 小時視窗外傳送已審核範本
  • 搜尋與篩選聊天、讀取訊息紀錄、匯出聊天並查看聊天統計
  • 建立、搜尋、更新與匯入聯絡人及標籤
  • 管理團隊收件匣:客服人員與部門、對話指派、解決或重開、內部備註
  • 建立與執行行銷活動、追蹤銷售流程中的商機、傳送 WhatsApp Flows、上傳下載檔案、檢查號碼是否開通 WhatsApp
適用情境
適合以 WhatsApp 與客戶溝通的企業,希望助理草擬回覆、傳送已審核範本、執行行銷活動或分派共用團隊收件匣。若只想讀取自己的個人聊天,則不適合。
執行需求
遠端 Streamable HTTP 端點,無需本機安裝。需要 Wassenger 帳號並已連接 WhatsApp Business 號碼,以及 Wassenger API 金鑰,透過 Authorization 標頭以 Bearer 形式傳送;不支援標頭的用戶端可放在網址中。部分用戶端需使用 npm 橋接套件。
安裝前請注意
此金鑰可讀取客戶訊息並以你的名義傳送訊息;放在網址中的金鑰可能出現在日誌與瀏覽紀錄,建議使用專用金鑰並在外洩時撤銷。助理可傳送、刪除與重新指派資料,應對傳送與刪除類工具保持審核,並把收到的訊息內容視為不可信輸入。費用包含 Wassenger 訂閱,以及 Meta 對範本訊息的直接計費。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 WhatsApp Business API by Wassenger,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.wassenger%2Fwhatsapp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "whatsapp-business-api-by-wassenger": {
      "type": "http",
      "url": "https://api.wassenger.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

WhatsApp MCP Server for the official WhatsApp Business API

[npm] [License: MIT]

A hosted Model Context Protocol server that lets Claude, Cursor, VS Code, the OpenAI API and any other MCP client work with WhatsApp through the official WhatsApp Business API: send and read messages, reply with approved templates, run campaigns, manage contacts and run a shared team inbox.

It is run by Wassenger. There is nothing to install: point your client at https://api.wassenger.com/mcp and send your Wassenger API key in the Authorization header. Claude and ChatGPT on the web have no field for a header, so there the key goes in the address instead.

text
Remote URL:  https://api.wassenger.com/mcpTransport:   Streamable HTTPAuth:        Authorization: Bearer <WASSENGER_API_KEY>             or https://api.wassenger.com/mcp?key=<WASSENGER_API_KEY> for clients without headers

Business API or personal account?

There are two kinds of WhatsApp MCP servers, and they solve different problems.

This server (Wassenger)Personal-account servers such as lharries/whatsapp-mcp
How it connectsOfficial WhatsApp Business API (Meta Cloud API)Links your personal account as a WhatsApp Web device
SetupHosted. Add a URL and an API keyRun a Go bridge and a Python server locally, then scan a QR code
Messages outside the 24-hour windowYes, with approved templatesNo templates
Several people on one numberShared inbox, chat assignment, departments, labelsOne user
Campaigns and bulk sendsYes, paced by a delivery queueNo
Where messages are storedYour Wassenger accountA SQLite database on your computer
WhatsApp's termsUses the API Meta provides for businessesWhatsApp's Terms of Service don't allow unofficial clients, so the number can be restricted
CostWassenger subscription; Meta bills template messages directlyFree and open source

If you only want Claude to read and search your own personal chats, a personal-account server is the simpler choice. If WhatsApp is how your business talks to customers, use the Business API.

Quick start

  1. Create a Wassenger account and connect your WhatsApp Business number.
  2. Copy your API key from app.wassenger.com/apikeys.
  3. Add the server to your client with one of the configurations below.
  4. Ask: "Which of my WhatsApp numbers are connected?" to check it works.

Connect your client

Claude (web and desktop app)

Open Customize → Connectors, click +, choose Add custom connector, give it a name and paste the address with your key:

text
https://api.wassenger.com/mcp?key=YOUR_WASSENGER_API_KEY

Click Add. In a chat, open the + menu, choose Connectors and switch it on. On Team and Enterprise plans only an owner can add a custom connector, and everyone who uses it shares that key.

ChatGPT (web)

ChatGPT reaches a custom MCP server from the web app, on the plans where OpenAI enables developer mode, and a workspace admin has to turn it on. Go to Apps → Create, paste the same address, choose No authentication, click Scan tools and then Create. Choosing OAuth fails, because this server publishes no OAuth metadata.

Claude Code

bash
claude mcp add --transport http wassenger https://api.wassenger.com/mcp \  --header "Authorization: Bearer YOUR_WASSENGER_API_KEY"

Clients that only run local servers

Some clients only start local processes, like Claude Desktop configured through claude_desktop_config.json. Use the npm bridge from this repository (mcp-wassenger): it connects to the hosted server and sends your key in the Authorization header.

json
{  "mcpServers": {    "wassenger": {      "command": "npx",      "args": ["-y", "mcp-wassenger", "YOUR_WASSENGER_API_KEY"]    }  }}

Cursor

~/.cursor/mcp.json:

json
{  "mcpServers": {    "wassenger": {      "url": "https://api.wassenger.com/mcp",      "headers": { "Authorization": "Bearer YOUR_WASSENGER_API_KEY" }    }  }}

VS Code

.vscode/mcp.json. VS Code asks for the key the first time and stores it securely:

json
{  "inputs": [    { "type": "promptString", "id": "wassenger-key", "description": "Wassenger API key", "password": true }  ],  "servers": {    "wassenger": {      "type": "http",      "url": "https://api.wassenger.com/mcp",      "headers": { "Authorization": "Bearer ${input:wassenger-key}" }    }  }}

OpenAI API (Responses API and Agents SDK)

javascript
import OpenAI from 'openai'
const openai = new OpenAI()
const response = await openai.responses.create({  model: 'gpt-6.1-sol',  input: 'Summarize the unread WhatsApp chats from today',  tools: [{    type: 'mcp',    server_label: 'wassenger',    server_url: 'https://api.wassenger.com/mcp',    headers: { Authorization: `Bearer ${process.env.WASSENGER_API_KEY}` },    require_approval: 'always'  }]})

Any other client

Use the remote URL with Streamable HTTP and the Authorization header. If your client has no field for headers, use the ?key= address; if it only runs local servers, use the npm bridge: npx -y mcp-wassenger YOUR_WASSENGER_API_KEY.

What you can ask

  • "Show me the unread chats from today and draft a reply to each one."
  • "Assign every chat that mentions 'invoice' to the billing department."
  • "Send the order_shipped template to +1 555 555 0100 with tracking number 1Z999."
  • "Which customers asked about pricing this week and got no answer?"
  • "Create a campaign with the spring_offer template for contacts labelled 'VIP'."
  • "Move the deal for Acme to 'Proposal sent' and add a note with today's call summary."
  • "Check whether these 20 numbers have WhatsApp before I import them."
  • "How many chats did we open, resolve and leave pending this week?"

Tools

More than 50 tools, grouped by what they work on:

AreaWhat the tools do
MessagesSend text, media, location, contacts and scheduled messages; reply, react and forward
TemplatesList, create and delete templates; send approved templates outside the 24-hour window
ChatsSearch and filter chats by status, label, agent, date or unread; read message history; export chats; chat statistics
Contacts and labelsCreate, search, update and import contacts; create and apply labels
Team inboxManage agents and departments; hand a chat to a teammate or department, resolve or reopen it, leave internal notes, mark it read or unread
CampaignsCreate, start and stop campaigns and manage their recipients; monitor the delivery queue
Sales pipelineCreate pipelines and stages, track deals, add notes and tasks to deals
WhatsApp FlowsList flows, send a flow and read its responses
FilesUpload files from a URL, search sent and received files, download media
Numbers and devicesList connected numbers and their status; check whether a phone number is on WhatsApp

Groups, Channels and Status updates only work on numbers connected by QR code, because the official Business API doesn't offer them.

Security

  • Use the Authorization header whenever your client has a field for it. A key in the address (?key=) ends up in access logs, proxy logs, error reports and browser history, so treat it as exposed: for Claude and ChatGPT on the web, create a key used only there and revoke it if the address leaks.
  • An agent with this server can read your customers' messages and send messages in your name. Treat untrusted message content as untrusted input: keep approval on for tools that send or delete, as in the OpenAI example above.
  • Revoke a key at any time from app.wassenger.com/apikeys.

FAQ

Is there a WhatsApp MCP server I can use with Claude? Yes. This one works in Claude on the web and in the desktop app as a custom connector, in Claude Code and in any MCP client, on top of the official WhatsApp Business API. Setup takes a URL and an API key.

How do I connect WhatsApp to Claude or ChatGPT as an AI agent? Connect your number to Wassenger, then add this server: as a custom connector in Claude, as an app in ChatGPT's developer mode, or as an MCP tool in an agent built on the OpenAI API, with the configurations above. The agent can then read chats, reply, send templates and hand conversations to people on your team.

Do I need to keep a phone or computer switched on? No. Numbers on the Business API run in Meta's cloud and the MCP server is hosted.

Can it message customers who haven't written in the last 24 hours? Yes, with a template approved by Meta. Free-form messages are only allowed within 24 hours of the customer's last message; that is a WhatsApp rule for every provider.

Is it free? The hosted server comes with your Wassenger account, and the npm bridge in this repository is open source under the MIT license. You need a Wassenger account with a connected number: see pricing. Meta bills template messages directly.

Links

License

MIT

來源:README.md,提交 d0a24a3

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v1.0.0最新Oct 25, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分