Copy library / Guides / OpenAI Dots
A self-hosted MCP server that connects ChatGPT Dot to WhatsApp
# 把 ChatGPT Dot 接上 WhatsApp 的自托管 MCP 服务器 Source: https://github.com/ohld/whatsapp-mcp-chatgpt-dot Author: ohld 这个仓库是给 ChatGPT Dot 和 ChatGPT 应用用的自托管 WhatsApp MCP 服务器:读取聊天、通过 MCP Events webhook 实时接收新消息、发送回复。只用 Python 标准库,基于 WAHA,支持 OAuth 2.1、白名单、发送上限,并用 Docker Compose 部署。
- What it does
- The repo is a self-hosted WhatsApp MCP server for ChatGPT Dot and ChatGPT apps: read chats, get incoming messages in real time via MCP Events webhooks, and send replies. It is stdlib-only Python on WAHA, with OAuth 2.1, allowlists, send caps and Docker Compose.
- Scenarios
- Watch PRs / repos Code & ship
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersYes
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
ohld/whatsapp-mcp-chatgpt-dot
Self-hosted WhatsApp MCP server for ChatGPT Dot and ChatGPT apps. Connect your ChatGPT Dot to WhatsApp: read chats, real-time incoming messages via MCP Events webhooks, send replies. Stdlib-only Python, WAHA, OAuth 2.1, allowlists, send caps, Docker Compose.
ai-agents chatgpt chatgpt-apps chatgpt-connector chatgpt-dot chatgpt-dots docker-compose mcp mcp-events mcp-server model-context-protocol oauth2 openai python self-hosted waha webhooks whatsapp whatsapp-api whatsapp-mcpohld · · Open original ↗ From the project README, verbatim and untranslated.
- Steps / points from the source
- One file, zero dependencies. app.py is ~1,100 lines of Python standard library. Nothing to pip install, easy to audit.
- Push, not poll. Incoming messages are delivered to ChatGPT as MCP Events (Standard Webhooks HMAC, durable SQLite outbox, retries, replay cursor).
- Works with ChatGPT out of the box. OAuth 2.1 with Dynamic Client Registration and PKCE S256, Streamable HTTP transport.
- Privacy boundary on the server. Groups, status and channels never match. Read and send scopes, new-chat sending and the daily cap are set in env, never by th……
- Built on WAHA (GOWS engine). You link WhatsApp as a companion device; no Business API account needed.
- WAHA keeps a linked-device session and posts each incoming message to the bridge (HMAC-signed).
- The bridge stores messages from allowed chats, commits, then enqueues one event per matching subscription.
- A delivery worker POSTs events to ChatGPT's callback, in order per subscription, with exponential backoff.
Verbatim from the source, untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Open the repo: github.com/ohld/whatsapp-mcp-chatgpt-dot ↗
- Read the README, send the repo link to your Bot and have it reproduce it
- Get it working small first, then add a routine
- Risks and limits
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator