VIDA AI WhatsApp MCP Server
Enables Claude to interact with WhatsApp Business for reading, searching, and sending end-to-end encrypted messages. It supports conversation management, message summarization, and action item tracking while maintaining data privacy through a local private key and a user-controlled Neon database.
README
WhatsApp MCP Server
Connect WhatsApp Business to Claude Code and Claude Desktop. Read, search, and send WhatsApp messages directly from Claude with end-to-end encryption.
How It Works
Your WhatsApp → VIDA AI Relay (encrypted) → MCP Server (local) → Your Neon DB
↑ ↓
Only sees blobs Decrypts with your
Never plaintext private key (local only)
Your messages are encrypted before they hit our servers. We store only encrypted blobs. Only your local MCP server can decrypt them using a private key that never leaves your machine.
Features
- 9 tools for Claude: list conversations, read messages, search, send, unread summary, action items
- E2E encrypted: Messages encrypted with sealed boxes (X25519 + XSalsa20-Poly1305)
- Your data, your DB: Messages stored in your own Neon database
- Media support: Images, audio (with Whisper transcription), PDFs
- Coexistence mode: Works with WhatsApp Business app alongside the API
- Action items: Create follow-up tasks from messages
Quick Start
1. Create your MCP account
Go to vidaai.co/mcp, log in, and connect your WhatsApp Business number. Save your API key.
2. Run setup
npx @vidaai/whatsapp-mcp setup
The setup wizard will:
- Validate your API key
- Connect to your Neon database (create one free at neon.tech)
- Generate your encryption keypair
- Activate WhatsApp webhooks
3. Add to Claude
Add this to ~/.claude/.mcp.json (Claude Code) or claude_desktop_config.json (Claude Desktop):
{
"mcpServers": {
"whatsapp": {
"command": "npx",
"args": ["-y", "@vidaai/whatsapp-mcp"],
"env": {
"VIDA_API_KEY": "sk_your_key_here",
"NEON_DATABASE_URL": "postgresql://user:pass@ep-xxx.neon.tech/dbname",
"VIDA_KEY_PATH": "~/.vida/private.key"
}
}
}
}
4. Use it
You: "show me my WhatsApp messages from today"
You: "what did Maria send me?"
You: "reply to Juan: confirmed for tomorrow at 3"
You: "create an action item to follow up with Carlos about the contract"
You: "show me my pending action items"
Tools
| Tool | Description |
|---|---|
whatsapp_sync |
Pull new messages from relay |
whatsapp_list_conversations |
List recent conversations with unread counts |
whatsapp_read_messages |
Read messages by contact name or conversation |
whatsapp_search |
Search messages by keyword, contact, date range |
whatsapp_send_message |
Send a message to a contact |
whatsapp_unread_summary |
Summary of all unread messages |
whatsapp_create_action_item |
Create a follow-up task |
whatsapp_list_action_items |
List tasks (pending/done) |
whatsapp_complete_action_item |
Mark a task as done |
Privacy & Security
- Private key stays on your machine (
~/.vida/private.key). Never sent anywhere. - Messages are encrypted with sealed boxes before leaving WhatsApp's servers. Our relay stores only encrypted blobs.
- Your database is your own Neon instance. We don't have the connection string.
- API key is SHA-256 hashed on our server. The plaintext is shown once during registration.
- Audio transcription happens on our relay (Whisper) and is encrypted before storage. The audio is not persisted.
What we can see
| Data | Our relay | Your MCP (local) |
|---|---|---|
| Message content | No (encrypted blob) | Yes |
| Sender phone | Yes (for routing) | Yes |
| Timestamp | Yes | Yes |
| Private key | Never | Yes |
| Your Neon URL | Never | Yes |
What about outbound messages?
When you send a message through Claude, the plaintext briefly passes through our relay (WhatsApp requires it). It is not logged or stored in plaintext — after sending, we encrypt a copy for your sync history.
Coexistence Mode
If your WhatsApp number uses coexistence (both the app and API), be aware:
- Incoming messages: All visible (100%)
- Messages you send from your phone: Not visible to the MCP
- Messages you send through Claude: Visible
For full coverage, migrate your number fully to the WhatsApp Business API.
Environment Variables
| Variable | Required | Description |
|---|---|---|
VIDA_API_KEY |
Yes | API key from vidaai.co/mcp |
NEON_DATABASE_URL |
Yes | Your Neon PostgreSQL connection string |
VIDA_KEY_PATH |
No | Path to private key (default: ~/.vida/private.key) |
Development
git clone https://github.com/juancvergara1/whatsapp-mcp.git
cd whatsapp-mcp
npm install
npm run build
npm run check # type check without build
License
MIT
Built by
VIDA AI — AI-powered WhatsApp automation for businesses.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。