MCP.so
登录
W

Whats App MCP Server

@meharajM

基本信息

分类

沟通协作

传输方式

stdio

作者

meharajM

提交者

Meharaj M

关于 Whats App MCP Server

Human-in-the-loop approvals & notifications for AI agents via WhatsApp (MCP server)

Whats App MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "whatsapp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mhrj/whatsapp-mcp"
      ],
      "env": {
        "WHATSAPP_TARGET_NUMBER": "1234567890@s.whatsapp.net"
      }
    }
  }
}

Whats App MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Whats App Mcp Server?

Whats App Mcp Server is an MCP (Model Context Protocol) server that enables AI agents (like Claude or Cursor) to interact directly with users via WhatsApp. It bridges the gap between autonomous AI and the user’s phone, allowing runtime confirmations, permission requests, and status updates while away from the computer.

How to use Whats App Mcp Server?

Configure your MCP client (Cursor, Claude Desktop, etc.) to run the server via npx -y @mhrj/whatsapp-mcp and set the environment variable WHATSAPP_TARGET_NUMBER. Optionally restrict reply sources with WHATSAPP_ALLOWED_NUMBERS. First-time authentication: call the connect tool, scan the QR code with WhatsApp. Then use tools like ask_question to receive replies or send_message for one-way notifications.

Key features of Whats App Mcp Server

  • Connect/disconnect to WhatsApp network
  • Send one-way notifications via send_message
  • Ask questions and block until a reply is received
  • Concurrent questions are smartly queued and tagged
  • Get connection status with get_status

Use cases of Whats App Mcp Server

  • AI agents requesting approval before deploying to production
  • Remote monitoring and alerts when you are away from the IDE
  • Collaborative debugging with agent asking for your input
  • Fully autonomous workflows with human‑in‑the‑loop permissions
  • DevOps teams integrating approval steps into agentic pipelines

常见问题

1

How do I authenticate for the first time?

Call the `connect` tool. The agent returns a QR code image; scan it with WhatsApp (Linked Devices > Link a Device). The session is saved to `~/.whatsapp-mcp/baileys_auth_info`.

2

What environment variables are required?

`WHATSAPP_TARGET_NUMBER` (default recipient, e.g., `1234567890@s.whatsapp.net`). Optionally add `WHATSAPP_ALLOWED_NUMBERS` (comma‑separated) to restrict who can reply.

3

Can it be used with Cursor or Claude Desktop?

Yes. Add the server configuration to your MCP config file with `npx` and the required environment variables.

4

How do I set up autonomous “auto‑pilot” mode?

Remove IDE security blockers (always allow command/file permissions) and add a `.cursorrules` prompt that instructs the AI to use the `ask_question` tool via WhatsApp for decision points.

5

How are concurrent questions handled?

They are smartly queued and tagged with references, ensuring the user can reply to each in order without confusion.

评论

沟通协作 分类下的更多 MCP 服务器