WhatsApp MCP Integration Guide: Connect AI Agents to WhatsApp with WasenderAPI

WhatsApp MCP Integration with WasenderAPI – Complete Getting Started Guide
The Model Context Protocol (MCP) is changing how AI agents interact with external tools. With WasenderAPI MCP Integration, you can now connect AI assistants directly to WhatsApp — enabling them to manage sessions, send messages, handle contacts, and control groups programmatically.
This guide explains how to connect WasenderAPI to popular MCP-compatible platforms like Claude Code, OpenCode, and n8n, and start automating WhatsApp workflows using AI.
What Is Model Context Protocol (MCP)?
Model Context Protocol (MCP) is a standard that allows AI agents to call external tools in a structured, secure, and predictable way. Instead of hard-coding API logic, MCP exposes capabilities as callable tools that AI models can reason about and execute.
With MCP, AI assistants can:
- Discover available tools automatically
- Call APIs using structured inputs and outputs
- Chain multiple actions intelligently
- Operate safely using scoped authentication
Why Use WhatsApp MCP with WasenderAPI?
WasenderAPI provides a remote MCP server that exposes WhatsApp functionality as AI-callable tools. This allows AI agents to control WhatsApp accounts in real time without custom glue code.
- Send and receive WhatsApp messages via AI agents
- Manage multiple WhatsApp sessions
- Control contacts, groups, and channels
- Integrate with automation platforms and AI IDEs
MCP integration is available on paid plans only. Trial accounts do not support MCP access.
Getting Started with WasenderAPI MCP
To use the WasenderAPI MCP server, you will need a Personal Access Token from your account settings. This token authenticates AI agents securely.
Never expose your Personal Access Token publicly. Treat it like a password.
Claude Code / Desktop / CLI Integration
Follow these steps to register WasenderAPI MCP with Claude:
- Ensure Claude CLI is installed and logged in
- Register the MCP server using your token
- Verify the MCP registration
claude mcp add --transport http wasenderapi https://wasenderapi.com/mcp \
--header "Authorization: Bearer YOUR_PERSONAL_ACCESS_TOKEN"
After registration, run claude mcp list. The WasenderAPI tools will be available in new Claude
sessions automatically.
OpenCode MCP Configuration
OpenCode supports remote MCP servers via its configuration file.
Add the WasenderAPI MCP block under the mcp key.
{
"mcp": {
"WasenderAPI": {
"type": "remote",
"url": "https://wasenderapi.com/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer YOUR_PERSONAL_ACCESS_TOKEN"
}
}
},
"$schema": "https://opencode.ai/config.json"
}
Restart or reload OpenCode. WasenderAPI MCP will appear as an available tool provider.
n8n MCP Tool Integration
n8n (v2.0+) includes an MCP Tool node that allows workflows to call MCP servers directly.
- Install or upgrade to n8n v2.0+
- Enable the LangChain Tool MCP node
- Create a new workflow
- Set MCP endpoint to
https://wasenderapi.com/mcp - Add Authorization header with your token
You can now automate WhatsApp messaging, contacts, and groups using AI-driven workflows.
Available WhatsApp MCP Tools
Sessions Management
- list_whatsapp_sessions
- create_whatsapp_session
- connect_whatsapp_session
- disconnect_whatsapp_session
- get_message_logs
- get_session_logs
Messaging
- send_text_message
- send_image_message
- send_audio_message
- send_video_message
- send_document_message
- send_poll_message
- edit_message
- delete_message
Contacts
- list_contacts
- add_or_edit_contact
- block_contact
- unblock_contact
- check_jid_on_whatsapp
Groups
- list_groups
- create_group
- add_group_participants
- remove_group_participants
- generate_invite_link
- leave_group
Why WasenderAPI Is Ideal for WhatsApp MCP
WasenderAPI turns WhatsApp into an AI-controlled communication layer using MCP — no per-message fees, real-time sessions, and enterprise-grade automation.
- Unlimited messages
- Multiple WhatsApp sessions
- Real-time webhooks
- Secure token-based MCP authentication
Related Posts

WhatsApp MCP Explained: How Model Context Protocol Powers AI-Driven WhatsApp Automation
WhatsApp MCP enables AI agents to control WhatsApp using Model Context Protocol. Learn how WhatsApp MCP works, why it matters for AI automation, and how WasenderAPI exposes WhatsApp sessions, messages, contacts, and groups as MCP tools for next-generation AI systems.

Unlock Business Growth with WasenderAPI: Your White-Label WhatsApp Solution
Explore the WasenderAPI Partner Program and learn how to launch your own branded WhatsApp messaging service. Benefit from unlimited messages, flexible session management, pro-rated billing, and scalable infrastructure tailored for developers and entrepreneurs.

Join the WasenderAPI Partner Program: Build Your Own White-Label WhatsApp API Platform
Discover how the WasenderAPI Partner Program empowers developers, agencies, and entrepreneurs to launch their own branded WhatsApp API services. Enjoy full API access, scalable infrastructure, unlimited messaging, and flexible proration for seamless growth.
