Whatsgate
Provides controlled AI access to linked WhatsApp accounts: list chats, read and search messages, download attachments, inspect groups, and on send-enabled accounts send messages/files, edit/delete/react to messages, mark chats read, and manage groups, subject to per-account permissions, blocklists, rate limits, and duplicate protection.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Whatsgate
Give Claude Code, Codex and other AI apps controlled access to your WhatsApp accounts. Whatsgate runs on your Windows PC, links your accounts by QR code, and lets you decide per account what AI may do, who it may never read or message, and how careful it must be.
Several accounts. Personal, business, an agent or outreach number: add as many as you like.
Permissions per account. Read and send, read only, send only, or no AI access, enforced by Whatsgate.
Blocklist. Hide a person or group from AI, stop AI from messaging them, or both, on one account or all of them.
Care levels. Strict, normal or relaxed tell the AI how much to confirm with you before sending.
AI that knows your setup. Whatsgate writes a skill for Claude Code and Codex with your accounts, numbers, permissions and rules, and rewrites it whenever you change something.
One-click connect. The Connect AI tab registers the MCP server with Claude Code and Codex. Apps built on them, such as T3 Code, pick it up too.
Safety rails. Per-account rate limits, duplicate-send protection, an action history, credential files that can't be sent, and recovery when a session drops.
Move PCs. Export your settings and import them on another PC.
Lightweight. A small Node.js service and an app window in the Edge or Chrome you already have. No Docker, no browser download, no cloud.
Install
Requirements: Windows 10 or 11, Microsoft Edge or Google Chrome. The installer adds Node.js 22 with winget if it is missing.
Download the latest release (or clone this repository) and extract it.
Double-click
install.cmd.
Whatsgate installs to %LOCALAPPDATA%\Whatsgate, starts at sign-in without a window, restarts itself if it stops, and opens the Whatsgate app from the Start menu or desktop. To update, run the new version's install.cmd; your settings and linked sessions stay.
Related MCP server: WhatsApp MCP
Set up
Accounts: add each number, choose its AI access, care level, rate limit and notes, then scan its QR code on that phone (WhatsApp → Linked Devices → Link a Device).
Connect AI: click Connect for Claude Code and Codex. For other MCP apps, copy the server entry shown there.
Settings: add your name and any rules of your own, such as "never message clients after 9 pm".
Start a new AI session and ask it to check your WhatsApp accounts.
Tools the AI gets
accounts, list_chats, read_messages, search_messages, download_attachment, group_info, group_invite_info, action_history, reconnect_account, open_dashboard, and on accounts that allow sending: send_message, send_file, edit_message, delete_message, react_message, mark_chat_read, join_group, leave_group, create_group, update_group_members.
What is enforced, and what is not
Whatsgate enforces access levels, the blocklist, rate limits, duplicate protection and the file block list on every request. Care levels and confirming with you are instructions the AI follows, not locks. A confused model, or one tricked by text inside a WhatsApp message, could send something without asking on an account where you allowed sending. Give send access only where you accept that.
The app opens without a password using a key stored in state. Any program running as your Windows user, including an AI with shell access, could read that folder; the skill forbids it, but Windows cannot. Messages the AI reads go to that AI's provider.
Risks
Whatsgate uses whatsapp-web.js, an unofficial WhatsApp Web client. It can break when WhatsApp changes, and WhatsApp may restrict accounts that automate messaging, especially bulk or unsolicited messages. It is not affiliated with or endorsed by WhatsApp or Meta. For a supported business integration, see the WhatsApp Business Platform.
Uninstall
Run uninstall.ps1 in %LOCALAPPDATA%\Whatsgate. Add -KeepData to keep settings and sessions. Also remove the linked device on each phone.
Development
npm install
npm test # runs the service against a simulated WhatsAppThe service is bridge.mjs (HTTP on 127.0.0.1:48731, change with WHATSGATE_PORT), the MCP server is mcp.mjs, settings and the skill writer are in config.mjs, and the app is owner.html / owner.js.
Sponsors
Whatsgate is sponsored by LeadCeleris.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read, summarize and send your own WhatsApp messages from AI assistants (OAuth 2.1).
WhatsMCP connects Claude and other MCP-compatible AI agents directly to WhatsApp. Send and receive text, images, documents, and voice notes; manage groups (create, add/remove members, promote admins); look up contacts and profiles; follow channels; and read call and message history — all through a standard MCP interface. For voice use cases, WhatsMCP offers SIP-based calling plans (inbound-only, or full inbound/outbound) so AI voice agents can answer and place WhatsApp calls, plus low-latency WebSocket integrations with voice agent providers like ElevenLabs. Multiple WhatsApp accounts can be paired and managed per workspace, with webhook support for real-time inbound message delivery to your own infrastructure.
Your own WhatsApp in Claude and ChatGPT: read chats, draft replies, send messages you approve.
WhatsApp for Claude, ChatGPT or any AI agent: search, reply and send. Personal or Business API.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables Claude Desktop to read, search, send, and broadcast WhatsApp messages and files, and manage groups and communities through a linked personal WhatsApp account.221MIT
- AlicenseBqualityCmaintenanceEnables AI clients to read and send WhatsApp chats, messages, contacts, groups, polls, reactions and media through two isolated adapters — a personal linked-device runtime and the official Meta Business Graph API — each with per-profile credentials, audit/history storage and managed media. Writes are gated behind prepare/confirm workflows, and inbound media or history is restricted to verified provider IDs and bounded, allowlisted downloads.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables driving a Claude Code session from a linked personal WhatsApp account or an official Cloud API business number, with bidirectional messaging, full media and voice transcription, per-chat personalities, and context recovery after restarts. Inbound traffic is gated by pairing codes, allowlists and per-group policies, and tool-permission requests can be approved or denied remotely with an emoji reaction.MIT
- AlicenseNot gradedqualityBmaintenanceGives AI agents safe access to a single WhatsApp account so they can read and search chats, receive new messages in real time, reply with quotes and typing indicators, send and download media, and react with emojis. Phone numbers stay on the server — agents only see random IDs and names — while sessions, messages and media are encrypted at rest and sending is rate-limited to protect the account.4MIT