Every dish is machine-readable and orderable by autonomous agents. We expose three protocols: schema.org JSON-LD + /menu.json for discovery, MCP for tool use, and x402 for wallet payments.
List the full menu:
curl -X POST https://mcflamingo.com/api/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"list_menu","arguments":{}}}'Place an order. The first response is HTTP 402 Payment Required with an X-PAYMENT-REQUIRED header describing the accepted assets (USDC on Base, etc.). Resubmit with the signed payment payload in X-PAYMENT.
curl -i -X POST https://mcflamingo.com/api/x402/checkout \
-H 'Content-Type: application/json' \
-d '{"items":[{"id":"double-chicken-smash-burger","qty":1},
{"id":"hibiscus-lemonade","qty":1}],
"fulfillment":"pickup"}'The home page emits Restaurant JSON-LD and /menu emits Menu + MenuItem + Offer markup so general-purpose crawlers (ChatGPT, Perplexity, Gemini) can index every dish and price.