WhatsApp MCP
An open-source Model Context Protocol server that bridges autonomous AI agents with WhatsApp, enabling human-in-the-loop approvals, notifications, and runtime confirmations. It allows agents like Claude or Cursor to send messages and receive responses via WhatsApp, supporting both individual numbers and groups with optional allowed-number restrictions for security.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Send AI status updates to WhatsApp
- Request human approval for agent actions
- Receive AI notifications on mobile
- Enable human-in-the-loop confirmations
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@mhrj/whatsapp-mcp 2.0.1
{
"version": "2.0.1",
"transport": "stdio",
"identifier": "@mhrj/whatsapp-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "WHATSAPP_TARGET_NUMBER",
"format": "string",
"isRequired": true,
"description": "Target WhatsApp number (required)"
},
{
"name": "WHATSAPP_ALLOWED_NUMBERS",
"format": "string",
"description": "Comma-separated JIDs to restrict who can control replies"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"whatsapp-mcp": {
"command": "npx",
"args": [
"-y",
"@mhrj/whatsapp-mcp@2.0.1"
],
"env": {
"WHATSAPP_TARGET_NUMBER": "<YOUR_WHATSAPP_TARGET_NUMBER>",
"WHATSAPP_ALLOWED_NUMBERS": "<YOUR_WHATSAPP_ALLOWED_NUMBERS>"
}
}
}
}Cline
{
"mcpServers": {
"whatsapp-mcp": {
"command": "npx",
"args": [
"-y",
"@mhrj/whatsapp-mcp@2.0.1"
],
"env": {
"WHATSAPP_TARGET_NUMBER": "<YOUR_WHATSAPP_TARGET_NUMBER>",
"WHATSAPP_ALLOWED_NUMBERS": "<YOUR_WHATSAPP_ALLOWED_NUMBERS>"
}
}
}
}VS Code
{
"servers": {
"whatsapp-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mhrj/whatsapp-mcp@2.0.1"
],
"env": {
"WHATSAPP_TARGET_NUMBER": "<YOUR_WHATSAPP_TARGET_NUMBER>",
"WHATSAPP_ALLOWED_NUMBERS": "<YOUR_WHATSAPP_ALLOWED_NUMBERS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"whatsapp-mcp": {
"command": "npx",
"args": [
"-y",
"@mhrj/whatsapp-mcp@2.0.1"
],
"env": {
"WHATSAPP_TARGET_NUMBER": "<YOUR_WHATSAPP_TARGET_NUMBER>",
"WHATSAPP_ALLOWED_NUMBERS": "<YOUR_WHATSAPP_ALLOWED_NUMBERS>"
}
}
}
}Let your agent find its tools
Find servers like WhatsApp MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.