Bring Whatsapp Api
to Mastra AI
Create your Vinkius account to connect Wati to Mastra AI and start using all 7 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Wati MCP Server?
Connect your Wati account to any AI agent and power your customer communication on WhatsApp through natural conversation.
What you can do
- Unified Messaging — Send approved WhatsApp template messages or free-text session replies to your customers
- Contact Management — List all WhatsApp contacts in your Wati CRM and retrieve full profile details by phone number
- Chat History — Retrieve the recent message history for any contact to provide personalized support or sales follow-ups
- Template Discovery — List all approved and pending WhatsApp message templates available for outbound messaging
- Broadcast Campaigns — Monitor previous and active WhatsApp broadcast campaigns and track their delivery status
- Customer Roster — Quickly browse your customer list and their associated phone numbers directly from your agent
How it works
- Subscribe to this server
- Enter your Wati API URL and API Token
- Start managing your WhatsApp business communication through Claude, Cursor, or any MCP-compatible client
No more manual logging into the Wati dashboard to reply to a single message. Your AI agent becomes your WhatsApp communication hub.
Who is this for?
- Customer Support Teams — quickly reply to user messages and check chat history for better context
- Sales Professionals — send template messages to prospects and manage WhatsApp leads through chat
- Marketing Managers — monitor broadcast campaigns and verify template approval status
- Account Managers — lookup customer profiles and maintain active communication within the 24-hour window
Built-in capabilities (7)
Provide the contact’s phone number. Retrieves the recent message history for a specific contact
Retrieves profile details for a specific WhatsApp contact by phone number
Lists previous and active WhatsApp broadcast campaigns
Lists all WhatsApp contacts in the Wati CRM
Lists all approved and pending WhatsApp message templates
Sends a free-text session message to a user
Requires the template name and target phone number. Sends an approved WhatsApp template message
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Wati tool infrastructure. Connect 7 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Wati without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Wati tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Wati in Mastra AI
Why run Wati with Vinkius?
The Wati connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 7 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Wati using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Wati and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Wati to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Wati for Mastra AI
Every request between Mastra AI and Wati is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can I send a WhatsApp message to a customer who hasn't messaged me first?
Yes, but you must use an approved template message. The send_template_message tool allows you to initiate communication using these templates. If the user has messaged you in the last 24 hours, you can use send_session_message for free-text replies.
How do I see what templates are available to send?
Use the list_whatsapp_templates tool. It will return all your approved and pending message templates, allowing you to choose the right one for your communication needs.
Can I check the delivery status of my broadcast campaigns via chat?
Yes. The list_broadcast_campaigns tool provides a list of your previous and active WhatsApp broadcasts, including their delivery statistics, so you can track performance directly from your agent.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Activepieces
32 toolsAutomate workflows with Activepieces — manage flows, monitor executions, and handle app connections directly from your AI agent.

AT&T Messaging
9 toolsCPaaS Messaging -- Send SMS/MMS, manage shortcodes, track delivery status, and run bulk campaigns via AT&T Messaging API.

TripGo
9 toolsAI multimodal transit: plan trips, track vehicles, and check schedules via agents.

Spotify Music
13 toolsControl playback, search library, get audio features, and manage playlists via Spotify API.
