What is WhatsApp MCP Server (TypeScript/Baileys)?
This is an MCP server that connects your personal WhatsApp account to an AI agent. Built with TypeScript and the @whiskeysockets/baileys library, it allows the agent to search messages, contacts, list chats, retrieve chat history, and send messages using the WhatsApp Web multi-device API.
How to use WhatsApp MCP Server (TypeScript/Baileys)?
Clone the repository, install dependencies (npm install), and run node src/main.ts to generate a QR code. Scan it with your WhatsApp mobile app to authenticate. Then configure your AI client (e.g., Claude Desktop or Cursor) with a JSON config pointing to the server's main script. Restart the client to use the server's tools.
Key features of WhatsApp MCP Server (TypeScript/Baileys)
- Search contacts by name or phone number.
- Retrieve message history with pagination.
- List chats, sortable and filterable.
- Get detailed information about a specific chat.
- Send text messages to individuals or groups.
- All data stored locally in SQLite and auth cache.
Use cases of WhatsApp MCP Server (TypeScript/Baileys)
- Ask an AI agent to find a conversation and summarize it.
- Automatically send reminders or messages to contacts without switching apps.
- Analyze chat history for patterns or insights.
- Search for a specific contact or message from your personal WhatsApp.
- Manage group messages through an AI-powered interface.
コメント