QR code generation for AI agents, via MCP
The Model Context Protocol (MCP) lets AI assistants and agentic tools call external services directly. QRSen runs an MCP server so any MCP-compatible client — Claude, an IDE agent, an automation pipeline — can generate a static, print-ready QR code with a single tool call, no browser tab required.
One tool today (generate_qr_code), authenticated with an API key from your dashboard — free tier included, see /pricing for limits. The web generator itself stays free with no account. Want a second tool (batch generation, dynamic presets, etc.)? Tell us.
What it does
generate_qr_code
One tool call in, one QR code out — pass a URL or text payload plus optional color, dot style and export format, get back SVG markup or base64 PNG/JPEG.
Same static-first engine
No redirect layer, no expiring codes — the MCP tool runs the identical qr-code-styling engine and presets as the web generator, just server-side instead of in a browser tab.
Stateless & fast
No session to manage — every call is independent and authenticated with a single API key. Point any MCP client at the endpoint below with your key and it just works.
Connect to it
First, create a free account and generate an API key from your dashboard. Then the endpoint speaks the MCP Streamable HTTP transport (the current standard for remote MCP servers) — point any client that supports remote/HTTP MCP servers at it, with your key as a Bearer token:
For Claude Code:
For a stdio-only client that doesn’t yet support remote servers directly, bridge it with mcp-remote pointed at the same URL, passing the same header. Requests without a valid key get a 401 with a link back to sign-up.
generate_qr_code parameters
| Param | Type | Notes |
|---|---|---|
| data | string (required) | The URL or text to encode. |
| color | hex string | Dot/corner color, e.g. "#063360". Default "#131313". |
| background | hex string | Background color. Default "#ffffff". |
| style | dots | rounded | extra-rounded | square | Dot style preset. Default "dots". |
| format | svg | png | jpeg | Output format. Default "svg". |
| size | number (64–4096) | Output size in pixels. Default 512. |
| errorCorrectionLevel | L | M | Q | H | QR error correction. Default "M". |
Who this is for
- An AI coding assistant generating a QR code for a README or a deployed preview link, without leaving the editor.
- An automation (n8n, Zapier-style workflow, or a custom agent) that needs to attach a QR code to a generated invoice, ticket or badge.
- A chat assistant creating a QR code on request as part of a larger task — a mid-conversation QR code for a link just discussed, no context switch to a browser tab.
Need something the current tool doesn’t cover?
Tell us your use case — we reply within 1–2 business days.
Contact us