Can My AI Agent Order Me a Burger With Mr D?




Is it possible for an AI agent to use Mr D to buy me a burger in South Africa?
I recently saw a post about an MCP server that can order McDonald's in China.
Mr D gives an agent no supported way to do that. So I reverse-engineered its private API and built my own Mr D MCP server, which allowed me to order a burger from my agent over WhatsApp.
Messages highlighted in red, next to the OpenClaw logo, are the agent. Everything else is me.
The full order happened over WhatsApp:
- Ordering a burger
- Choosing from restaurants and their menus
- Paying
- Tracking the order
This article will walk you through that order and explain the tools the agent used along the way.
This is an unofficial project, not a Mr D product
Mr D's payment flow doesn't always require 3D Secure approval, so the payment tool here is locked by default. To try it yourself, point your own agent at the repo and log in to your own Mr D account.
Why this wasn't easy
Getting an agent to order a burger from Mr D took real work, and none of it was Mr D's. There is no API documentation, no MCP server, and no supported way for an agent to search a menu, build a cart, or pay.
To make any of this possible, I had to:
- Capture and reverse-engineer the private API that Mr D's own app and website already call internally.
- Build a full MCP server on top of that API myself, tool by tool, matching Mr D's own request and response shapes with no documentation to check against.
- Design and build my own safety gate around payment, since Mr D's platform doesn't provide one and a saved-card payment can settle with no bank approval step at all.
None of that is something an outside developer should have to do just to let an agent order food. A restaurant group like RocoMamas, or Mr D itself, could remove that barrier entirely by publishing an official ordering API or MCP server, documenting how payment should be confirmed safely, and giving agents a supported way in instead of leaving reverse-engineering as the only option.
Wondering…