Bring Whatsapp Automation
to Vercel AI SDK
Create your Vinkius account to connect 2Chat to Vercel AI SDK 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 Vercel AI SDK?
The Vercel AI SDK gives every 2Chat tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 5 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same 2Chat integration everywhere
- —
Built-in streaming UI primitives let you display 2Chat tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
2Chat in Vercel AI SDK
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 Vercel AI SDK 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 Vercel AI SDK
Every request between Vercel AI SDK 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 the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
Deepgram
10 toolsPower audio AI via Deepgram — perform high-speed speech-to-text, generate lifelike text-to-speech, track usage, and manage API keys directly from any AI agent.

NCDC Climate Data Online
10 toolsAccess authoritative historical weather and climate data via NCDC — track datasets, stations, and climate records directly from your AI agent.

Fly.io Alternative
13 toolsManage edge compute infrastructure via Fly.io — list apps, control machines (VMs), manage volumes and certificates from any AI agent.

Redis Vector
6 toolsEquip your AI to autonomously manage embeddings, run KNN similarity searches, and administrate vector indexes natively inside your Redis stack.
