whatsapp mcp for VS Code
io.github.meharajm/whatsapp-mcp
WhatsApp MCP Server - Human-in-the-loop for AI agents via WhatsApp
client:VS Code
transport:stdio
runtime:npm
Install whatsapp mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "whatsapp-target-number",
"description": "WHATSAPP_TARGET_NUMBER",
"password": true
},
{
"type": "promptString",
"id": "whatsapp-allowed-numbers",
"description": "WHATSAPP_ALLOWED_NUMBERS",
"password": true
}
],
"servers": {
"whatsapp-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mhrj/whatsapp-mcp"
],
"env": {
"WHATSAPP_TARGET_NUMBER": "${input:whatsapp-target-number}",
"WHATSAPP_ALLOWED_NUMBERS": "${input:whatsapp-allowed-numbers}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs