Enables Claude to ping you on WhatsApp for runtime approval or status updates when you're away from your desk. Authenticate once via QR code, then the agent can call ask_question to block execution until you reply from your phone, send_message for one-way notifications, or disconnect to invalidate the session. Useful when you want an autonomous agent making consequential changes but need a human gate at decision points. Uses Baileys under the hood for WhatsApp Web protocol. You can lock down which numbers can respond (helpful for group chats) and the connection persists across restarts. Pair it with a .cursorrules prompt instructing Claude to ask via WhatsApp instead of the IDE chat when permission is needed.
Public tool metadata for what this MCP can expose to an agent.
manycontacts.contextGet ManyContacts account overview: WhatsApp Business channels, contact/user/tag counts, active AI agents, and enabled features. Use this first to understand the account state.Get ManyContacts account overview: WhatsApp Business channels, contact/user/tag counts, active AI agents, and enabled features. Use this first to understand the account state.
No parameter schema in public metadata yet.
manycontacts.contacts.listList WhatsApp Business contacts with filters (tags, team, date, unread, blacklist, scheduled). Returns paginated results.12 paramsList WhatsApp Business contacts with filters (tags, team, date, unread, blacklist, scheduled). Returns paginated results.
openstringpagenumbertagsstringteamstringlimitnumberstagesstringunreadstringdate_tostringblackliststringdate_fromstringscheduledstringassigned_tostringmanycontacts.contacts.getGet detailed information about a WhatsApp Business contact including tags, teams, and funnel stages.1 paramsGet detailed information about a WhatsApp Business contact including tags, teams, and funnel stages.
phonestringmanycontacts.contacts.createCreate a new WhatsApp Business contact in ManyContacts CRM.3 paramsCreate a new WhatsApp Business contact in ManyContacts CRM.
namestringnotesstringphonestringmanycontacts.contacts.updateUpdate an existing WhatsApp Business contact (name, notes, custom fields).4 paramsUpdate an existing WhatsApp Business contact (name, notes, custom fields).
namestringnotesstringphonestringcustomFieldsstringmanycontacts.contacts.deleteDelete a WhatsApp Business contact from ManyContacts CRM.1 paramsDelete a WhatsApp Business contact from ManyContacts CRM.
phonestringmanycontacts.contacts.assignAssign a WhatsApp Business contact to a team member.2 paramsAssign a WhatsApp Business contact to a team member.
phonestringuserIdstringmanycontacts.contacts.unassignUnassign a WhatsApp Business contact (remove current user assignment).1 paramsUnassign a WhatsApp Business contact (remove current user assignment).
phonestringmanycontacts.contacts.closeClose a WhatsApp Business conversation.1 paramsClose a WhatsApp Business conversation.
phonestringmanycontacts.contacts.openReopen a closed WhatsApp Business conversation.1 paramsReopen a closed WhatsApp Business conversation.
phonestringmanycontacts.contacts.tag.addAdd a tag to a WhatsApp Business contact.2 paramsAdd a tag to a WhatsApp Business contact.
phonestringtagIdstringmanycontacts.contacts.tag.removeRemove a tag from a WhatsApp Business contact.2 paramsRemove a tag from a WhatsApp Business contact.
phonestringtagIdstringmanycontacts.contacts.team.addAdd a team to a WhatsApp Business contact.2 paramsAdd a team to a WhatsApp Business contact.
phonestringteamIdstringmanycontacts.contacts.team.removeRemove a team from a WhatsApp Business contact.2 paramsRemove a team from a WhatsApp Business contact.
phonestringteamIdstringmanycontacts.contacts.set_stageMove a WhatsApp Business contact to a funnel/pipeline stage.3 paramsMove a WhatsApp Business contact to a funnel/pipeline stage.
phonestringstage_idstringfunnel_idstringmanycontacts.contacts.bulkPerform bulk operations on multiple WhatsApp Business contacts (close, open, assign, add_tag, add_team).3 paramsPerform bulk operations on multiple WhatsApp Business contacts (close, open, assign, add_tag, add_team).
valuestringactionstringphonesstringmanycontacts.messages.listList WhatsApp Business messages for a contact. Shows the conversation history with timestamps and status.3 paramsList WhatsApp Business messages for a contact. Shows the conversation history with timestamps and status.
pagenumberlimitnumberphonestringmanycontacts.messages.send.textSend a WhatsApp Business text message to a phone number.2 paramsSend a WhatsApp Business text message to a phone number.
bodystringphonestringmanycontacts.messages.send.noteSend an internal note on a WhatsApp Business contact (not visible to the contact).2 paramsSend an internal note on a WhatsApp Business contact (not visible to the contact).
bodystringphonestringmanycontacts.messages.send.templateSend a WhatsApp Business template message (for outbound messaging outside the 24h window).3 paramsSend a WhatsApp Business template message (for outbound messaging outside the 24h window).
phonestringvariablesstringtemplateIdstringmanycontacts.templates.listList WhatsApp Business message templates. Templates are required for sending messages outside the 24h conversation window.1 paramsList WhatsApp Business message templates. Templates are required for sending messages outside the 24h conversation window.
statusstringmanycontacts.templates.getGet details of a specific WhatsApp Business message template including components and configuration.1 paramsGet details of a specific WhatsApp Business message template including components and configuration.
idstringmanycontacts.templates.syncSync WhatsApp Business templates from Meta Cloud API. Fetches the latest templates from the connected WhatsApp Business account.Sync WhatsApp Business templates from Meta Cloud API. Fetches the latest templates from the connected WhatsApp Business account.
No parameter schema in public metadata yet.
manycontacts.campaigns.listList WhatsApp Business bulk messaging campaigns with statistics (sent, delivered, read, failed counts).List WhatsApp Business bulk messaging campaigns with statistics (sent, delivered, read, failed counts).
No parameter schema in public metadata yet.
manycontacts.campaigns.createCreate a WhatsApp Business bulk messaging campaign. Sends a template message to a list of phone numbers at a scheduled time.5 paramsCreate a WhatsApp Business bulk messaging campaign. Sends a template message to a list of phone numbers at a scheduled time.
datestringnamestringphonesstringvariablesstringtemplateIdstringmanycontacts.campaigns.deleteDelete a WhatsApp Business campaign.1 paramsDelete a WhatsApp Business campaign.
idstringmanycontacts.org.getGet WhatsApp Business organization/account information (name, timezone, settings).Get WhatsApp Business organization/account information (name, timezone, settings).
No parameter schema in public metadata yet.
manycontacts.org.updateUpdate WhatsApp Business organization settings (timezone, auto-reply, webhooks, etc.).10 paramsUpdate WhatsApp Business organization settings (timezone, auto-reply, webhooks, etc.).
timezonestringauto_reply_awaybooleanauto_reply_openbooleanauto_reply_closebooleanwebhooks_forwardbooleanauto_reply_away_textstringauto_reply_open_textstringwebhooks_forward_urlstringauto_reply_close_textstringauto_reply_close_minutesnumbermanycontacts.org.schedule.getGet the business hours schedule for the WhatsApp Business account.Get the business hours schedule for the WhatsApp Business account.
No parameter schema in public metadata yet.
manycontacts.org.apikeyGet the organization API key.Get the organization API key.
No parameter schema in public metadata yet.
manycontacts.channels.listList connected WhatsApp Business and Instagram channels.List connected WhatsApp Business and Instagram channels.
No parameter schema in public metadata yet.
manycontacts.tags.listList all tags for categorizing WhatsApp Business contacts.List all tags for categorizing WhatsApp Business contacts.
No parameter schema in public metadata yet.
manycontacts.tags.createCreate a new tag for WhatsApp Business contacts.2 paramsCreate a new tag for WhatsApp Business contacts.
namestringcolorstringmanycontacts.tags.updateUpdate an existing WhatsApp Business contact tag.3 paramsUpdate an existing WhatsApp Business contact tag.
idstringnamestringcolorstringmanycontacts.tags.deleteDelete a WhatsApp Business contact tag.1 paramsDelete a WhatsApp Business contact tag.
idstringmanycontacts.teams.listList teams in the WhatsApp Business organization.List teams in the WhatsApp Business organization.
No parameter schema in public metadata yet.
manycontacts.teams.createCreate a new team in the WhatsApp Business organization.1 paramsCreate a new team in the WhatsApp Business organization.
namestringmanycontacts.teams.add_memberAdd a user to a team.2 paramsAdd a user to a team.
teamIdstringuserIdstringmanycontacts.teams.remove_memberRemove a user from a team.2 paramsRemove a user from a team.
teamIdstringuserIdstringmanycontacts.teams.deleteDelete a team from the WhatsApp Business organization.1 paramsDelete a team from the WhatsApp Business organization.
idstringmanycontacts.funnels.listList sales funnels/pipelines for organizing WhatsApp Business contacts by stage.List sales funnels/pipelines for organizing WhatsApp Business contacts by stage.
No parameter schema in public metadata yet.
manycontacts.funnels.createCreate a new sales funnel/pipeline for WhatsApp Business contacts.1 paramsCreate a new sales funnel/pipeline for WhatsApp Business contacts.
namestringmanycontacts.funnels.add_stageAdd a stage to a sales funnel/pipeline.3 paramsAdd a stage to a sales funnel/pipeline.
namestringordernumberfunnelIdstringmanycontacts.funnels.update_stageUpdate a stage in a sales funnel/pipeline.3 paramsUpdate a stage in a sales funnel/pipeline.
namestringstageIdstringfunnelIdstringmanycontacts.funnels.contactsList contacts in a funnel/pipeline, optionally filtered by stage.4 paramsList contacts in a funnel/pipeline, optionally filtered by stage.
pagenumberlimitnumberfunnelIdstringstage_idstringmanycontacts.funnels.deleteDelete a sales funnel/pipeline.1 paramsDelete a sales funnel/pipeline.
idstringmanycontacts.users.listList team members/users in the WhatsApp Business organization.List team members/users in the WhatsApp Business organization.
No parameter schema in public metadata yet.
manycontacts.users.getGet details of a specific team member/user.1 paramsGet details of a specific team member/user.
idstringmanycontacts.users.updateUpdate a team member/user profile.2 paramsUpdate a team member/user profile.
idstringnamestringmanycontacts.users.inviteInvite a new team member to the WhatsApp Business organization.1 paramsInvite a new team member to the WhatsApp Business organization.
emailstringmanycontacts.users.deleteRemove a team member from the WhatsApp Business organization.1 paramsRemove a team member from the WhatsApp Business organization.
idstringmanycontacts.ai_agents.listList AI agents configured to auto-respond to WhatsApp Business messages.List AI agents configured to auto-respond to WhatsApp Business messages.
No parameter schema in public metadata yet.
manycontacts.ai_agents.getGet details of a specific WhatsApp AI agent including scenarios and configuration.1 paramsGet details of a specific WhatsApp AI agent including scenarios and configuration.
idstringmanycontacts.ai_agents.updateUpdate a WhatsApp AI agent's configuration (instructions, active status, etc.).5 paramsUpdate a WhatsApp AI agent's configuration (instructions, active status, etc.).
idstringactivebooleanblock_1stringblock_2stringblock_3stringmanycontacts.ai_agents.feedbackGet feedback/conversation logs for a WhatsApp AI agent.1 paramsGet feedback/conversation logs for a WhatsApp AI agent.
idstringThis 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": "1234567890@s.whatsapp.net"
}
}
}
}
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": "123@s.whatsapp.net,456@s.whatsapp.net". If set, the AI will ONLY honor responses from these specific matching users.
Troubleshooting
npx: executable file not found in $PATHorenv: 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."env": { "PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin", "WHATSAPP_TARGET_NUMBER": "1234567890@s.whatsapp.net" }
The very first time you use the MCP server, it needs to authenticate with WhatsApp Web:
connect tool via your Agent, or just use any WhatsApp tool normally. If the session is not authenticated yet, the server will trigger authentication automatically.~/.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):
Always Allow (or enable "yolo" mode in settings). This gives the agent the mechanical freedom to operate without pausing indefinitely for a UI click..cursorrules (or system prompt) file: You must explicitly instruct the AI to use WhatsApp whenever it reaches a logical decision point. Create a .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.
connect: Connects to the WhatsApp network. If not logged in, returns a native QR image in the tool result and may also provide a local HTML fallback.disconnect: Completely logs out of WhatsApp and invalidates the session credentials.send_message: Sends a one-way notification. Supports optional WhatsApp markdown mapping (*bold*). If the server is not connected yet, it auto-triggers authentication first.ask_question: Sends a prompt and blocks execution until a reply is received (with a timeout). Concurrent questions are smartly queued and tagged with references. If the server is not connected yet, it auto-triggers authentication first.get_incoming_messages: Polls unsolicited inbound WhatsApp messages so agents that do not support server-side sampling can still retrieve them.get_status: Provides agent connection state monitoring, including auth state such as 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:
WHATSAPP_TARGET_NUMBER*Target WhatsApp number (required)
WHATSAPP_ALLOWED_NUMBERSComma-separated JIDs to restrict who can control replies
io.github.mindstone/mcp-server-microsoft-teams
com.mintmcp/outlook-email
helbertparanhos/resend-email-mcp
marlinjai/email-mcp
io.github.mindstone/mcp-server-email-imap
io.github.osamahassouna/email-playbook-mcp