Always-on Usage

Copy library / Guides / OpenAI Dots

A self-hosted MCP server that connects ChatGPT Dot to WhatsApp

Subscribe

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-mcp
ohld · · Open original ↗

From the project README, verbatim and untranslated.

Steps / points from the source
  1. One file, zero dependencies. app.py is ~1,100 lines of Python standard library. Nothing to pip install, easy to audit.
  2. Push, not poll. Incoming messages are delivered to ChatGPT as MCP Events (Standard Webhooks HMAC, durable SQLite outbox, retries, replay cursor).
  3. Works with ChatGPT out of the box. OAuth 2.1 with Dynamic Client Registration and PKCE S256, Streamable HTTP transport.
  4. 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……
  5. Built on WAHA (GOWS engine). You link WhatsApp as a companion device; no Business API account needed.
  6. WAHA keeps a linked-device session and posts each incoming message to the bridge (HMAC-signed).
  7. The bridge stores messages from allowed chats, commits, then enqueues one event per matching subscription.
  8. 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
  1. Open the repo: github.com/ohld/whatsapp-mcp-chatgpt-dot ↗
  2. Read the README, send the repo link to your Bot and have it reproduce it
  3. 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