
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.
概览
基于官方 WhatsApp Business API 的托管 MCP 服务器,让助手收发 WhatsApp 消息、模板、聊天和营销活动。
- 可以做什么
- 发送文本、媒体、位置、联系人和定时消息,回复、回应和转发
- 列出、创建和删除模板,并在 24 小时窗口外发送已审核模板
- 搜索和筛选聊天、读取消息记录、导出聊天并查看聊天统计
- 创建、搜索、更新和导入联系人及标签
- 管理团队收件箱:客服与部门、会话分配、解决或重开、内部备注
- 创建和运行营销活动、跟进销售管道中的商机、发送 WhatsApp Flows、上传下载文件、检查号码是否开通 WhatsApp
- 适用场景
- 适合通过 WhatsApp 与客户沟通的企业,希望助手起草回复、发送已审核模板、运行营销活动或分派共享团队收件箱。若只想读取自己的个人聊天,则不适合。
- 运行要求
- 远程 Streamable HTTP 端点,无需本地安装。需要 Wassenger 账号并已连接 WhatsApp Business 号码,以及 Wassenger API 密钥,通过 Authorization 请求头以 Bearer 形式发送;不支持请求头的客户端可放在地址中。部分客户端需使用 npm 桥接包。
安装
在 SourceWeft 中
- 打开 控制台中的 WhatsApp Business API by Wassenger,将其添加到工作区。
- 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
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
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.
Business API or personal account?
There are two kinds of WhatsApp MCP servers, and they solve different problems.
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
- Create a Wassenger account and connect your WhatsApp Business number.
- Copy your API key from app.wassenger.com/apikeys.
- Add the server to your client with one of the configurations below.
- 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:
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
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.
Cursor
~/.cursor/mcp.json:
VS Code
.vscode/mcp.json. VS Code asks for the key the first time and stores it securely:
OpenAI API (Responses API and Agents SDK)
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_shippedtemplate 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_offertemplate 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:
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
Authorizationheader 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
- Wassenger · Pricing · API documentation
- Connect WhatsApp to Claude: step-by-step guide
- Model Context Protocol
License
MIT
来源:README.md,提交 d0a24a3
工具
0版本历史
1- v1.0.0最新Oct 25, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分