WhatsApp Desktop MCP
Provides tools for interacting with WhatsApp Web, including reading chats, retrieving chat history, drafting messages for approval, sending direct and bulk messages, and updating CRM contact stages, tags, and notes.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WhatsApp Desktop MCPSummarize my unread chats"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π WhatsApp Desktop MCP & Headless AI CRM Companion
An all-in-one local desktop companion that connects your WhatsApp Web directly to Google Gemini, Claude, Cursor, and other AI tools over the Model Context Protocol (MCP). Features an invisible local AI CRM with automated pipeline tracking and a human-in-the-loop "Draft & Approve" workflow.
β¨ Features
π± Zero API Key Setup: Uses an embedded PyWebView browser wrapper to log in to WhatsApp Web directly. No Meta Cloud API setup or paid developer keys required!
π€ Headless AI CRM: Automatically tracks contacts, tags, and deal stages (
Lead->Negotiating->Won) in a local, private JSON database (crm.json).βοΈ Draft & Approve Workflow: AI can draft intelligent responses directly inside your WhatsApp Web chat input box without hitting send. You retain 100% control to review and approve with one click.
β‘ High Context Density: The
read_chatstool automatically attaches CRM tags, notes, and pipeline stages in one single requestβminimizing tool calling overhead.π Remote Tunnel Integration: Built-in
ngroktunneling for connecting external AI models securely via HTTPS / Server-Sent Events (SSE).π 100% Local & Private: All session cookies, message logs, and CRM data remain strictly on your local computer (
.wa_session/).
Related MCP server: WAHA MCP
π οΈ How to Work & Installation
Option A: 1-Click Windows Setup Installer (Recommended)
Download
WhatsApp_MCP_Setup.exefrom the Releases page.Double-click
WhatsApp_MCP_Setup.exeto launch the Setup Wizard.Click Install Now. The installer will automatically:
Install the application to
%LOCALAPPDATA%\Programs\WhatsApp MCP Companion.Create a Desktop Shortcut (
WhatsApp MCP Companion).Create a Start Menu Entry in Windows Start Menu.
Register the application in Windows Settings (Add/Remove Programs).
On launch, log in to WhatsApp Web by scanning the QR code with your phone. Your companion server will start running locally at
http://127.0.0.1:8000.
Option B: Running from Source (Developer Setup)
Prerequisites
Python 3.10+ installed on Windows.
Installation Steps
# 1. Clone the repository
git clone https://github.com/your-username/wa-desktop-mcp.git
cd wa-desktop-mcp
# 2. Create and activate a virtual environment
python -m venv venv
.\venv\Scripts\activate
# 3. Install required dependencies
pip install -r requirements.txt
# 4. Launch the companion app
python run.pyπ Connecting to Gemini / Claude / Cursor
1. Connecting via SSE Endpoint
In your MCP client settings (e.g. Gemini, Claude Desktop, or Cursor):
Transport Type:
sseServer URL:
http://127.0.0.1:8000/sse(or your public ngrok URL if using remote tunneling).
π οΈ Available MCP Tools
Tool Name | Type | Description |
| Read | Lists active WhatsApp chats merged with local CRM deal stages and tags. |
| Read | Scrapes the last 15 messages in the chat history for a specific contact. |
| Write (Draft) | Types an AI-generated reply into the WhatsApp input box without sending it (Approve flow). |
| Write (Instant) | Sends a message directly to a target contact or phone number. |
| Write (Bulk) | Sends rate-limited bulk messages across multiple recipients. |
| CRM | Updates a contact's deal stage ( |
π Building the Executable (.exe)
To compile the application into a single standalone .exe for distribution:
# 1. Install PyInstaller inside your virtual environment
pip install pyinstaller
# 2. Run the build script
python build_exe.pyThe standalone executable will be generated at dist/WhatsApp_MCP_Companion.exe.
π License
Distributed under the MIT License. See LICENSE for more details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables AI to control WhatsApp Web via Puppeteer Stealth for reading and sending messages. It features human-like interaction patterns and anti-ban protections to securely manage chats and communications through natural language.Last updated360MIT
- Alicense-qualityCmaintenanceMCP server that connects AI agents to WhatsApp using the multi-device API, enabling messaging, group management, and more as a regular user.Last updated7MIT
- Alicense-qualityCmaintenanceA local MCP server that connects WhatsApp to Claude via QR code, enabling chat listing, message retrieval, and sending with automatic rate limiting for anti-ban protection.Last updated55MIT
Related MCP Connectors
MCP server for LeadDelta β manage LinkedIn connections and CRM data via AI assistants.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/srijonbasak/wa-desktop-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server