Repository navigation
Releases
Releases · VYLUXTECH/WA-MCP
WA-MCP v4.0.0 — CRM Mode (94 tools)
CRM mode is here — concepts ported from wacrm, rebuilt Baileys-native.
New (10 tools, 84 → 94)
- Contacts:
wa_contact_add(upsert + tags + custom fields + notes),wa_contact_list,wa_contact_tag - Pipelines:
wa_deal_create,wa_deal_move,wa_deal_list(stages: lead → qualified → proposal → negotiation → won/lost, with pipeline value totals) - Automations:
wa_automation_add/list/toggle/delete— 5 triggers (message_received, first_inbound_message, keyword_match, contact_created, tag_added) × 6 step types (send_message with {name}/{text} vars, add_tag, wait, condition, create_deal, webhook)
Engine features
- Durable waits — a
waitstep parks the execution and resumes up to 24h later, surviving restarts - Crash-safe broadcast leases — 30-min stale timeout, cursor preserved across crashes (wacrm delivery-lease pattern)
- Auto contact capture — every inbound DM auto-upserts the contact (name from pushName, message counts, last-inbound)
- SSRF guard on automation webhooks (private ranges blocked)
{name}/{text}variable interpolation in message steps
Authorized use only.
v3.0.0 — multi-number + scheduled broadcasts (84 tools)
The big one: multi-number
Run several WhatsApp numbers in one MCP server — agencies, support desks, personal + business:
- wa_profile_add — pair another number (its own linked device, session dir, anti-ban pacing budget, stats, message store)
- wa_profile_switch — all 84 tools then act on that number
- wa_profile_list — live registry: status of every number
- wa_profile_remove — log out + clean up (confirm-guarded)
- All profiles stay connected in parallel — auto-reply, rules, webhooks fire per profile
Scheduled broadcasts (Tier 3)
- wa_broadcast_schedule — one message → up to 60 chats, once/daily/weekly, paced 1.5s apart
- wa_broadcast_list / wa_broadcast_cancel — manage the queue
- Survives restarts (state on disk), runs on the profile it was created under
84 tools total. Previous: v2.3.0 (status, E2EE polls, live location).
v2.3.0 — status posting, E2EE poll votes, live location
What's new (73 → 77 tools)
Status / stories
- wa_post_status — post text, image or video statuses (font + background color for text)
E2EE poll voting
- wa_poll_list — find recent polls in the store (question, options, secret presence)
- wa_poll_vote — vote with the exact WhatsApp key derivation (HMAC → AES-256-GCM, AAD = msgId\0voter). Multi-select respected, option validation built in
Live location
- wa_live_location — start / update (~30s cadence) / stop moving-location sharing
Deployment
- Deploy to Render + Railway buttons in the README
Previous: v2.2.0 (rules engine, owner notify, human handoff, URL media).
v2.2.0 — rules engine, owner notify, human handoff, URL media
What's new (68 → 73 tools)
Rules engine — a real FAQ bot, no AI key needed
- wa_rule_add / wa_rule_list / wa_rule_delete — keyword→reply rules checked before the AI/static reply
- match ANY or ALL keywords, optional owner alert per rule
Owner notify + VIPs
- wa_vip_add — mark numbers whose messages always ping the owner
- First-time contacts auto-notify the owner too (WA_OWNER_NUMBER)
Human handoff
- wa_handoff — pause/resume automation per chat; when the owner replies manually, automation auto-pauses (default 2h). No more double-replying over your own shoulder
URL media
- wa_send_image / video / audio / document / sticker now accept
urlalongsidefile— send AI-generated images straight from a CDN
Previous: v2.1.0 (voice notes, message search, webhooks, call policy).
v2.1.0 — 68 tools, voice notes, webhooks, call policy
What's new
11 new tools (57 → 68)
- wa_send_audio — voice notes (push-to-talk, opus waveform)
- wa_send_video — video with caption or round video note
- wa_search_messages — keyword search across all stored chats
- wa_contacts_check — verify numbers are on WhatsApp before sending
- wa_blocklist · wa_business_profile · wa_fetch_status (About text)
- wa_dm_ephemeral — disappearing messages for DMs (24h/7d/90d)
- wa_call_policy — change call handling at runtime (reject/ignore/accept)
- wa_logout — unlink session (confirm-guarded)
- wa_webhook — POST every incoming message to your own URL as JSON
Fixes
- Pacing/stats hoisted to module scope (wa_health works standalone)
- .env.example explicitly tracked
Full upgrade list over upstream: AI auto-reply, anti-ban pacing, tool allowlist, message store, real voice calls via zapo-js, custom pairing code VYLUXMCP. See the README.