原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

WhatsApp MCP

作者:adelaidasofia版本 0.1.1i★ 7i在你的电脑上运行代码仓库 ↗
注册名称io.github.adelaidasofia/whatsapp-mcp

安装方法

What it does

WhatsApp MCP. SQLCipher-encrypted, scrubber-CI-gated, draft-and-confirm sends, voice transcription.

  • Connects 在你的电脑上运行
  • Account or key Needs WHATSAPP_WHISPER_API_KEY
  • Category 聊天与邮件

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度11/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分23/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 WhatsApp MCP。按照 https://mcp.popnx.com/i/adelaidasofia-whatsapp-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 WhatsApp MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server WhatsApp MCP,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "whatsapp": { "command": "uvx", "args": [ "adelaidasofia-whatsapp-mcp" ], "env": { "WHATSAPP_WHISPER_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) WHATSAPP_WHISPER_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 WhatsApp MCP 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 WhatsApp MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "whatsapp": {
          "command": "uvx",
          "args": [
            "adelaidasofia-whatsapp-mcp"
          ],
          "env": {
            "WHATSAPP_WHISPER_API_KEY": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 WhatsApp MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 WhatsApp MCP,或回答中出现 WhatsApp MCP 的工具名称,就表示连接成功

8 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • WHATSAPP_BRIDGE_HOST Go bridge REST API 的主机名。
    查看英文原文Hostname for the Go bridge REST API.
    · 默认值 127.0.0.1
  • WHATSAPP_BRIDGE_PORT Go bridge REST API 的端口。
    查看英文原文Port for the Go bridge REST API.
    · 默认值 8080
  • WHATSAPP_VAULT_CRM_PATH 用于自动注入的 vault CRM 文件夹绝对路径(例如 Obsidian 的 'CRM/')。未设置时,CRM 注入被禁用。
    查看英文原文Absolute path to a vault CRM folder for auto-injection (e.g., Obsidian 'CRM/'). When unset, CRM injection is disabled.
  • WHATSAPP_WHISPER_BACKEND 语音备忘录转录后端。'local-cpp'(默认,私密)或 'openai-api'(需主动选择启用)。
    查看英文原文Voice-note transcription backend. 'local-cpp' (default, private) or 'openai-api' (opt-in).
    · 默认值 local-cpp
  • WHATSAPP_WHISPER_MODEL whisper.cpp 模型名称。仅在 backend 为 local-cpp 时使用。
    查看英文原文whisper.cpp model name. Only used when backend is local-cpp.
    · 默认值 large-v3
  • WHATSAPP_SCRUB_PROMPT_INJECTION 在 LLM 处理前,从传入消息中剥离已知的提示注入模式。
    查看英文原文Strip known prompt-injection patterns from incoming messages before the LLM sees them.
    · 默认值 true
  • WHATSAPP_AUDIT_LOG 将每次工具调用记录到 audit.log
    查看英文原文Log every tool call to audit.log.
    · 默认值 true
  • WHATSAPP_ENCRYPT_DB 启用 SQLCipher 数据库加密,密钥取自 macOS 钥匙串。
    查看英文原文Enable SQLCipher DB encryption with the key sourced from macOS Keychain.
    · 默认值 true

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 WhatsApp MCP

WhatsApp MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 WhatsApp MCP 的应用

  • 需要 WhatsApp MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 WhatsApp MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 WhatsApp MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 WhatsApp MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

B · 聊天与邮件 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 WhatsApp MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server WhatsApp MCP,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user whatsapp --env WHATSAPP_WHISPER_API_KEY=your-value -- uvx adelaidasofia-whatsapp-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) WHATSAPP_WHISPER_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 WhatsApp MCP 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 WhatsApp MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user whatsapp --env WHATSAPP_WHISPER_API_KEY=your-value -- uvx adelaidasofia-whatsapp-mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 WhatsApp MCP 在列表中并显示已连接

  6. 试一试

    用 WhatsApp MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 WhatsApp MCP,或回答中出现 WhatsApp MCP 的工具名称,就表示连接成功

8 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • WHATSAPP_BRIDGE_HOST Go bridge REST API 的主机名。
    查看英文原文Hostname for the Go bridge REST API.
    · 默认值 127.0.0.1
  • WHATSAPP_BRIDGE_PORT Go bridge REST API 的端口。
    查看英文原文Port for the Go bridge REST API.
    · 默认值 8080
  • WHATSAPP_VAULT_CRM_PATH 用于自动注入的 vault CRM 文件夹绝对路径(例如 Obsidian 的 'CRM/')。未设置时,CRM 注入被禁用。
    查看英文原文Absolute path to a vault CRM folder for auto-injection (e.g., Obsidian 'CRM/'). When unset, CRM injection is disabled.
  • WHATSAPP_WHISPER_BACKEND 语音备忘录转录后端。'local-cpp'(默认,私密)或 'openai-api'(需主动选择启用)。
    查看英文原文Voice-note transcription backend. 'local-cpp' (default, private) or 'openai-api' (opt-in).
    · 默认值 local-cpp
  • WHATSAPP_WHISPER_MODEL whisper.cpp 模型名称。仅在 backend 为 local-cpp 时使用。
    查看英文原文whisper.cpp model name. Only used when backend is local-cpp.
    · 默认值 large-v3
  • WHATSAPP_SCRUB_PROMPT_INJECTION 在 LLM 处理前,从传入消息中剥离已知的提示注入模式。
    查看英文原文Strip known prompt-injection patterns from incoming messages before the LLM sees them.
    · 默认值 true
  • WHATSAPP_AUDIT_LOG 将每次工具调用记录到 audit.log
    查看英文原文Log every tool call to audit.log.
    · 默认值 true
  • WHATSAPP_ENCRYPT_DB 启用 SQLCipher 数据库加密,密钥取自 macOS 钥匙串。
    查看英文原文Enable SQLCipher DB encryption with the key sourced from macOS Keychain.
    · 默认值 true

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 WhatsApp MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server WhatsApp MCP,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "whatsapp": { "command": "uvx", "args": [ "adelaidasofia-whatsapp-mcp" ], "env": { "WHATSAPP_WHISPER_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) WHATSAPP_WHISPER_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 WhatsApp MCP 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 WhatsApp MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 WhatsApp MCP 的设置中,WHATSAPP_WHISPER_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 WhatsApp MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 WhatsApp MCP,或回答中出现 WhatsApp MCP 的工具名称,就表示连接成功

8 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • WHATSAPP_BRIDGE_HOST Go bridge REST API 的主机名。
    查看英文原文Hostname for the Go bridge REST API.
    · 默认值 127.0.0.1
  • WHATSAPP_BRIDGE_PORT Go bridge REST API 的端口。
    查看英文原文Port for the Go bridge REST API.
    · 默认值 8080
  • WHATSAPP_VAULT_CRM_PATH 用于自动注入的 vault CRM 文件夹绝对路径(例如 Obsidian 的 'CRM/')。未设置时,CRM 注入被禁用。
    查看英文原文Absolute path to a vault CRM folder for auto-injection (e.g., Obsidian 'CRM/'). When unset, CRM injection is disabled.
  • WHATSAPP_WHISPER_BACKEND 语音备忘录转录后端。'local-cpp'(默认,私密)或 'openai-api'(需主动选择启用)。
    查看英文原文Voice-note transcription backend. 'local-cpp' (default, private) or 'openai-api' (opt-in).
    · 默认值 local-cpp
  • WHATSAPP_WHISPER_MODEL whisper.cpp 模型名称。仅在 backend 为 local-cpp 时使用。
    查看英文原文whisper.cpp model name. Only used when backend is local-cpp.
    · 默认值 large-v3
  • WHATSAPP_SCRUB_PROMPT_INJECTION 在 LLM 处理前,从传入消息中剥离已知的提示注入模式。
    查看英文原文Strip known prompt-injection patterns from incoming messages before the LLM sees them.
    · 默认值 true
  • WHATSAPP_AUDIT_LOG 将每次工具调用记录到 audit.log
    查看英文原文Log every tool call to audit.log.
    · 默认值 true
  • WHATSAPP_ENCRYPT_DB 启用 SQLCipher 数据库加密,密钥取自 macOS 钥匙串。
    查看英文原文Enable SQLCipher DB encryption with the key sourced from macOS Keychain.
    · 默认值 true

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 WhatsApp MCP 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server WhatsApp MCP,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "whatsapp": { "type": "stdio", "command": "uvx", "args": [ "adelaidasofia-whatsapp-mcp" ], "env": { "WHATSAPP_WHISPER_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) WHATSAPP_WHISPER_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 WhatsApp MCP 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 注册并创建 WhatsApp MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 WhatsApp MCP 的设置中,WHATSAPP_WHISPER_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 WhatsApp MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 WhatsApp MCP,或回答中出现 WhatsApp MCP 的工具名称,就表示连接成功

8 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • WHATSAPP_BRIDGE_HOST Go bridge REST API 的主机名。
    查看英文原文Hostname for the Go bridge REST API.
    · 默认值 127.0.0.1
  • WHATSAPP_BRIDGE_PORT Go bridge REST API 的端口。
    查看英文原文Port for the Go bridge REST API.
    · 默认值 8080
  • WHATSAPP_VAULT_CRM_PATH 用于自动注入的 vault CRM 文件夹绝对路径(例如 Obsidian 的 'CRM/')。未设置时,CRM 注入被禁用。
    查看英文原文Absolute path to a vault CRM folder for auto-injection (e.g., Obsidian 'CRM/'). When unset, CRM injection is disabled.
  • WHATSAPP_WHISPER_BACKEND 语音备忘录转录后端。'local-cpp'(默认,私密)或 'openai-api'(需主动选择启用)。
    查看英文原文Voice-note transcription backend. 'local-cpp' (default, private) or 'openai-api' (opt-in).
    · 默认值 local-cpp
  • WHATSAPP_WHISPER_MODEL whisper.cpp 模型名称。仅在 backend 为 local-cpp 时使用。
    查看英文原文whisper.cpp model name. Only used when backend is local-cpp.
    · 默认值 large-v3
  • WHATSAPP_SCRUB_PROMPT_INJECTION 在 LLM 处理前,从传入消息中剥离已知的提示注入模式。
    查看英文原文Strip known prompt-injection patterns from incoming messages before the LLM sees them.
    · 默认值 true
  • WHATSAPP_AUDIT_LOG 将每次工具调用记录到 audit.log
    查看英文原文Log every tool call to audit.log.
    · 默认值 true
  • WHATSAPP_ENCRYPT_DB 启用 SQLCipher 数据库加密,密钥取自 macOS 钥匙串。
    查看英文原文Enable SQLCipher DB encryption with the key sourced from macOS Keychain.
    · 默认值 true

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 WhatsApp MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user whatsapp --env WHATSAPP_WHISPER_API_KEY=your-value -- uvx adelaidasofia-whatsapp-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "whatsapp": {
      "command": "uvx",
      "args": [
        "adelaidasofia-whatsapp-mcp"
      ],
      "env": {
        "WHATSAPP_WHISPER_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "whatsapp": {
      "command": "uvx",
      "args": [
        "adelaidasofia-whatsapp-mcp"
      ],
      "env": {
        "WHATSAPP_WHISPER_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "whatsapp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "adelaidasofia-whatsapp-mcp"
      ],
      "env": {
        "WHATSAPP_WHISPER_API_KEY": "your-value"
      }
    }
  }
}

需要你填写的值

  • WHATSAPP_BRIDGE_HOST env
    Go bridge REST API 的主机名。
    查看英文原文Hostname for the Go bridge REST API.
  • WHATSAPP_BRIDGE_PORT env
    Go bridge REST API 的端口。
    查看英文原文Port for the Go bridge REST API.
  • WHATSAPP_VAULT_CRM_PATH env
    用于自动注入的 vault CRM 文件夹绝对路径(例如 Obsidian 的 'CRM/')。未设置时,CRM 注入被禁用。
    查看英文原文Absolute path to a vault CRM folder for auto-injection (e.g., Obsidian 'CRM/'). When unset, CRM injection is disabled.
  • WHATSAPP_WHISPER_BACKEND env
    语音备忘录转录后端。'local-cpp'(默认,私密)或 'openai-api'(需主动选择启用)。
    查看英文原文Voice-note transcription backend. 'local-cpp' (default, private) or 'openai-api' (opt-in).
  • WHATSAPP_WHISPER_API_KEY 机密 必填 env
    OpenAI API 密钥。仅当 WHATSAPP_WHISPER_BACKEND=openai-api 时需要。
    查看英文原文OpenAI API key. Required only when WHATSAPP_WHISPER_BACKEND=openai-api.
  • WHATSAPP_WHISPER_MODEL env
    whisper.cpp 模型名称。仅在 backend 为 local-cpp 时使用。
    查看英文原文whisper.cpp model name. Only used when backend is local-cpp.
  • WHATSAPP_SCRUB_PROMPT_INJECTION env
    在 LLM 处理前,从传入消息中剥离已知的提示注入模式。
    查看英文原文Strip known prompt-injection patterns from incoming messages before the LLM sees them.
  • WHATSAPP_AUDIT_LOG env
    将每次工具调用记录到 audit.log
    查看英文原文Log every tool call to audit.log.
  • WHATSAPP_ENCRYPT_DB env
    启用 SQLCipher 数据库加密,密钥取自 macOS 钥匙串。
    查看英文原文Enable SQLCipher DB encryption with the key sourced from macOS Keychain.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
34/周
连接方式
在你的电脑上运行
最新版本i
0.1.1
发布到注册中心i
2026年5月20日
代码最后更新i
2026年11月18日
作者
adelaidasofia
软件包
pypi: adelaidasofia-whatsapp-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 adelaidasofia 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 adelaidasofia-whatsapp-mcp@0.1.1 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/adelaidasofia-whatsapp-mcp.svg)](https://mcp.popnx.com/en/servers/adelaidasofia-whatsapp-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“聊天与邮件”中的其他服务器比较i

  • 星标数多于此分类中其他 2018 个服务器的 94%
  • 发布到注册中心的时间比此分类中其他 2018 个服务器的 7% 更新
  • 基础检查结果等于或优于此分类中其他 2018 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

WhatsApp MCP 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:WHATSAPP_WHISPER_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(0.1.1)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

作者:anypost广泛使用↓ 5432/周★ 13945天前更新

电脑或云端✓ 服务方 · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

作者:infobip起步阶段★ 3613个月前更新

在云端运行✓ 服务方 · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

作者:w1ne起步阶段★ 3523天前更新

在云端运行✓ 服务方 · kernelcad.com
与相似项目对比
本项
WhatsApp MCP
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
运行位置需要安装在电脑上云端或安装在电脑上都可以在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥是否否否否否
可在 Claude 中按 + 添加否否否否是否
基础检查3/35/54/44/44/44/4
许可证MITMITAGPL-3.0Apache-2.0MITMIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

whatsapp-mcp

A WhatsApp MCP server for Claude, built directly on whatsmeow. Encrypted at rest, prompt-injection-scrubbed, draft-and-confirm on every send, full audit trail, daily CI security gates. Actively maintained.

Why this one?

The most-starred WhatsApp MCP (lharries/whatsapp-mcp, 5.6K stars) is the architectural reference for this pattern, but has not shipped since July 2025 and leaves the lethal-trifecta problem entirely to the user. This implementation closes the gaps:

CanonicalThis implementation
Last shippedJuly 2025Active
DB encryptionPlain SQLiteSQLCipher with key in the platform secret store (macOS Keychain / Windows Credential Manager / libsecret)
Prompt-injection scrubberNoneEvery inbound message
Send safetyFires immediatelyMandatory confirm_send between draft and delivery
Audit logNoneEvery tool call, 30-day retention
Voice notesNot transcribedwhisper.cpp local, language detected per note, turned on with one command
LID alias resolutionOpen issue cluster upstreamShipped, with backfill migration for legacy threads
CI securityNonegovulncheck + pip-audit + Dependabot, daily

Not a fork. The Go bridge is built directly against whatsmeow; the Python MCP layer and SQLite schema are original. Other implementations (lharries, LukasHaas, verygoodplugins) were read as reference only.

What this gives you

Claude can:

  • Read your WhatsApp chats, messages, and contacts
  • Search messages with accent-insensitive, typo-tolerant matching
  • Transcribe voice notes locally via whisper.cpp (language detected per note). Off until you say yes; Claude offers it once, and python3 whatsapp-mcp-server/enable_transcription.py turns it on in one step
  • Resolve LID (Linked IDentifier) names instead of numeric placeholders
  • Send text messages, reactions, and reply-quotes, with a mandatory confirm_send step between draft and delivery
  • Pull matching CRM context from your Obsidian vault when reading a chat
  • See only prompt-injection-scrubbed message text, never raw adversarial input

Everything runs locally on your machine. No cloud sync. No telemetry. Optional OpenAI Whisper backend is opt-in, off by default.

Architecture

Two components, both local:

  • `whatsapp-bridge/` (Go). Binds to 127.0.0.1 only. Wraps whatsmeow for the WhatsApp Web multidevice protocol. Owns SQLite persistence with SQLCipher encryption. Handles QR and pairing-code auth (live-refreshing terminal QR with Windows-safe rendering, plus a headless auth API — GET /api/auth/qr, POST /api/auth/pair-phone, POST /api/auth/reconnect — so a GUI or supervisor can drive pairing without a terminal), media up/download, session recovery from StreamReplaced conflicts, call history capture. Exposes a REST API the Python MCP layer consumes.
  • `whatsapp-mcp-server/` (Python, FastMCP). Consumes the Go bridge REST API. Exposes 11 MCP tools to Claude: full read surface (chats, messages, contacts), accent-insensitive search, presence (typing, online, mark-read), and text-send + reactions + reply-quotes with mandatory confirm_send. Runs via uv and stdio transport.

Install

Open Claude Code, paste:

/plugin marketplace add adelaidasofia/whatsapp-mcp /plugin install whatsapp-mcp@whatsapp-mcp

This installs the Python MCP server side. The Go bridge still needs the one-time QR pairing flow with your phone — see the legacy install block below for those steps.

Manual install (full Go bridge + QR pairing)

See SETUP.md for step-by-step install per OS. In short:

  1. Grab a prebuilt bridge binary from Releases (Windows/macOS/Linux — no compiler needed), or build from source (Go 1.26+ and a C toolchain)
  2. Python 3.11+ and uv for the MCP server layer
  3. Clone this repo; verify with scripts/check_prerequisites.sh (Windows: scripts\check_prerequisites.ps1)
  4. Start the bridge: ./bin/whatsapp-bridge (Windows: .\bin\whatsapp-bridge.exe)
  5. Scan the QR (it refreshes in place — always scan the one on screen), or pair by typed code with --pair-phone +15551234567
  6. Register the MCP in your Claude Code .mcp.json
  7. Restart Claude Code

FFmpeg and whisper.cpp are only needed if you enable voice-note transcription (off by default); enable_transcription.py configures them for you, and installs them with Homebrew on a Mac (SETUP.md step 4).

Configuration

All configurable via environment variables. See .env.example for the full list.

Key variables:

VariableDefaultPurpose
WHATSAPP_BRIDGE_PORT8080Go bridge REST API port
WHATSAPP_DB_PATH$HOME/.claude/whatsapp-mcp/store/messages.dbEncrypted SQLite database
WHATSAPP_MEDIA_PATH$HOME/.claude/whatsapp-mcp/media/Media file storage
WHATSAPP_VAULT_CRM_PATHemptyAbsolute path to your vault CRM folder for auto-injection (e.g., Obsidian 👤 CRM/). When unset, CRM injection is disabled.
WHATSAPP_WHISPER_BACKENDoffoff (zero-config boot), local-cpp (private, needs a whisper model), or openai-api (opt-in)
WHATSAPP_WHISPER_API_KEYemptyRequired only when backend is openai-api
WHATSAPP_WHISPER_MODELlarge-v3-turbowhisper.cpp model name
WHATSAPP_WHISPER_LANGUAGEautoLanguage passed to whisper. auto detects it per voice note; a fixed code (es, en) forces every note through it
WHATSAPP_KEEP_VOICE_AUDIOtrueWhile transcription is off, save each incoming voice note's audio (voice notes only, never view-once or disappearing ones) under WHATSAPP_MEDIA_PATH, so turning transcription on later also covers notes older than WhatsApp's ~14 days. Set false to stop
WHATSAPP_SCRUB_PROMPT_INJECTIONtrueStrip known prompt-injection patterns from incoming messages before Claude sees them
WHATSAPP_AUDIT_LOGtrueLog every tool call to audit.log
WHATSAPP_ENCRYPT_DBtrueEnable SQLCipher DB encryption; key in the platform secret store (macOS Keychain / Windows Credential Manager / libsecret)
WHATSAPP_DB_KEYemptyExplicit 64-hex-char SQLCipher key override (skips the platform store). Escape hatch for headless/CI/custom secret managers, and the recovery path when the secret store cannot be read — see below
The DB key and WHATSAPP_DB_KEY

With WHATSAPP_ENCRYPT_DB=true (the default), the bridge encrypts the message store with a 256-bit SQLCipher key kept in the platform secret store. The key lifecycle is deliberately conservative, because a wrong key silently orphans every stored message:

  • A fresh key is minted only when the secret store definitively answers "no such item" (macOS errSecItemNotFound, Windows ERROR_NOT_FOUND, libsecret clean miss) and no non-empty store database exists yet.
  • Any other failed read — locked keychain, no D-Bus session, revoked access — makes the bridge exit with an error instead of minting: the key may still exist, and overwriting it would make the encrypted store permanently undecryptable. The error names the fix (e.g. security unlock-keychain).
  • If the secret store has no key but a populated store database exists, the bridge also refuses to mint and asks you to supply the original key.

WHATSAPP_DB_KEY (64 hex chars = 32 bytes, e.g. openssl rand -hex 32) is the escape hatch for all of these: when set, it is used directly and the platform secret store is never touched. Use it for headless/CI machines, custom secret managers, restoring a store on a new machine, or booting while the platform store is unavailable.

Security

This MCP is the highest-trust component in your Claude stack because every WhatsApp message you receive flows through it. See SECURITY.md for the threat model, tool risk-tier classification, and the full list of hardening decisions.

Short version:

  • Bridge binds to 127.0.0.1 only, never 0.0.0.0
  • SQLite encrypted at rest with SQLCipher; key stored in the platform secret store (macOS Keychain / Windows Credential Manager / libsecret), with an explicit WHATSAPP_DB_KEY escape hatch
  • Every tool call logged to audit.log with 30-day retention
  • Send tools require an explicit confirm_send step between draft and delivery
  • Incoming message text passes through a prompt-injection scrubber before Claude sees it
  • whatsmeow pinned to a specific commit; upgrades require diff review
  • No telemetry, no external API calls by default

Status

v0.1.0, actively maintained.

Shipped: live-refreshing QR (in-place redraw on rotation, Windows-safe rendering, auto fresh batch on expiry) + pairing-code auth (typed 8-char code, Android + iOS) + headless auth API for supervisors, full read surface (chats, messages, contacts), accent-insensitive NFD-normalized search, LID alias resolution with backfill migration for legacy threads, Baileys-store import for one-shot history migration, vault-format markdown export, local whisper.cpp voice transcription, presence (typing, online, mark-read), text-send with mandatory confirm_send, reactions, reply-quotes, prompt-injection scrubber, SQLCipher-encrypted persistence with macOS Keychain key handling, audit log, CI security gates.

Not yet shipped: media-send (image, document), audio-message-send (FFmpeg-Opus path), group broadcast helpers.

See CHANGELOG.md for full history.

MCP Registry

Published on the official MCP Registry under io.github.adelaidasofia/whatsapp-mcp. Two live channels:

  • `.mcpb` bundle (canonical, recommended) — one-click install in Claude Desktop / Cursor / any MCPB-aware client. Published as a GitHub release artifact at releases/latest/download/whatsapp-mcp.mcpb. The release manifest carries the SHA256 for tamper detection.
  • PyPI package (adelaidasofia-whatsapp-mcp) — historical; available via uvx adelaidasofia-whatsapp-mcp for stdio-installer flows. The unprefixed names (whatsapp-mcp, whatsapp-mcp-server) are taken by unrelated projects on PyPI, hence the username-prefixed namespace.

The verification marker mcp-name: io.github.adelaidasofia/whatsapp-mcp is embedded in this README (HTML comment near the top) so the registry can verify package-to-server

只显示了开头部分;其余内容请在仓库中阅读