MCP server
MCP workflows
The tool sequences an agent follows with the Intents MCP server: Checkout invoices, Swap by deposit address and Route plans, with the rules for amounts, IDs and retries.
- Checkout:
create_invoice(with your order ID asreference) → share the invoiceurl→payment_status, or theinvoice.paidwebhook. Retry with the samereference: you get the same invoice, never a second one. - Swap:
quote_swap→create_swap→ the user sends exactlydeposit.amounttodeposit.address→swap_status. Keep theorderId; never create a second swap to retry. - Route:
quote_route→get_route_plan→ the user signs each step locally →route_order_status.
Amounts in Route and Swap tools are integer strings in base units and assets are CAIP-19 IDs
(list_assets finds them); Checkout prices are USD strings like "49.00".