wa2agent

io.github.rosroyros由 GitHub 账号 rosroyros 发布v1.1.1更新于 Oct 26, 2026

Read-only WhatsApp MCP for your AI agent: it reads the chats you choose. Try the public demo.

已验证Streamable HTTP可网页运行效率与工作流沟通与协作

概览

AI 生成的概览

托管式只读 WhatsApp MCP 服务器,让 AI 助手读取你选定的聊天,并整理成任务、日程和每日简报。

可以做什么
  • 读取选定的 WhatsApp 聊天:单个群组和私聊、全部群组、全部私聊或全部内容。
  • 把群聊内容整理成事件、任务、待跟进事项和每日简报。
  • 可选择把新消息通过邮件投递到助手已在读取的收件箱。
  • 用保险库的 MCP 地址从 Claude、Claude Code、Codex 或任意 MCP 客户端连接。
  • 可用虚构聊天的公开演示环境试用。
适用场景
适合希望助手跟进学校、家庭或工作 WhatsApp 群组、又不想在自己电脑上运行桥接程序,且只需要读取而不需要发送的场景。适用于让助手总结聊天、提取待办或生成每日简报。
运行要求
使用保险库地址上的远程 MCP 端点,本地无需运行任何程序。需要邀请制账号,在服务商网站创建保险库,用手机以关联设备方式连接 WhatsApp,并选择要共享的聊天。需在 Authorization 请求头中提供保险库页面上的 bearer 代理访问密钥。需要网络访问。
安装前请注意
Authorization 中的 bearer 密钥是可读取共享聊天的机密,请妥善保管并可随时撤销。共享聊天中的任何人都能写入助手会读到的文字,存在提示注入风险;只读权限可避免向联系人发消息。新消息在加密前会经过服务,服务会处理聊天名称和消息时间;选定的文本保留 30 天。它并非 WhatsApp 官方产品,关联设备允许什么由 WhatsApp 决定。

安装

在 SourceWeft 中

  1. 打开 控制台中的 wa2agent,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

wa2agent: read-only WhatsApp MCP for Claude, Codex and other AI agents

wa2agent gives your AI agent read-only access to the WhatsApp chats you choose. It is a hosted WhatsApp MCP server: your agent connects over MCP (or reads new messages by email), and you do not run anything on your own computer.

This repo holds the agent skill that sets it up.

How do I let Claude (or another agent) read my WhatsApp?

  1. Create a vault at https://wa2agent.link and link WhatsApp from your phone, like adding WhatsApp Web.
  2. Choose which chats to share: single groups and DMs, all groups, all DMs, or everything.
  3. Connect your agent: add your vault's MCP address to Claude, Claude Code, Codex or any MCP client, or turn on email delivery to an inbox your agent already reads.

Your agent can then turn school, family and work groups into events, tasks, follow-ups and a daily brief.

How is this different from lharries/whatsapp-mcp and other free servers?

Self-hosted servers such as lharries/whatsapp-mcp are a good choice if you want full control and can keep a computer running, update the bridge and repair it when it breaks. wa2agent runs the connection for you, so your agent can read shared chats while your laptop is closed. It is also read-only by design: your agent cannot send WhatsApp messages through it.

Is it safe?

  • Read-only. Your agent cannot send messages through wa2agent.
  • You choose the chats. Change or revoke them anytime.
  • Encrypted storage. Stored messages are encrypted with a key only your agent holds, so wa2agent can't read them. New messages pass through the service before they are encrypted, and the service handles chat names and message times so it can deliver them.
  • Short retention. Selected text messages are kept for 30 days. Media files are not downloaded.
  • Prompt injection. Anyone in a shared chat can write text your agent will read. The skill tells your agent to treat messages as source material, never as instructions, and read-only access means a tricked agent still cannot message your contacts.
  • WhatsApp account. wa2agent connects as a linked device, the same way WhatsApp Web does. It is not an official WhatsApp product, and WhatsApp decides what it allows on linked devices.

Details: privacy and storage.

Try it without an invite

A public demo with fictional chats: connect any MCP client to https://demo.wa2agent.link/mcp with the public key on wa2agent.link/demo. Read-only, synthetic data only.

Other ways to connect WhatsApp to AI

Comparing options? Awesome WhatsApp MCP lists self-hosted servers, hosted services, the Business API and the free export route, with their risks. It also has a free skill that reads WhatsApp chat exports, no account needed.

Install the skill

With the skills CLI:

bash
npx skills add rosroyros/wa2agent-skills

Or copy skills/wa2agent-whatsapp/ into your agent's skills folder, for example .claude/skills/ (Claude Code) or .agents/skills/ (Codex).

Then ask your agent: "Connect my WhatsApp with wa2agent so you can read my school and family groups."

Tested with fresh Claude Code and Codex agents: set up a vault, then read a message and an export email in new sessions.

Agent guides

About

wa2agent is invite-only for now; join the waitlist at https://wa2agent.link/login. Questions: [email protected].

Built and operated by Roy Rosenfeld. Built on open-source WhatsApp connection tools, including wacli and whatsmeow.

来源:README.md,提交 b9a9d0f

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

2
  1. v1.1.1最新Oct 26, 2026
  2. v1.0.0Oct 22, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分