Whatsapp Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Whatsapp Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<div align="center"> <img src="assets/logo.png" width="160" alt="WhatsApp MCP Logo"> <h1>WhatsApp MCP</h1> <p><b>Human-in-the-Loop for AI Agents via WhatsApp</b></p>
<br/>
This is an MCP (Model Context Protocol) server that enables AI agents (like Claude or Cursor) to interact directly with you via WhatsApp. It bridges the gap between your autonomous AI and your phone, allowing for runtime confirmations, permission requests, or simple status updates while you are away from your computer.
AI: Deploy to production?
WhatsApp: [YES] [NO]
You: YES
Agent continues.
Since this package is published to NPM, you can run it directly via npx in your MCP configuration.
Add this to your MCP configuration file:
{
"mcpServers": {
"whatsapp-mcp": {
"command": "npx",
"args": [
"-y",
"@mhrj/whatsapp-mcp"
],
"env": {
"WHATSAPP_TARGET_NUMBER": "[email protected]"
}
}
}
}Note about Allowed Numbers:WHATSAPP_TARGET_NUMBERis the default recipient for all messages. However, if your target is a Whatsapp Group, any member of the group would be able to answer the AI by default. To restrict replies only to specific numbers (to prevent unauthorized people from answering), you can optionally add a comma-separated list of numbers as an environment variable:"WHATSAPP_ALLOWED_NUMBERS": "[email protected],[email protected]". If set, the AI will ONLY honor responses from these specific matching users.
Troubleshooting `npx: executable file not found in $PATH` or `env: node: No such file or directory`: If your IDE/Agent complains it cannot findnpxornode, it's because GUI apps (like Cursor) don't inherit your terminal's$PATH. To fix this, explicitly pass yourPATHin the MCPenvconfig. ``json "env": { "PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin", "WHATSAPP_TARGET_NUMBER": "[email protected]" }``
The very first time you use the MCP server, it needs to authenticate with WhatsApp Web:
~/.whatsapp-mcp/qr.html.~/.whatsapp-mcp/baileys_auth_info), so you don't need to scan it again across restarts.To make your AI agent run fully autonomously and only ask for permissions/guidance via WhatsApp (allowing you to step away from your computer):
.cursorrules file in your project root with this exact prompt:# Human-in-the-Loop via WhatsApp
You are connected to the user via the `whatsapp-mcp` server.
Whenever you are about to make significant/destructive changes, run a deployment, or whenever you need the user's permission/opinion to proceed with a plan, you MUST use the `ask_question` tool to ask the user on WhatsApp.
DO NOT simply ask for confirmation in the IDE chat interface. You must wait for the `ask_question` tool to return the user's WhatsApp reply before proceeding with your task.With these two steps, the AI will proactively proactively use the ask_question tool to beam its logical permission requests directly to your phone instead of freezing in the IDE.
*bold*). If the server is not connected yet, it auto-triggers authentication first.connected, connecting, or qr_pending.whatsapp-autopilot prompt so clients can guide agents toward connect-first and WhatsApp-first behavior.If you'd like to run it locally from source:
npm installnpm run buildnpx.This project is licensed under the ISC License.
This project utilizes the following open-source libraries:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.