How to Use the 2Chat MCP in Claude Code
Claude Code drives WhatsApp alerts from your terminal. Pipe system events directly into chats without leaving the command line.
Works with every AI agent you already use
…and any MCP-compatible client
Connect 2Chat MCP to Claude Code
Create your Vinkius account to connect 2Chat to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Claude Code Dispatches Alerts
The `send_message` tool pushes text strings or media links straight to a phone number or group UUID. Your terminal agent formats the payload from a failed cron job and fires it to your on-call rotation. You never have to touch a GUI to get alerts out. This MCP Server lets your CLI pull the active sender ID via `list_numbers` and push the notification in milliseconds.
Incident Room Automation
The `create_group` tool generates new WhatsApp channels loaded with specific participants. When a server goes down, your script can instantly spin up a war room for the engineering team. Finding existing channels happens just as fast via MCP. Running `list_groups` returns all the active chat UUIDs so your pipeline knows exactly where to dump the error logs.
Delivery Error Prevention
The `check_number` tool queries the WhatsApp network to confirm a user actually exists. Your deployment script runs this validation before trying to blast out release notes. Pushing alerts to dead numbers wastes API calls. Verifying the contact first guarantees your urgent terminal outputs actually reach a human being.
Set up 2Chat MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should see2chat-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest 2Chat transactions." It will automatically discover and invoke the available 2Chat tools.
claude mcp add --transport http 2chat-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about 2Chat MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the 2Chat MCP today
We host it, we monitor it, we maintain it. You just paste one token.