Agentic Commerce

McFlamingo, for agents.

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.

Endpoints

GET/menu.jsonFull machine-readable menu (also at /api/menu).
GET/llms.txtAI crawler manifest (also served at /llm.txt).
GET/llms-full.txtEvery menu item, price, tag and business fact in one plain-text fetch.
GET/ai.txtAI usage terms and attribution policy.
GET/gallery/llms.txtPhoto index with captions and keywords.
GET/.well-known/agent.jsonAgent capabilities & endpoint discovery.
POST/api/mcpModel Context Protocol JSON-RPC endpoint. Tools: list_menu, get_item, place_order, get_order_status.
POST/api/x402/checkoutReturns HTTP 402 Payment Required (x402 spec) with payment instructions for agent wallets.

MCP example

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":{}}}'

x402 wallet checkout

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"}'

Schema.org markup

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.