Urgent.News

What's breaking now, across thousands of outlets.

World

How to pay for Recall Kitchen MCP tools with x402

Recall Kitchen's MCP server lets AI agents look up government-published product, food, vehicle and drug recalls. Most lookups are free; past the free quota (and for photo search) an agent can pay per call with x402 in USDC on Base. Here's exactly how. (Disclosure: I build Recall Kitchen.) Docs: https://recallkitchen.com/docs?utm_source=devto&utm_campaign=x402_howto Paying per call with x402 (no…

Recall Kitchen's MCP server allows AI agents to look up product, food, vehicle, and drug recalls published by the government. Most lookups are free, but after a free usage quota, agents can pay per call using x402 in USDC on Base. To pay with x402, agents must first read the payment details from the server's /.well-known/x402 endpoint.

The server returns a JSON-RPC response with an x402 Payment Required challenge when the free quota is exceeded. The payment challenge includes the network (Base mainnet - eip155:8453), asset (USDC on Base - 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913), price ($0.025 per call), and pay-to address (0x8E2d8e2850Baf623A8A886DE7c80CDfB83a5cfa3).

Agents using an x402-capable wallet can sign and send the payment to the specified address. After sending the payment, agents should retry the original tool call to complete the transaction.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in World

More from Friday 30 October →