
WhatsApp Messaging API
io.github.jevil25由 GitHub 账号 jevil25 发布v1.0.3更新于 Oct 24, 2026
Send WhatsApp messages from Claude. No Meta Business approval or WhatsApp Business account.
概览
本地 MCP 服务器,让助手通过第三方 API 管理 WhatsApp 会话并发送文本、图片和文件消息,无需 Meta Business 审批或 WhatsApp Business 账户。
- 可以做什么
- 列出、创建并查询 WhatsApp 会话状态,获取二维码或配对码以在手机端关联设备完成认证。发送前检查某个手机号是否已注册 WhatsApp。发送文本消息、通过链接发送图片,以及通过链接发送 PDF 等文件。会话在多次运行之间保持认证,因此每个号码只需关联一次。
- 适用场景
- 适合希望从桌面 MCP 客户端让助手发送 WhatsApp 消息或文件,又不想走 Meta Business 审批或开通 WhatsApp Business 账户的场景。
- 运行要求
- 以 stdio 在本地运行,通常通过 npx 启动,因此需要 Node.js。需要 RapidAPI 密钥,通过环境变量 WHATSAPP_API_KEY 提供;缺失时服务器会在启动时退出。需要访问 API 主机的网络,以及一台装有 WhatsApp 的手机来扫描二维码或输入配对码。
安装
在 SourceWeft 中
- 打开 控制台中的 WhatsApp Messaging API,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
WhatsApp Messaging API — MCP Server
Send WhatsApp messages from Claude, Cursor, or any MCP client. Create a session, scan a QR code, and send text, images and files — no Meta Business approval and no WhatsApp Business account required.
Wraps the WhatsApp Messaging API.
Quick start
-
Get a free API key from RapidAPI — no credit card.
-
Add this to your MCP client config (Claude Desktop:
claude_desktop_config.json): -
Restart the client. Ask it to create a WhatsApp session and show you the QR code.
Nothing to install or build — npx fetches the package on first run.
Tools
Typical flow
create_session→get_qr_code→ scan with WhatsApp (Settings → Linked Devices)get_session_statusuntil it reportsWORKINGcheck_contact_exists, thensend_text_message/send_image/send_file
Sessions stay authenticated between runs, so steps 1-2 are one-time per number.
Configuration
The key is read from the environment and sent only to the API host. It is never logged.
Local development
npm test needs no credentials — it passes a dummy key, which gets far enough to
list tools because nothing in the handshake makes an API call.
To point an MCP client at your local build, use "command": "node" with
"args": ["/absolute/path/to/dist/index.js"].
See DEVELOPING.md for the release process.
Links
- npm package
- MCP registry entry —
io.github.jevil25/whatsapp-messaging-api-mcp - WhatsApp Messaging API docs
License
MIT
来源:README.md,提交 683d8b5
工具
0版本历史
1- v1.0.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分