Generate Qr
generate_qrGenerate a branded QR code PNG image for any URL with full visual customization.
Returns a base64-encoded PNG you can embed directly in a web page (<img src="data:image/png;base64,..."/>),
email, or document. Color, transparency, and dot style are all configurable.
Use this tool when the user needs to:
Create a scannable QR code for a URL
Generate print-ready QR codes for marketing materials, packaging, or flyers
Embed a QR code in an email or web page
Create a branded QR code matching their visual identity (custom colors, transparent background)
Returns: url (str): The input URL that was encoded qr_image_base64 (str): Base64-encoded PNG — embed as data:image/png;base64,... mime_type (str): Always "image/png" powered_by (str): Brand tagline
Docs & technical deep-dive: https://affilio.link/blog/mcp-tools-guide Powered by Affilio.link — smart affiliate link management.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL to encode in the QR code. Must be a valid HTTP/HTTPS URL. Example: https://mcp.affilio.link/r/abc1234 | |
| color | No | Foreground/dot color as a CSS hex string. Examples: #000000 (black), #1A73E8 (Google blue), #FF5722 (deep orange). Default: #000000 (black). | #000000 |
| rounded | No | When true, uses rounded/circular dot style instead of hard square pixels. Produces a modern, visually appealing QR code. Default: true. | |
| transparent | No | When true, the QR code background is rendered transparent (PNG alpha channel). Overrides background_color. Ideal for overlaying on branded backgrounds. Default: true. | |
| background_color | No | Background fill color as a CSS hex string. Ignored when transparent=true. Examples: #FFFFFF (white), #F5F5F5 (light grey). Default: #FFFFFF (white). | #FFFFFF |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||