Guides & engineering notes

WhatsApp for AI agents and phone systems

Step-by-step guides to connect WhatsApp to Claude, ChatGPT, Cursor, Grok and your PBX, plus the engineering behind it: SIP bridging, the MLow voice codec, webhooks and per-number egress.

Designing MCP Servers Agents Actually Use — WhatsMCP Engineering
AI Agents Sep 11, 2026 · 11 min read

Designing MCP Servers Agents Actually Use

A builder's field guide to Model Context Protocol servers in 2026: shaping tools as an agent UI, escaping the context tax with code execution, defending against tool poisoning, and living with the new stateless spec.

By WhatsMCP Engineering Read post
The MLow codec in pure Go — a clean-room encoder and decoder for Meta's low-bitrate voice codec. WhatsMCP Engineering.
Audio Codecs Sep 11, 2026 · 13 min read

Rebuilding MLow: WhatsApp's Voice Codec in Pure Go

How we built a clean-room, pure-Go encoder and decoder for MLow — Meta's low-bitrate codec behind billions of WhatsApp, Messenger and Instagram calls: the hybrid SILK/CELT structure, reverse-engineering it against the live library, and frame-exact validation.

By WhatsMCP Engineering Read post
Real-time WhatsApp webhooks with WhatsMCP — inbound messages pushed to your own HTTPS endpoint, signed and structured.
Integrations Sep 11, 2026 · 5 min read

Set Up WhatsMCP Webhooks for Real-Time WhatsApp

Push every inbound WhatsApp message to your own HTTPS endpoint the instant it arrives — how to register a WhatsMCP webhook, verify the signature, build a receiver that never loses a message, and three things to build on inbound events.

By WhatsMCP Engineering Read post
Per-account egress in WhatsMCP — give every WhatsApp number its own exit IP via WireGuard or SOCKS5.
Infrastructure Sep 11, 2026 · 6 min read

Per-Account Egress: SOCKS5 & WireGuard for WhatsApp

Why every WhatsApp number should have its own exit IP, and how to set per-account egress in WhatsMCP — Direct, WireGuard or SOCKS5 — with screenshots and operating tips for keeping a fleet of numbers healthy.

By WhatsMCP Engineering Read post
Bridging WhatsApp and the PBX — a low-latency SIP trunking bridge. WhatsMCP Engineering.
SIP Trunking Sep 11, 2026 · 12 min read

Bridging WhatsApp and PBX: Low-Latency SIP Trunking Internals

A deep technical tour of the real-time transcoding bridge that connects WhatsApp calls to Asterisk and FreeSWITCH: dual-plane signaling, Opus/G.711 transcoding, jitter buffering, PLC, a sub-50 ms media path, and the war stories behind each decision.

By WhatsMCP Engineering Read post
Schematic diagram of a ring of phone nodes connected to a central MCP hub, in the Terminal Noir style.
AI Agents Oct 2, 2024 · 6 min read

Scaling AI Agent Fleets with Model Context Protocol

An architectural walkthrough on exposing WhatsApp thread history and tools natively to Claude and custom agent runtimes securely.

By WhatsMCP Engineering Read post
Schematic diagram of traffic from a column of nodes converging through a shared egress gateway, in the Terminal Noir style.
Infrastructure Sep 19, 2024 · 12 min read

Anti-Block Safeguards: Rate Limiting & Egress IP Rotation

An inside look at our proxy layer, fingerprint emulation, and distributed egress management designed to mimic official client traffic profiles.

By WhatsMCP Engineering Read post