Bring Whatsapp Automation
to Mastra AI
Create your Vinkius account to connect 2Chat to Mastra AI and start using all 5 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 2Chat MCP Server?
Unlock the full potential of WhatsApp automation with 2Chat, the programmable gateway now integrated with your AI agent. By connecting 2Chat via the Model Context Protocol, you transcend the limitations of traditional messaging apps. Your agent can now orchestrate complex group workflows, verify phone numbers before sending, and manage multi-device communications through simple natural language. Whether you're coordinating team alerts or engaging with a community, 2Chat gives your AI the 'voice' it needs on the world's most popular messaging platform.
What you can do
- Programmable Messaging — Send text, images, PDF, and voice messages to any WhatsApp number without template restrictions.
- Group Management — Create groups, add participants, and send group-wide announcements directly from your chat interface.
- Number Verification — Check if a phone number is registered on WhatsApp before sending to improve delivery success.
- Webhooks & Real-time — Monitor incoming messages and delivery status (sent, delivered, read) seamlessly.
- Multi-Device Support — Link multiple WhatsApp numbers to a single API workspace for unified communications.
How it works
- Subscribe to this server
- Enter your 2Chat API Key
- Start managing your WhatsApp communications through Claude, Cursor, or any MCP-compatible client
Who is this for?
- Marketing Teams — run flexible campaigns and engage with customers in groups
- Developers — build custom WhatsApp workflows with a straightforward REST API
- Operations Managers — automate internal team notifications via WhatsApp groups
- Community Managers — manage large WhatsApp communities and announcements with ease
Built-in capabilities (5)
Helps prevent failed delivery errors. Verify if a phone number is registered on WhatsApp
Create a new WhatsApp group with specified participants
List all WhatsApp groups that a connected number belongs to
Use this to identify which "from_number" to use in subsequent sending actions. List all WhatsApp phone numbers connected to your 2Chat account
Can send text or public URL media to direct numbers or a specific group UUID. Send a WhatsApp text or media message using a connected number
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and 2Chat tool infrastructure. Connect 5 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 2Chat 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 2Chat 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
2Chat in Mastra AI
Why run 2Chat with Vinkius?
The 2Chat 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 5 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 2Chat using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
2Chat and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect 2Chat 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
2Chat for Mastra AI
Every request between Mastra AI and 2Chat 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 manage WhatsApp groups with this server?
Yes! 2Chat provides dedicated tools to create groups, list groups your number belongs to, and send messages to group UUIDs.
Do I need official WhatsApp Business API approval?
No. 2Chat works by linking your existing WhatsApp number (Personal or Business) via a QR code, so you don't need official Meta approval or template restrictions.
How can I check if a number is on WhatsApp?
You can use the check_number tool to verify if a specific phone number is registered on WhatsApp before attempting to send a message.
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 →
OMDb API
12 toolsSearch movies & TV shows, get ratings, cast, plot details, and IMDb data via the Open Movie Database API.

Files.com
8 toolsSync, share, and automate file workflows across teams with secure cloud storage that integrates with your existing tools.

FCC Telecom
2 toolsSearch the official USA telecommunications database to audit corporate Internet Providers and Interconnected VoIP carriers.

Hugging Face
13 toolsExplore AI models, datasets and Spaces via Hugging Face — search models, inspect files, review discussions and track collections from any AI agent.
