WapiSender MCP
OfficialAllows managing WapiSender AI provider credentials for Hugging Face, including API keys, base URLs, models, labels, and active state for use in flows.
Allows configuring Ollama as an AI provider for WapiSender flows, including credential and configuration updates such as base URLs, models, labels, and active state.
Allows managing WhatsApp instances, checking connection status, and sending messages via WapiSender, including text, media, audio, stickers, locations, interactive buttons/lists, reactions, contact cards, polls, bulk text, and personalized templates.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WapiSender MCP send a WhatsApp message to +5491112345678 saying "Hello from WapiSender""
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WapiSender MCP
Official MCP server for WapiSender. Use it from Claude Code, Codex, and other MCP-compatible clients to manage WhatsApp instances, send messages, manage contacts, configure webhooks, and build flows.
What This MCP Does
WapiSender MCP gives your MCP client access to the WapiSender platform through a stateful session.
It supports:
Logging into your WapiSender account with an MCP token
Listing and switching between WhatsApp instances
Refreshing live instance status and metadata
Sending text, media, voice notes, stickers, locations, buttons, lists, reactions, contact cards, and polls
Searching contacts and changing contact block status
Creating, updating, cloning, simulating, activating, and inspecting flows
Managing instance webhooks
Managing AI provider credentials used by flows
Related MCP server: WhatsApp Business API MCP Server
What's New in v0.2.0
This release realigns the MCP with the current WapiSender application and expands the catalog from 25 to 42 tools.
Messaging
Added voice-note, sticker, button, list, reaction, contact-card, poll, bulk-text, and personalized-template tools.
Updated interactive button payloads to use reply buttons shaped as
type,displayText, andid.Updated list rows to use
rowIdand list footers to usefooterText.Corrected the current reaction, poll, contact-card, audio, media, and location payload contracts.
Message tools now distinguish API acceptance from recipient-visible delivery.
Flows
Added current
message_receivedandmanualtrigger types.Added the current webhook and human-handoff node definitions.
Added atomic full-flow creation and cloning.
Added race-safe single-node updates through the dedicated node route.
Added
simulate_flowandget_flow_logsfor testing and execution inspection.
Contacts, instances, and webhooks
Added live instance refresh through
?live=true.Added client-side contact search and pagination over WapiSender's normalized contact response.
Replaced the unsupported contact upsert with
set_contact_block_status.Corrected webhook updates to send the nested
{ webhook: ... }contract.
AI providers and self-hosting
Added Ollama, Mistral, DeepSeek, Groq, Kimi, and Hugging Face alongside the existing providers.
Added credential updates for API-key rotation, base URLs, models, labels, and active state.
Added
WAPISENDER_BASE_URLfor self-hosted WapiSender deployments.
Compatibility cleanup
Removed MCP tools for application routes that do not currently exist: QR retrieval, disconnect, number checking, chat history, mark-as-read, and contact deletion.
Added 30-second API request timeouts and clearer HTTP error handling.
Replaced duplicated test-only schemas with contract tests against the actual registered tools and emitted payloads.
Requirements
Node.js 20+
A WapiSender account at wapisender.com
A WapiSender MCP token from wapisender.com/dashboard/settings/mcp-token
Installation Model
You do not need to install this package globally.
Most clients can run it directly with:
npx wapisender-mcp@latestIf you prefer a local installation, install it from npm:
npm install -g wapisender-mcp@latestAfter installing globally you can run the CLI and server directly:
wapisender-mcp
wapisender-mcp-serverThe package includes:
wapisender-mcp: CLI entrypointwapisender-mcp-server: MCP server entrypoint over stdio
For a self-hosted WapiSender deployment, set WAPISENDER_BASE_URL for both the CLI login and the MCP server process:
export WAPISENDER_BASE_URL="https://your-wapisender.example.com"Quick Start
1. Generate your MCP token
Go to:
https://wapisender.com/dashboard/settings/mcp-token2. Save your credentials locally
npx wapisender-mcp login --token <your-mcp-token>This validates the token and stores it at:
~/.config/wapisender-mcp/credentials.json3. Add the MCP server to your client
Codex
Add this to ~/.codex/config.toml:
[mcp_servers.wapisender]
command = "npx"
args = ["wapisender-mcp@latest"]Explicit server form:
[mcp_servers.wapisender]
command = "npx"
args = ["-y", "-p", "wapisender-mcp@latest", "wapisender-mcp-server"]Claude Code
Add this to ~/.claude/settings.json:
{
"mcpServers": {
"wapisender": {
"command": "npx",
"args": ["wapisender-mcp@latest"]
}
}
}Explicit server form:
{
"mcpServers": {
"wapisender": {
"command": "npx",
"args": ["-y", "-p", "wapisender-mcp@latest", "wapisender-mcp-server"]
}
}
}4. Use it in your MCP client
Natural-language examples:
login to wapisender
list my instances
switch to instance WABZ3
show me the current instance status
send a WhatsApp message to +5491112345678 saying "Hello from WapiSender MCP"
list my flows
create a support flow that asks whether the user needs sales or billing helpTool-call examples for the same session:
login
{}switch_instance
{
"instanceIdOrName": "WABZ3"
}send_text
{
"to": "5491112345678",
"message": "Hello from WapiSender MCP"
}How Authentication Works
The CLI stores only your MCP token locally. The MCP server loads that token and creates an in-memory session when you call login.
The session tracks:
Your WapiSender account
The list of instances available to that account
The active instance used by all instance-scoped tools
If your account has exactly one instance, it is auto-selected during login.
If your account has more than one instance, you should call:
list_instancesswitch_instance
After that, all instance-scoped tools use the selected instance.
Multiple Instances
Yes, multi-instance accounts are supported.
Typical workflow
Log in
List your instances
Pick the instance you want to work on
Switch to it
Run your messaging, flow, webhook, or contact tools
Example:
login to wapisender
list my instances
switch to instance Sales-BR
send a message to 5491112345678 saying "Hello from the Brazil sales number"Tool-call example:
list_instances
{}switch_instance
{
"instanceIdOrName": "Sales-BR"
}Expected behavior:
loginauto-selects the instance if the account has only oneswitch_instanceaccepts either the instance name or the instance IDAll subsequent tool calls use the new active instance
CLI Commands
npx wapisender-mcp
npx wapisender-mcp serve
npx wapisender-mcp login --token <your-mcp-token>
npx wapisender-mcp logout
npx wapisender-mcp statusCLI examples
Save credentials:
npx wapisender-mcp login --token wapi_xxxxxxxxxxxxxxxxxCheck whether credentials are saved:
npx wapisender-mcp statusRemove saved credentials:
npx wapisender-mcp logoutAvailable Tools
There are 42 tools grouped into 7 areas. The catalog is generated from routes that currently exist in WapiSender; unsupported chat-history, contact-delete, QR, disconnect, and number-check routes are intentionally not exposed.
Auth
login
Loads saved credentials and connects to your WapiSender account.
Notes:
No arguments
Auto-selects the active instance if your account has only one instance
Example:
{}logout
Clears the current WapiSender session.
Example:
{}list_instances
Lists all WhatsApp instances on your WapiSender account.
Example:
{}switch_instance
Sets the active instance by ID or by instance_name.
Example:
{
"instanceIdOrName": "WABZ3"
}refresh_instances
Re-fetches the instance list from the API and updates the session — without requiring a full re-login. Useful after adding a new instance.
Example:
{}get_session_info
Returns the current session state: who you are logged in as, all instances, and which instance is active. Makes no API calls — reads local session only.
Example:
{}Instance
get_instance_status
Returns the connection state for the active instance, including phone number and battery level when available.
Example:
{}Messaging
send_text
Submits a text WhatsApp message. API acceptance does not prove recipient delivery.
Example:
{
"to": "5491112345678",
"message": "Hello from WapiSender MCP"
}send_media
Sends an image, video, or document from a public URL. caption is optional and omitted when not provided.
Example image:
{
"to": "5491112345678",
"type": "image",
"url": "https://example.com/banner.jpg",
"caption": "Campaign preview"
}Example document:
{
"to": "5491112345678",
"type": "document",
"url": "https://example.com/invoice.pdf",
"caption": "Invoice attached"
}send_audio
Sends a WhatsApp audio/voice note from a public URL.
Example:
{
"to": "5491112345678",
"url": "https://example.com/voice-note.ogg"
}send_sticker
Submits a WhatsApp sticker from a public image URL.
{
"to": "5491112345678",
"url": "https://example.com/sticker.webp"
}send_location
Sends a WhatsApp location pin.
Example:
{
"to": "5491112345678",
"lat": -34.6037,
"lng": -58.3816,
"name": "Buenos Aires Office",
"address": "Buenos Aires, Argentina"
}send_buttons
Sends an interactive button message. The recipient sees up to 3 tappable buttons.
Example:
{
"to": "5491112345678",
"title": "Choose an option",
"body": "How can we help you today?",
"footer": "WapiSender Support",
"buttons": [
{ "id": "sales", "title": "Sales" },
{ "id": "support", "title": "Support" },
{ "id": "billing", "title": "Billing" }
]
}send_list
Sends an interactive list message. A button opens a scrollable menu of options.
Example:
{
"to": "5491112345678",
"title": "Our Services",
"body": "Please select a department:",
"footer": "We reply within 1 hour",
"buttonText": "View options",
"sections": [
{
"title": "Support",
"rows": [
{ "id": "tech", "title": "Technical Support", "description": "Hardware & software issues" },
{ "id": "billing", "title": "Billing", "description": "Invoices & payments" }
]
}
]
}send_reaction
Reacts to a WhatsApp message with an emoji. Pass an empty string "" to remove a reaction.
Example:
{
"to": "5491112345678",
"messageId": "ABC123DEF456",
"emoji": "👍"
}send_contact_card
Sends a WhatsApp contact card (vCard). Shares a contact's name and phone number.
Example:
{
"to": "5491112345678",
"contactName": "Alice Smith",
"contactPhone": "5491187654321",
"organization": "Acme Corp"
}send_poll
Sends a WhatsApp poll with a question and 2-12 options.
Example:
{
"to": "5491112345678",
"question": "Which plan do you prefer?",
"options": ["Starter", "Pro", "Enterprise"],
"selectableCount": 1
}send_bulk_text
Sends the same text to multiple recipients and returns a per-recipient success/failure summary.
Example:
{
"recipients": ["5491112345678", "5491187654321"],
"message": "Hello from WapiSender MCP",
"dedupe": true
}send_template_text
Sends personalized text messages by replacing {{placeholders}} with each recipient's variables.
Example:
{
"template": "Hi {{name}}, your verification code is {{code}}.",
"recipients": [
{ "to": "5491112345678", "variables": { "name": "Ana", "code": 123456 } },
{ "to": "5491187654321", "variables": { "name": "Leo", "code": 654321 } }
],
"dedupe": true
}Contacts
list_contacts
Lists contacts on the active instance. Supports search, limit, and offset for pagination, and returns a compact formatted summary.
Example:
{
"limit": 20,
"offset": 0
}Page 2 example:
{
"limit": 20,
"offset": 20
}Example with search:
{
"search": "gilad",
"limit": 10
}get_contact
Looks up a single contact by phone number.
Example:
{
"phone": "5491112345678"
}set_contact_block_status
Blocks or unblocks a WhatsApp contact using the current WapiSender contact route.
Example:
{
"phone": "5491112345678",
"status": "block"
}Flows
list_flows
Lists all flows on the active instance and returns a compact formatted summary (id | name | status | trigger).
Example:
{}get_flow
Returns the full definition and health status of a flow.
Example:
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c"
}create_flow
Creates an empty flow shell. Current trigger types are message_received and manual; keyword matching belongs in a trigger node's data.
Example:
{
"name": "Support Router",
"description": "Routes inbound messages to sales or support",
"triggerType": "message_received",
"triggerConfig": {}
}update_flow_definition
Replaces the full node and edge graph of an existing flow.
Minimal example:
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c",
"nodes": [
{
"id": "trigger-1",
"type": "trigger",
"position": { "x": 250, "y": 100 },
"data": { "match": "any", "keywords": [] }
},
{
"id": "message-1",
"type": "send_message",
"position": { "x": 250, "y": 350 },
"data": {
"messageType": "text",
"text": "Hello. Reply with sales or support."
}
},
{
"id": "end-1",
"type": "end",
"position": { "x": 250, "y": 600 },
"data": {}
}
],
"edges": [
{ "id": "e1", "source": "trigger-1", "target": "message-1" },
{ "id": "e2", "source": "message-1", "target": "end-1" }
]
}update_flow_node
Updates just one node inside an existing flow.
Example:
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c",
"nodeId": "message-1",
"data": {
"text": "Hello. Reply with sales, support, or billing."
}
}generate_and_save_flow
Generates a complete WhatsApp flow from a plain-English description and saves it fully in one step — including the node graph. The AI generates the nodes and edges, then this tool creates and saves everything atomically.
Example:
{
"name": "Lead Qualification",
"description": "A flow that greets the user, asks for their company size, and routes enterprise leads to sales.",
"triggerType": "message_received",
"triggerConfig": {},
"nodes": [ ... ],
"edges": [ ... ]
}Natural-language example:
Generate and save a WhatsApp flow named "Lead Qualification" that greets the user, asks for company size, and routes enterprise leads to sales.rename_flow
Renames an existing flow without touching its node graph or activation state.
Example:
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c",
"name": "New Flow Name"
}activate_flow
Enables a flow after a health check.
Example:
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c"
}deactivate_flow
Disables a flow.
Example:
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c"
}Flow node schema
update_flow_definition and generate_and_save_flow use these node types:
trigger: { type: "trigger", data: { match: "any"|"contains"|"exact"|"regex", keywords: string[] } }
send_message: { type: "send_message", data: { messageType: "text"|"image"|"video"|"document"|"audio"|"voice"|"buttons"|"list"|"location"|"poll"|"sticker", text?: string } }
condition: { type: "condition", data: { source: "last_message"|"custom", variableName?: string, operator: "equals"|"contains"|"starts_with"|"ends_with"|"regex", value: string } }
delay: { type: "delay", data: { amount: number, unit: "seconds"|"minutes"|"hours"|"days" } }
webhook: { type: "webhook", data: { method: string, url: string, headers?: object, body?: string, responseVariable?: string } }
wait_for_reply:{ type: "wait_for_reply", data: {} }
human_handoff:{ type: "human_handoff", data: { message?: string, resumeAfterMinutes: number } }
ai_agent: { type: "ai_agent", data: { mode: "reply"|"router"|"extract", credentialId: string, provider: string, model: string, systemPrompt: string, promptTemplate: string, outputVariable: string } }
end: { type: "end", data: {} }Edge format:
{ id: "e1", source: "nodeId", target: "nodeId", sourceHandle?: "true"|"false" }Recommended positioning:
Start near { x: 250, y: 100 } and space nodes vertically by about 250px.delete_flow
Permanently deletes a flow. This cannot be undone.
Example:
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c"
}clone_flow
Duplicates an existing flow under a new name. The clone starts inactive so you can edit before activating.
Example:
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c",
"name": "Support Router v2"
}simulate_flow
Simulates an incoming message and returns flow logs without sending WhatsApp messages.
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c",
"message": "I need support",
"from": "5491112345678"
}get_flow_logs
Returns recent execution logs for a flow.
{
"flowId": "a07692d5-a56c-4027-9cb9-19b44c33eb2c",
"limit": 50
}Webhooks
get_webhook
Returns the current webhook configuration for the active instance.
Example:
{}set_webhook
Creates or updates the webhook URL and event subscriptions. The events array accepts only known event types:
MESSAGES_UPSERT — new message received or sent
MESSAGES_UPDATE — message status update
MESSAGE_RECEIPT_UPDATE — delivery/read receipt updates
CONNECTION_UPDATE — connection state changes
QRCODE_UPDATED — new QR code available
CONTACTS_UPSERT — contact added or updated
CONTACTS_UPDATE — contact updated
PRESENCE_UPDATE — user presence changes
CHATS_UPSERT — chat metadata updates
GROUPS_UPSERT — group created or updated
GROUP_PARTICIPANTS_UPDATE — group participant changesExample:
{
"url": "https://example.com/api/webhooks/wapisender",
"enabled": true,
"byEvents": false,
"base64": false,
"events": ["MESSAGES_UPSERT", "CONNECTION_UPDATE"]
}AI Credentials
list_ai_credentials
Lists saved AI credentials for the active instance. Keys are masked.
Example:
{}add_ai_credential
Adds an AI provider credential to the active instance.
Supported providers:
openaianthropicgeminixaiopenrouterollamamistraldeepseekgroqkimihuggingface
Example:
{
"provider": "openai",
"apiKey": "sk-...",
"label": "OpenAI Production",
"defaultModel": "gpt-4o-mini"
}test_ai_credential
Runs a live verification for a saved AI credential.
Example:
{
"credentialId": "cred_12345678"
}delete_ai_credential
Removes a saved AI provider credential from the active instance.
Example:
{
"credentialId": "cred_12345678"
}update_ai_credential
Updates the label, default model, base URL, active state, or API key of an existing AI provider credential.
Example:
{
"credentialId": "cred_12345678",
"label": "OpenAI Staging",
"defaultModel": "gpt-4o"
}End-to-End Usage Examples
Example 1: Send a WhatsApp message
login to wapisender
list my instances
switch to instance WABZ3
send a WhatsApp message to +5491112345678 saying "Hello from the MCP"Example 2: Configure a webhook
login to wapisender
switch to instance Support-Number
set the webhook to https://example.com/api/webhooks/wapisender and subscribe to MESSAGES_UPSERTEquivalent tool call:
{
"url": "https://example.com/api/webhooks/wapisender",
"enabled": true,
"events": ["MESSAGES_UPSERT"]
}Example 3: Create and activate a simple support flow
login to wapisender
switch to instance Support-Number
create a flow named "Support Router"
update that flow so it greets the user and asks whether they need sales or support
activate the flowExample 4: Add and test an AI credential
login to wapisender
switch to instance Demo-Instance
add an OpenAI credential labeled "OpenAI Production" using model gpt-4o-mini
list my AI credentials
test the credential I just addedCommon Usage Patterns
Pattern: Start every session cleanly
login to wapisender
list my instances
switch to instance <name>
get the instance statusPattern: Work with multiple instances safely
list my instances
switch to instance Sales-AR
send a message to 5491112345678 saying "Sales team checking in"
switch to instance Support-AR
send a message to 5491112345678 saying "Support team following up"Pattern: Build a flow incrementally
create a flow named "Lead Capture"
get the flow details
update a single node
activate the flowTroubleshooting
Not authenticated or Not logged in
Save credentials first:
npx wapisender-mcp login --token <your-mcp-token>Then call login again inside your MCP client.
No active instance. Call switch_instance() or login() first.
Your account probably has multiple instances and none is selected yet.
Run:
list my instances
switch to instance <instance name or id>Instance "<name>" not found in your account.
Use list_instances first and copy the exact instance name or ID.
Invalid token or network error
Check:
The token was copied correctly
The token is still valid in WapiSender
The client machine can reach
wapisender.com
Security Notes
The CLI stores your MCP token locally in
~/.config/wapisender-mcp/credentials.jsonAI provider API keys passed through
add_ai_credentialare encrypted server-side by WapiSenderThe MCP server keeps active session state in memory while it is running
Package Metadata
This repository publishes the npm package:
wapisender-mcpThe top-level README.md is the package README used by npm and by MCP clients that display package documentation, so keeping this file current keeps the Codex-facing package docs current as well.
License
MIT
Available Tools
42 toolsactivate_flowA
Enable a flow so it processes incoming WhatsApp messages. Runs a health check first.
Inputs: flowId (required).
add_ai_credentialA
Add a new AI provider credential for the active instance. The API key is encrypted server-side and never stored locally.
Inputs: no named parameters.
clone_flowA
Duplicate an existing flow with a new name. The clone starts as inactive (draft) so you can edit it before activating.
Inputs: name (required), flowId (required).
create_flowB
Create a new empty flow on the active instance.
Inputs: name (required), description, triggerType, triggerConfig.
deactivate_flowA
Disable a flow. Incoming messages will no longer be processed by it.
Inputs: flowId (required).
delete_ai_credentialC
Remove a saved AI provider credential from the active instance.
Inputs: credentialId (required).
delete_flowB
Permanently delete a flow from the active instance. This cannot be undone.
Inputs: flowId (required).
generate_and_save_flowA
Generate a complete WhatsApp flow from a plain-English description and save it fully in one step.
INSTRUCTIONS FOR THE AI:
Read the description and design the full node graph.
Build the nodes[] and edges[] arrays using the schema below.
Call this tool with name, description, triggerType, nodes, and edges — all in one shot.
The tool will create the flow AND save the node graph atomically.
WapiSender Flow Node Types:
trigger: { type: "trigger", data: { match: "any"|"contains"|"exact"|"regex", keywords: string[] } }
send_message: { type: "send_message", data: { messageType: "text"|"image"|"video"|"document"|"audio"|"voice"|"buttons"|"list"|"location"|"poll"|"sticker", text?: string, mediaUrl?: string, audioUrl?: string, stickerUrl?: string } }
condition: { type: "condition", data: { source: "last_message"|"custom", variableName?: string, operator: "equals"|"contains"|"starts_with"|"ends_with"|"regex", value: string } } condition has two output handles: "true" and "false"
delay: { type: "delay", data: { amount: number, unit: "seconds"|"minutes"|"hours"|"days" } }
webhook: { type: "webhook", data: { method: "GET"|"POST"|"PUT"|"PATCH"|"DELETE", url: string, headers?: object, body?: string, responseVariable?: string } }
wait_for_reply: { type: "wait_for_reply", data: {} }
human_handoff: { type: "human_handoff", data: { message?: string, resumeAfterMinutes: number } }
ai_agent: { type: "ai_agent", data: { mode: "reply"|"router"|"extract", credentialId: string, provider: string, model: string, systemPrompt: string, promptTemplate: string, outputVariable: string } }
end: { type: "end", data: {} }
Edge format: { id: "e1", source: "nodeId", target: "nodeId", sourceHandle?: "true"|"false" } Positions: spread nodes with ~250px vertical spacing starting at { x: 250, y: 100 }
Example: "A support flow that greets the user, asks if they need sales or support, then routes accordingly" → trigger → send_message("Hello! Do you need Sales or Support?") → wait_for_reply → condition(reply contains "sales") → [true: end-sales, false: end-support]
Inputs: name (required), edges (required), nodes (required), description (required), +2 more.
get_contactC
Get a single contact by phone number.
Inputs: phone (required).
get_flowB
Get the full definition and health status of a specific flow.
Inputs: flowId (required).
get_flow_logsA
Get recent execution logs for a flow on the active instance.
Inputs: flowId (required), limit.
get_instance_statusA
Refresh and return the current connection status and metadata of the active WhatsApp instance.
Inputs: no named parameters.
get_session_infoA
Return the current session state: whether you are logged in, which account, and which instance is active. Does not make any API calls.
Inputs: no named parameters.
get_webhookB
Get the current webhook configuration for the active instance.
Inputs: no named parameters.
list_ai_credentialsA
List saved AI provider credentials for the active instance. API keys are masked.
Inputs: no named parameters.
list_contactsC
List contacts on the active instance with optional search and pagination.
Inputs: limit, offset, search.
list_flowsA
List all flows on the active instance with their status (active/draft).
Inputs: no named parameters.
list_instancesB
List all WhatsApp instances on your WapiSender account with their live status. Always fetches fresh data from the API.
Inputs: no named parameters.
loginA
Load saved credentials and connect to your WapiSender account. Auto-selects instance if you only have one.
Inputs: no named parameters.
logoutB
Clear the current WapiSender session.
Inputs: no named parameters.
refresh_instancesA
Re-fetch the instance list from the WapiSender API and update the session. Useful after adding a new instance without needing to re-login.
Inputs: no named parameters.
rename_flowA
Rename an existing flow without touching its node graph or activation state.
Inputs: name (required), flowId (required).
send_audioB
Submit a WhatsApp voice note from a public audio URL.
Inputs: to (required), url (required).
send_bulk_textA
Send the same text message to multiple recipients and return a per-recipient result summary.
Inputs: message (required), recipients (required), dedupe.
send_buttonsB
Send a WhatsApp interactive button message. Renders up to 3 tappable buttons the recipient can reply with.
Inputs: to (required), body (required), title (required), buttons (required), +1 more.
send_contact_cardB
Send a WhatsApp contact card (vCard). Shares a contact's name, phone number, and optional organization.
Inputs: to (required), contactName (required), contactPhone (required), organization.
send_listB
Send a WhatsApp interactive list message. Shows a menu button that opens a scrollable list of options.
Inputs: to (required), body (required), title (required), sections (required), +2 more.
send_locationC
Send a WhatsApp location pin to a phone number.
Inputs: to (required), lat (required), lng (required), name, +1 more.
send_mediaB
Submit a WhatsApp media message (image, video, audio, or document) with an optional caption.
Inputs: to (required), url (required), type (required), caption, +1 more.
send_pollC
Send a WhatsApp poll with a question and multiple options.
Inputs: to (required), options (required), question (required), selectableCount.
send_reactionC
React to a WhatsApp message with an emoji.
Inputs: to (required), emoji (required), messageId (required), fromMe.
send_stickerB
Submit a WhatsApp sticker from a public image URL.
Inputs: to (required), url (required).
send_template_textC
Send personalized text messages by filling {{placeholders}} from per-recipient variables.
Inputs: template (required), recipients (required), dedupe.
send_textA
Submit a WhatsApp text message. A successful response means the API accepted it, not that the recipient received it.
Inputs: to (required), message (required).
set_contact_block_statusB
Block or unblock a WhatsApp contact on the active instance.
Inputs: phone (required), status (required).
set_webhookC
Set the webhook URL and event subscriptions for the active instance.
Available events:
MESSAGES_UPSERT
MESSAGES_UPDATE
MESSAGE_RECEIPT_UPDATE
CONNECTION_UPDATE
QRCODE_UPDATED
CONTACTS_UPSERT
CONTACTS_UPDATE
PRESENCE_UPDATE
CHATS_UPSERT
GROUPS_UPSERT
GROUP_PARTICIPANTS_UPDATE
Inputs: url (required), base64, events, enabled, +1 more.
simulate_flowA
Simulate an incoming message against the active instance and return the generated flow logs. Simulation does not send WhatsApp messages.
Inputs: message (required), from, flowId.
switch_instanceA
Set the active instance by name or ID. All subsequent tool calls will use this instance.
Inputs: instanceIdOrName (required).
test_ai_credentialA
Send a live test ping to verify a saved AI credential works.
Inputs: credentialId (required).
update_ai_credentialC
Update an AI credential, including its label, model, base URL, active state, or rotated API key.
Inputs: credentialId (required), label, apiKey, baseUrl, +2 more.
update_flow_definitionA
Replace the full node+edge graph of an existing flow.
Node schema reference:
WapiSender Flow Node Types:
trigger: { type: "trigger", data: { match: "any"|"contains"|"exact"|"regex", keywords: string[] } }
send_message: { type: "send_message", data: { messageType: "text"|"image"|"video"|"document"|"audio"|"voice"|"buttons"|"list"|"location"|"poll"|"sticker", text?: string, mediaUrl?: string, audioUrl?: string, stickerUrl?: string } }
condition: { type: "condition", data: { source: "last_message"|"custom", variableName?: string, operator: "equals"|"contains"|"starts_with"|"ends_with"|"regex", value: string } } condition has two output handles: "true" and "false"
delay: { type: "delay", data: { amount: number, unit: "seconds"|"minutes"|"hours"|"days" } }
webhook: { type: "webhook", data: { method: "GET"|"POST"|"PUT"|"PATCH"|"DELETE", url: string, headers?: object, body?: string, responseVariable?: string } }
wait_for_reply: { type: "wait_for_reply", data: {} }
human_handoff: { type: "human_handoff", data: { message?: string, resumeAfterMinutes: number } }
ai_agent: { type: "ai_agent", data: { mode: "reply"|"router"|"extract", credentialId: string, provider: string, model: string, systemPrompt: string, promptTemplate: string, outputVariable: string } }
end: { type: "end", data: {} }
Edge format: { id: "e1", source: "nodeId", target: "nodeId", sourceHandle?: "true"|"false" } Positions: spread nodes with ~250px vertical spacing starting at { x: 250, y: 100 }
Inputs: edges (required), nodes (required), flowId (required).
update_flow_nodeA
Edit a single node's configuration within an existing flow without touching other nodes.
Inputs: data (required), flowId (required), nodeId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 42 tools
Tool purposes are largely distinct by resource and action; the send_* variants map to different WhatsApp message types, and flow tools cleanly separate list/get/create/update/generate/activate/delete. Minor overlap remains between list_instances/refresh_instances and send_media vs send_audio, but descriptions clarify the distinctions.
All names use snake_case and a predictable action_object convention such as send_text, list_flows, update_flow_node, and get_webhook. login/logout and generate_and_save_flow are small deviations but remain readable and consistent with the overall pattern.
At 42 tools, the surface is far above the 3-15 well-scoped range and falls into 25+ territory. The tools are organized into coherent domains, but the overall count is large enough to burden tool selection and discovery.
Flow lifecycle, messaging types, webhook configuration, and AI credential CRUD plus testing are well covered. Contacts are read/block only and instance management lacks create/delete/QR-connect operations, leaving notable but workaround-able gaps.
Maintenance
Related MCP Connectors
WhatsMCP connects Claude and other MCP-compatible AI agents directly to WhatsApp. Send and receive text, images, documents, and voice notes; manage groups (create, add/remove members, promote admins); look up contacts and profiles; follow channels; and read call and message history — all through a standard MCP interface. For voice use cases, WhatsMCP offers SIP-based calling plans (inbound-only, or full inbound/outbound) so AI voice agents can answer and place WhatsApp calls, plus low-latency WebSocket integrations with voice agent providers like ElevenLabs. Multiple WhatsApp accounts can be paired and managed per workspace, with webhook support for real-time inbound message delivery to your own infrastructure.
Drive WhatsApp from any MCP client: pair devices, send text and media, manage contacts and groups.
WhatsApp (Web + Business API), SMS, contacts, and call records via 2Chat's MCP server.
Send WhatsApp messages and templates, manage chats, contacts, broadcasts and AI agents.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables WhatsApp automation through MCP protocol, allowing users to manage sessions, send messages, handle groups/communities, and access contacts through natural language interactions with AI agents.5 npm-
- FlicenseNot gradedqualityDmaintenanceEnables sending messages, managing templates, uploading media, and configuring webhooks for WhatsApp Business via the MCP protocol.5-
- AlicenseNot gradedqualityCmaintenanceEnables programmatic WhatsApp automation through MCP, including sending messages, managing chats and contacts, searching conversation history, and exchanging media files.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to send and receive WhatsApp messages, search chats, share media, manage approvals, and get activity summaries through MCP.Apache 2.0