Generate a QR code and validate the URL in one pass — the encoded image plus a parsed breakdown of the URL structure.
An agent is generating a QR code for a URL and wants to confirm the URL is well-formed before encoding it. Catches typos in URLs before they get printed on physical media.
claude mcp add agent402 -s user -- npx -y agent402-mcp@latest
Then paste this prompt into Claude:
Generate a QR code using Agent402: (1) qr {text:"https://agent402.tools", size:512} — get base64 PNG. (2) url-parse {url:"https://agent402.tools"} — validate URL structure. Return {qrImage, urlParsed}.